SPECS: drupal-mod-syndication.spec (NEW) - new module
glen
glen at pld-linux.org
Tue Sep 27 16:10:05 CEST 2005
Author: glen Date: Tue Sep 27 14:10:05 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new module
---- Files affected:
SPECS:
drupal-mod-syndication.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/drupal-mod-syndication.spec
diff -u /dev/null SPECS/drupal-mod-syndication.spec:1.1
--- /dev/null Tue Sep 27 16:10:05 2005
+++ SPECS/drupal-mod-syndication.spec Tue Sep 27 16:09:59 2005
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+%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
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/09/27 14:09:59 glen
+- new module
+
================================================================
More information about the pld-cvs-commit
mailing list