Author: blues Date: Tue Dec 6 12:12:44 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - move filters plugin to separate package - build bianary for it.
---- Files affected: SPECS: squirrelmail.spec (1.128 -> 1.129) ---- Diffs: ================================================================ Index: SPECS/squirrelmail.spec diff -u SPECS/squirrelmail.spec:1.128 SPECS/squirrelmail.spec:1.129 --- SPECS/squirrelmail.spec:1.128 Sat Dec 3 22:53:54 2005 +++ SPECS/squirrelmail.spec Tue Dec 6 13:12:39 2005 @@ -8,7 +8,7 @@ Summary(pt_BR): O SquirrelMail é um webmail Name: squirrelmail Version: 1.4.5 -Release: 5 +Release: 5.1 License: GPL Group: Applications/Mail Source0: http://dl.sourceforge.net/squirrelmail/%{name}-%{version}.tar.bz2 @@ -53,6 +53,7 @@ Patch5: %{name}-retrieveuserdata-passwd.patch Patch6: %{name}-php505.patch URL: http://www.squirrelmail.org/ +BuildRequires: bind-devel BuildRequires: gettext-devel BuildRequires: rpmbuild(macros) >= 1.264 Requires: php @@ -114,6 +115,16 @@ %description change_pass -l pl Ten pakiet zawiera interfejs do zmiany haseł. +%package filters +Summary: A squirreel interface for various filters +Summary(pl): Wiewiórczy inerfejs do różnych filterów +Group: Applications/Mail +Requires: %{name} = %{version}-%{release} +Provides: webmail-filters + +%description filters +This package contains a interface for various filters. + %package ispell Summary: A squirreel interface to ispel Summary(pl): Wiewiórczy inerfejs do ispela @@ -231,17 +242,23 @@ CFLAGS="%{rpmcflags}" \ LFLAGS="%{rpmldflags}" +%{__make} -C plugins/filters/bulkquery \ + CC="%{__cc}" \ + CFLAGS="%{rpmcflags} " \ + LDFLAGS="%{rpmldflags} -lpthread -llwres" \ + #%{__cc} %{rpmldflags} %{rpmcflags} -Wall -o plugins/change_passwd/chpasswd \ # plugins/change_passwd/chpasswd.c -lcrypt %install rm -rf $RPM_BUILD_ROOT - install -d $RPM_BUILD_ROOT{%{_squirreldir}/{config,data},%{_sbindir}} \ $RPM_BUILD_ROOT{%{_datadir}/docs/squirrel,%{_squirreldata}/{prefs,data}} \ $RPM_BUILD_ROOT%{_sysconfdir} install plugins/mail_fwd/fwdfile/wfwd $RPM_BUILD_ROOT%{_sbindir} +install plugins/filters/bulkquery/bulkquery $RPM_BUILD_ROOT%{_sbindir} +rm -f plugins/filters/bulkquery/*.{in,out,c} plugins/filters/bulkquery/bulkquery install %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf install %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf @@ -250,14 +267,22 @@ find $RPM_BUILD_ROOT%{_squirreldir} -name '*.po' -o -name '*.pot' | xargs rm -f +# junk: rm -f $RPM_BUILD_ROOT%{_squirreldir}/plugins/{username/options.php,gzip/setup.php~,make_archive.pl,README.plugins} +ln -s %{_sbindir}/bulkquery $RPM_BUILD_ROOT%{_squirreldir}/plugins/filters/bulkquery/bulkquery + +##---{ move configuration to etc: }---## cp $RPM_BUILD_ROOT{%{_squirreldir}/config/config_default.php,%{_sysconfdir}/config.php} ln -sf %{_sysconfdir}/config.php $RPM_BUILD_ROOT%{_squirreldir}/config/config.php -# move plugins configuration to etc: +##---{ move plugins configuration to etc: }---## +# vacation: mv $RPM_BUILD_ROOT%{_squirreldir}/plugins/vacation/config.php $RPM_BUILD_ROOT%{_sysconfdir}/vacation_config.php ln -s %{_sysconfdir}/vacation_config.php $RPM_BUILD_ROOT%{_squirreldir}/plugins/vacation/config.php +# filters: +mv $RPM_BUILD_ROOT%{_squirreldir}/plugins/filters/setup.php $RPM_BUILD_ROOT%{_sysconfdir}/filters_setup.php +ln -s %{_sysconfdir}/filters_setup.php $RPM_BUILD_ROOT%{_squirreldir}/plugins/filters/setup.php %clean rm -rf $RPM_BUILD_ROOT @@ -475,6 +500,15 @@ %lang(pt_BR) %{_squirreldir}/plugins/change_pass/locale/pt_BR %lang(pt) %{_squirreldir}/plugins/change_pass/locale/pt_PT +%files filters +%defattr(644,root,root,755) +%doc plugins/filters/{README,CHANGES} +%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/filters_setup.php +%attr(755,root,root) %{_sbindir}/bulkquery +%dir %{_squirreldir}/plugins/filters +%dir %{_squirreldir}/plugins/filters/bulkquery +%{_squirreldir}/plugins/filters/*.php + %files ispell %defattr(644,root,root,755) %{_squirreldir}/plugins/squirrelspell @@ -512,6 +546,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.129 2005/12/06 12:12:39 blues +- move filters plugin to separate package - build bianary for it. + Revision 1.128 2005/12/03 21:53:54 glen - use webapps framework; rel 5 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/squirrelmail.spec?r1=1.128&r2=1.129&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit