diff --git a/.gitignore b/.gitignore index e69de29..3353e94 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/features_extra-7.x-1.0-beta1.tar.gz diff --git a/drupal7-features_extra-RPM-README.txt b/drupal7-features_extra-RPM-README.txt new file mode 100644 index 0000000..e15a506 --- /dev/null +++ b/drupal7-features_extra-RPM-README.txt @@ -0,0 +1,5 @@ +After installation, you must enable this module from the Drupal administration +page. + +If upgrading this module separately from the core Drupal package, be sure to +run the http://hostname/drupal7/upgrade.php script after this RPM is upgraded. diff --git a/drupal7-features_extra.spec b/drupal7-features_extra.spec new file mode 100644 index 0000000..4d6709f --- /dev/null +++ b/drupal7-features_extra.spec @@ -0,0 +1,70 @@ +%{?drupal7_find_provides_and_requires} + +%global module_name features_extra +%global pre_release beta1 + +Name: drupal7-%{module_name} +Version: 1.0 +Release: 0.2.%{pre_release}%{?dist} +Summary: Provides faux exportables of several site-building components + +Group: Applications/Publishing +License: GPLv2+ +URL: http://drupal.org/project/%{module_name} +Source0: http://ftp.drupal.org/files/projects/%{module_name}-7.x-%{version}-%{pre_release}.tar.gz +Source1: %{name}-RPM-README.txt + +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: drupal7-rpmbuild >= 7.22-5 + +Requires: drupal7-ctools +Requires: drupal7-features +#Requires: drupal7(ctools) +#Requires: drupal7(features) +Requires: drupal7(profile) +# phpci +Requires: php-pcre + +%description +Features Extra provides faux exportables (via Features) of several +site-building components + +This package provides the following Drupal modules: +* fe_block (requires manual install of block_class module only if running tests) +* fe_nodequeue (requires manual install of the nodequeue module) +* fe_profile + + +%prep +%setup -q -n %{module_name} +cp -p %{SOURCE1} . + + +%build +# Empty build section, nothing to build + + +%install +rm -rf %{buildroot} +mkdir -p -m 0755 %{buildroot}%{drupal7_modules}/%{module_name} +cp -pr * %{buildroot}%{drupal7_modules}/%{module_name}/ + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc *.txt +%{drupal7_modules}/%{module_name} +%exclude %{drupal7_modules}/%{module_name}/*.txt + + +%changelog +* Sun Jun 16 2013 Shawn Iwinski 1.0-0.2.beta1 +- Updated for drupal7-rpmbuild 7.22-5 + +* Thu Apr 18 2013 Shawn Iwinski 1.0-0.1.beta1 +- Initial package diff --git a/sources b/sources index e69de29..15b174c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6cf022b7a3ca1149815879280981cb3d features_extra-7.x-1.0-beta1.tar.gz