Summary(pt_BR): O SquirrelMail é um webmail
Name: squirrelmail
Version: 1.4.6
-Release: 2
+Release: 3
License: GPL
Group: Applications/Mail
Source0: http://dl.sourceforge.net/squirrelmail/%{name}-%{version}.tar.bz2
Source2: http://www.squirrelmail.org/plugins/compatibility-%{_compatibility_version}.tar.gz
# Source2-md5: cfc3279a613b917fcba8200c596dadb0
Source3: %{name}.conf
+Source4: %{name}-cp1250_charset_encode.php
Patch0: %{name}-config.patch
Patch1: %{name}-fortune.patch
Patch2: %{name}-squirrelspell.patch
+Patch3: %{name}-ad_ldap.patch
URL: http://www.squirrelmail.org/
BuildRequires: bind-devel
BuildRequires: gettext-devel
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
find locale -name '*.po' | xargs rm -f
cp -aR * $RPM_BUILD_ROOT%{_squirreldir}
+install %{SOURCE4} $RPM_BUILD_ROOT%{_squirreldir}/functions/encode/cp1250.php
+
find $RPM_BUILD_ROOT%{_squirreldir} -name '*.po' -o -name '*.pot' | xargs rm -f
# junk: