diff --git a/.gitignore b/.gitignore index e69de29..40c7ed5 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/feeds-6.x-1.0-beta10.tar.gz diff --git a/drupal6-feeds-fedora-README.txt b/drupal6-feeds-fedora-README.txt new file mode 100644 index 0000000..0e23730 --- /dev/null +++ b/drupal6-feeds-fedora-README.txt @@ -0,0 +1,6 @@ +After installation, you must enable this module from the drupal +administration. + +If upgrading this module seperately from the core drupal package, +be sure to run the http://hostname/drupal/upgrade.php script after this +rpm is upgraded. diff --git a/drupal6-feeds.spec b/drupal6-feeds.spec new file mode 100644 index 0000000..dddcb89 --- /dev/null +++ b/drupal6-feeds.spec @@ -0,0 +1,51 @@ +%define prerelease 10 +%define beta beta +%define drupaldir %{_datadir}/drupal +Name: drupal6-feeds +Version: 1.0 +Release: 0.1.%{beta}%{prerelease}%{?dist} +Summary: An import and aggregation framework for Drupal + +Group: Applications/Publishing +License: GPLv2 +URL: http://drupal.org/project/feeds +Source0: http://ftp.drupal.org/files/projects/feeds-6.x-1.0-beta10.tar.gz +Source1: drupal6-feeds-fedora-README.txt + +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: drupal >= 6.0 + +%description +Import or aggregate data as nodes, users, +taxonomy terms or simple database records. + +%prep + +%setup -qn feeds + +%build + +chmod -x feeds.module +cp %{SOURCE1} . + +%install +rm -rf %{buildroot} +install -d %{buildroot}%{drupaldir}/modules/feeds +cp -pr * %{buildroot}%{drupaldir}/modules/feeds + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc LICENSE.txt README.txt drupal6-feeds-fedora-README.txt CHANGELOG.txt +%exclude %{drupaldir}/modules/feeds/CHANGELOG.txt +%exclude %{drupaldir}/modules/feeds/LICENSE.txt +%exclude %{drupaldir}/modules/feeds/README.txt +%exclude %{drupaldir}/modules/feeds/drupal6-feeds-fedora-README.txt +%{drupaldir}/modules/feeds + +%changelog +* Thu Nov 16 2010 Peter Borsa - 1.0-0.1.beta10 +- Initial packaging. diff --git a/sources b/sources index e69de29..4591589 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7c5ee6a1635c18a6518bfca6fb90716a feeds-6.x-1.0-beta10.tar.gz