SPECS: squirrelmail-plugin-saconf.spec (NEW) - initial by Michal '...
arvenil
arvenil at pld-linux.org
Wed Nov 7 13:10:09 CET 2007
Author: arvenil Date: Wed Nov 7 12:10:09 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial by Michal 'lipek' Lipka <lipek at lipek.pl>
---- Files affected:
SPECS:
squirrelmail-plugin-saconf.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/squirrelmail-plugin-saconf.spec
diff -u /dev/null SPECS/squirrelmail-plugin-saconf.spec:1.1
--- /dev/null Wed Nov 7 13:10:09 2007
+++ SPECS/squirrelmail-plugin-saconf.spec Wed Nov 7 13:10:04 2007
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+%define _plugin saconf
+%define mversion 1.2.7
+Summary: SAConf is a SquirrelMail plugin that allows users to configure the behavior of the SpamAssassin mail filter
+Summary(pl.UTF-8): Wtyczka dla Squirrelmail pozwalająca kontrolować zachowanie SpamAssassina.
+Name: squirrelmail-plugin-%{_plugin}
+Version: 1.0
+Release: 1
+License: GPL
+Group: Applications/Mail
+Source0: http://www.squirrelmail.org/plugins/%{_plugin}.%{version}-%{mversion}.tar.gz
+# Source0-md5: cd5dc5d89fa6827a5b662525b16afc89
+URL: http://www.squirrelmail.org/plugin_view.php?id=111
+Requires: php(ftp)
+Requires: squirrelmail >= 1.4.6-2
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _plugindir %{_datadir}/squirrelmail/plugins/%{_plugin}
+%define _sysconfdir /etc/webapps/squirrelmail
+
+%description
+SAConf is a SquirrelMail plugin that allows users to configure the
+behavior of the SpamAssassin mail filter. Specifically SAConf can
+modify a user's spam threshold value, whitelist contents, and
+destination folder for spam. SAConf connects to the mail server via
+FTP and modifies the user's .procmailrc and .spamassassin/user_prefs
+files. FTP support in PHP is required to use SAConf..
+
+%description -l pl.UTF-8
+Ta wtyczka umożliwia kontrolowanie zachowania SpamAssassina
+(punktowanie, biała lista, folder spamu) poprzez modyfikację plików
+.procmailrc i .spamassassin/user_prefs w katalogu użytkownika.
+Wymagana jest obsługa prokotołu FTP w PHP.
+
+%prep
+%setup -q -n %{_plugin}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_plugindir} $RPM_BUILD_ROOT%{_sysconfdir}
+
+install *.php $RPM_BUILD_ROOT%{_plugindir}
+rm -rf saconf_options.php~
+mv $RPM_BUILD_ROOT%{_plugindir}/saconf_conf.php $RPM_BUILD_ROOT%{_sysconfdir}/saconf_conf.php
+ln -s %{_sysconfdir}/saconf_conf.php $RPM_BUILD_ROOT%{_plugindir}/saconf_conf.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}/saconf_conf.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 2007/11/07 12:10:04 arvenil
+- initial by Michal 'lipek' Lipka <lipek at lipek.pl>
+
================================================================
More information about the pld-cvs-commit
mailing list