%{?drupal7_find_provides_and_requires} %global module module_filter Name: drupal7-%{module} Version: 2.0 Release: 0.1.alpha2%{?dist} Summary: Module filter gives the ability to quickly find the module Group: Applications/Publishing License: GPLv2+ URL: http://drupal.org/project/%{module} Source0: http://ftp.drupal.org/files/projects/%{module}-7.x-%{version}-alpha2.tar.gz Source1: %{name}-RPM-README.txt BuildArch: noarch BuildRequires: drupal7-rpmbuild >= 7.23-3 # phpcompatinfo (computed from version 2.0) Requires: php-pcre %description The modules list page can become quite big when dealing with a fairly large site or even just a dev site meant for testing new and various modules being considered. What this module aims to accomplish is the ability to quickly find the module you are looking for without having to rely on the browsers search feature which more times than not shows you the module name in the 'Required by' or 'Depends on' sections of the various modules or even some other location on the page like a menu item. This package provides the following Drupal module(s): * %{module} %prep %setup -qn %{module} cp -p %{SOURCE1} . %build # Empty 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 * Wed May 28 2014 Peter Borsa 2.0-0.1.alpha2 - Initial package