squirrelmail-plugin-saconf.spec
Michal 'lipek' Lipka
lipek w lipek.pl
Nie, 28 Paź 2007, 12:54:27 CET
On Mon, 22 Oct 2007, Kamil Dziedzic wrote:
> Dnia poniedziałek 22 październik 2007, Michal 'lipek' Lipka napisał:
>> ponieważ nie znam się na robieniu speców to proszę o wskazanie
>> ewentualnych błędów
> Pierwszy podstawowy. Przepuść spec'a przez skrypt adapter.
done
--
Michał 'lipek' Lipka
-------------- następna część ---------
# $Revision: 1.1 $, $Date: 2007/10/19 14:34:00 $
%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
Obsoletes: squirrelmail-plugin-saconf
Obsoletes: squirrelmail-saconf
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 w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log:$
Więcej informacji o liście dyskusyjnej pld-devel-pl