%{?drupal7_find_provides_and_requires} %global module admin_menu %global prerelease rc4 Name: drupal7-%{module} Version: 3.0 Release: 0.3.%{prerelease}%{?dist} Summary: Provides a theme-independent administration interface Group: Applications/Publishing License: GPLv2+ URL: http://drupal.org/project/%{module} Source0: http://ftp.drupal.org/files/projects/%{module}-7.x-%{version}-%{prerelease}.tar.gz Source1: %{name}-RPM-README.txt BuildArch: noarch BuildRequires: drupal7-rpmbuild >= 7.23-3 Requires: php(language) >= 5.1 Requires: php-date Requires: php-pcre Requires: php-session %description Provides a theme-independent administration interface (aka. "navigation", "back-end"). It's a helper for novice users coming from other CMS, a time-saver for site administrators, and useful for developers and site builders. This package provides the following Drupal module(s): * %{module} %prep %setup -qn %{module} cp -p %{SOURCE1} . %build # Emtpy build section, nothing to build %install mkdir -pm 0755 %{buildroot}%{drupal7_modules}/%{module} cp -pr * %{buildroot}%{drupal7_modules}/%{module}/ %files %doc *.txt %{drupal7_modules}/%{module} %exclude %{drupal7_modules}/%{module}/*.txt %changelog * Thu May 08 2014 Sam Wilson - 3.0-0.3.rc4 - Updated to include PHP deps * Wed May 07 2014 Sam Wilson - 3.0-0.2.rc4 - Updated to meet drupal7 guidelines https://fedoraproject.org/wiki/Packaging:Drupal7 * Mon Apr 28 2014 Sam Wilson - 3.0-0.1.rc4 - Initial Package