Blob Blame History Raw
%{?drupal7_find_provides_and_requires}

%global module metatag

Name:          drupal7-%{module}
Version:       1.4
Release:       1%{?dist}
Summary:       Adds support and an API to implement meta tags

Group:         Applications/Publishing
License:       GPLv2+
URL:           http://drupal.org/project/%{module}
Source0:       http://ftp.drupal.org/files/projects/%{module}-7.x-%{version}.tar.gz

BuildArch:     noarch
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: drupal7-rpmbuild >= 7.23-3

# metatag.info
Requires:      drupal7-ctools
#Requires:      drupal7(ctools)
Requires:      drupal7(token)
# phpcompatinfo (computed from version 1.4)
Requires:      php-pcre

%description
The Metatag module allows you to automatically provide structured metadata,
aka "meta tags", about your website. In the context of search engine
optimization, when people refer to meta tags they are usually referring to
the meta description tag and the meta keywords tag that may help improve
the rankings and display of your site in search engine results.

Meta tags have additional uses like the Open Graph Protocol used by Facebook,
specifying the canonical location of content across multiple URLs or domains.

This project is the designated Drupal 7 a from-the-ground-up rewrite and
successor of the Nodewords module.

This package provides the following Drupal modules:
* %{module}
* %{module}_context (requires drupal7-context)
* %{module}_dc
* %{module}_devel
* %{module}_facebook
* %{module}_google_plus
* %{module}_opengraph
* %{module}_panels (requires drupal7-ctools and drupal7-token, as well as
      manual install of panels)
* %{module}_twitter_cards
* %{module}_views (requires drupal7-views)


%prep
%setup -qn %{module}


%build
# Empty build section, nothing to build


%install
rm -rf %{buildroot}
mkdir -pm 0755 %{buildroot}%{drupal7_modules}/%{module}
cp -pr * %{buildroot}%{drupal7_modules}/%{module}/


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE.txt
%doc README.txt CHANGELOG.txt
%{drupal7_modules}/%{module}


%changelog
* Sat Oct 18 2014 Shawn Iwinski <shawn.iwinski@gmail.com> - 1.4-1
- Updated to 1.4 (BZ #1150459)
- Removed RPM README b/c it only explained common Drupal workflow

* Wed Sep 24 2014 Shawn Iwinski <shawn.iwinski@gmail.com> - 1.1-1
- Updated to 1.1 (BZ #1144307; release notes https://www.drupal.org/node/2341013)

* Thu Aug 07 2014 Peter Borsa <peter.borsa@gmail.com> - 1.0-0.7.rc2
- Updated to 1.0-rc2 (BZ #1127134; release notes https://www.drupal.org/node/2315805)

* Sun Jul 20 2014 Shawn Iwinski <shawn.iwinski@gmail.com> - 1.0-0.6.rc1
- Updated to 1.0-rc1 (BZ #1119065; release notes https://www.drupal.org/node/2302051)
- %%license usage

* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.5.beta9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Sat Feb 15 2014 Shawn Iwinski <shawn.iwinski@gmail.com> - 1.0-0.4.beta9
- Updated to 1.0-beta9 (BZ #1059999; release notes https://drupal.org/node/2176579)

* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.3.beta7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Sun Jun 16 2013 Shawn Iwinski <shawn.iwinski@gmail.com> - 1.0-0.2.beta7
- Updated for drupal7-rpmbuild 7.22-5

* Sun May 19 2013 Shawn Iwinski <shawn.iwinski@gmail.com> - 1.0-0.1.beta7
- Initial package