Author: glen                         Date: Tue Oct 18 10:18:50 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   drupal-mod-urlfilter.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/drupal-mod-urlfilter.spec
diff -u /dev/null SPECS/drupal-mod-urlfilter.spec:1.1
--- /dev/null   Tue Oct 18 12:18:50 2005
+++ SPECS/drupal-mod-urlfilter.spec     Tue Oct 18 12:18:43 2005
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+%define                modname urlfilter
+Summary:       Drupal URL Filter Module
+Name:          drupal-mod-%{modname}
+Version:       4.6.0
+Release:       0.1
+License:       GPL v2
+Group:         Applications/WWW
+Source0:       http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
+# Source0-md5: bd7d7cc306a54d7f463dba53334a54cc
+URL:           http://drupal.org/project/urlfilter
+BuildRequires: rpmbuild(macros) >= 1.194
+Requires:      drupal >= 4.6.0
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _drupaldir      %{_datadir}/drupal
+%define                _moddir         %{_drupaldir}/modules
+%define                _podir          %{_drupaldir}/po/%{modname}
+
+%description
+This is a simple filter module. It automatically converts URLs (http,
+ftp, email, ...) into hyperlinks.
+
+%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
+
+%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
+
+%files
+%defattr(644,root,root,755)
+%doc *.txt po/*.pot
+%{_moddir}/*.module
+%{_podir}
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/10/18 10:18:43  glen
+- new
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to