Name: useracl Version: 2.0 Release: 2 Summary: UserACL Plugin for Squirrelmail. Group: Applications/Internet License: GPL URL: http://email.uoa.gr/projects/squirrelmail/useracl.php Source0: useracl-%{version}.tar.gz Patch0: useracl-ldap.patch Patch1: useracl-fullacl.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: squirrelmail BuildArch: noarch %description This plugin provides Squirrelmail with the functionality of Access Control Lists (ACLs) aka Permissions per User, that is available in many modern IMAP servers, the most popular open-source one being Cyrus IMAP. %prep %setup -q -n %{name} %patch0 -p1 %patch1 -p1 %build cp config_sample.php doc/. mv config_sample.php config.php find -name '.cvsignore' -exec rm {} \; rm -r po %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_datadir}/squirrelmail/plugins/useracl/ cp -R * $RPM_BUILD_ROOT%{_datadir}/squirrelmail/plugins/useracl/. rm -r $RPM_BUILD_ROOT%{_datadir}/squirrelmail/plugins/useracl/doc/ %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %pre %post %preun %postun %files %defattr(0644,root,root,0755) %doc doc/* %config(noreplace) %{_datadir}/squirrelmail/plugins/useracl/config.php %dir %{_datadir}/squirrelmail/plugins/useracl/ %{_datadir}/squirrelmail/plugins/useracl/images/ %{_datadir}/squirrelmail/plugins/useracl/locale/ %{_datadir}/squirrelmail/plugins/useracl/addacl.php %{_datadir}/squirrelmail/plugins/useracl/constants.php %{_datadir}/squirrelmail/plugins/useracl/functions.php %{_datadir}/squirrelmail/plugins/useracl/html.php %{_datadir}/squirrelmail/plugins/useracl/imap_acl.php %{_datadir}/squirrelmail/plugins/useracl/ldap.php %{_datadir}/squirrelmail/plugins/useracl/mailnotify.php %{_datadir}/squirrelmail/plugins/useracl/setup.php %{_datadir}/squirrelmail/plugins/useracl/sql.php %{_datadir}/squirrelmail/plugins/useracl/useracl.php %{_datadir}/squirrelmail/plugins/useracl/version %changelog * Sun Nov 27 2005 Petr Krištof 2.0-2 - Add inetLocalMailRecipient patch - Add fullacl patch * Thu Nov 24 2005 Petr Krištof 2.0-1 - Build on FC-4 - Initial RPM release