]> git.pld-linux.org Git - packages/drupal-mod-syndication.git/commitdiff
- new module
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 27 Sep 2005 14:09:59 +0000 (14:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drupal-mod-syndication.spec -> 1.1

drupal-mod-syndication.spec [new file with mode: 0644]

diff --git a/drupal-mod-syndication.spec b/drupal-mod-syndication.spec
new file mode 100644 (file)
index 0000000..445d8ef
--- /dev/null
@@ -0,0 +1,49 @@
+%define                modname syndication
+Summary:       Drupal Syndication Module
+Name:          drupal-mod-%{modname}
+Version:       4.6.0
+Release:       0.3
+License:       GPL v2
+Group:         Applications/WWW
+Source0:       http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
+# Source0-md5: d9ddecb6fb20f443ff7e2970f1f85906
+URL:           http://drupal.org/project/syndication
+Requires:      drupal >= 4.6.0
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _moddir         %{_datadir}/drupal/modules
+%define                _podir          %{_moddir}/po/%{modname}
+
+%description
+Syndication module offers a web page which centralizes all of the RSS
+feeds generated by Drupal. This helps users find interesting feeds
+from your web site.
+
+%prep
+%setup -q -n %{modname}
+rm -f LICENSE.txt # GPL v2
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_moddir},%{_podir}}
+
+install *.module $RPM_BUILD_ROOT%{_moddir}
+cp -a po/*.po $RPM_BUILD_ROOT%{_podir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+%files
+%defattr(644,root,root,755)
+%doc *.txt
+%{_moddir}/*.module
+%{_podir}
+
+%post
+if [ "$1" = 1 ]; then
+%banner -e %{name} <<EOF
+If you want to use localization, then you need to upload .po files
+from %{_podir} via drupal locatization admin.
+
+EOF
+fi
This page took 0.09705 seconds and 4 git commands to generate.