SPECS: squirrelmail-plugin-ldifimport.spec (NEW) - works nice

blues blues at pld-linux.org
Wed Oct 4 11:38:15 CEST 2006


Author: blues                        Date: Wed Oct  4 09:38:15 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- works nice

---- Files affected:
SPECS:
   squirrelmail-plugin-ldifimport.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/squirrelmail-plugin-ldifimport.spec
diff -u /dev/null SPECS/squirrelmail-plugin-ldifimport.spec:1.1
--- /dev/null	Wed Oct  4 11:38:15 2006
+++ SPECS/squirrelmail-plugin-ldifimport.spec	Wed Oct  4 11:38:09 2006
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+%define		_plugin	ldifimport
+%define		mversion	1.2.x
+Summary:	A squirrel LDIF Address Book Import plug-in
+Name:		squirrelmail-plugin-%{_plugin}
+Version:	1.4
+Release:	1
+License:	GPL
+Group:		Applications/Mail
+Source0:	http://www.squirrelmail.org/plugins/%{_plugin}-%{version}-%{mversion}.tar.gz
+# Source0-md5:	0d280a925c6e2e16310621eeace7b843
+URL:		http://www.squirrelmail.org/plugin_view.php?id=18
+Requires:	squirrelmail >= 1.4.0
+Requires:	squirrelmail-compatibility-2.0.4
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_plugindir	%{_datadir}/squirrelmail/plugins/%{_plugin}
+%define		_sysconfdir	/etc/webapps/squirrelmail
+
+%description
+Imports nearly all address book data. If the address book you wish to import
+is not in LDIF format, this plugin will direct you to the InterGuru web site
+where you can convert many popular address book formats into LDIF format in
+order to import it with this plugin. 
+
+%prep
+%setup -q -n %{_plugin}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_plugindir} $RPM_BUILD_ROOT%{_sysconfdir}
+
+mv config.php $RPM_BUILD_ROOT%{_sysconfdir}/%{_plugin}_config.php
+install *.php $RPM_BUILD_ROOT%{_plugindir}
+ln -s %{_sysconfdir}/%{_plugin}_config.php $RPM_BUILD_ROOT%{_plugindir}/config.php
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{_plugin}_config.php
+%dir %{_plugindir}
+%{_plugindir}/*.php
+
+%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  2006/10/04 09:38:09  blues
+- works nice
+
================================================================


More information about the pld-cvs-commit mailing list