2 |
|
|
3 |
Name: spamassassin |
Name: spamassassin |
4 |
Version: 3.3.2 |
Version: 3.3.2 |
5 |
Release: 58%{?dist} |
Release: 60%{?dist} |
6 |
Summary: Spam filter for email which can be invoked from mail delivery agents |
Summary: Spam filter for email which can be invoked from mail delivery agents |
7 |
License: Apache |
License: Apache |
8 |
Group: Applications/Internet |
Group: Applications/Internet |
144 |
%build |
%build |
145 |
(cd spamc; autoconf) |
(cd spamc; autoconf) |
146 |
%define _perl_buildroot %{nil} |
%define _perl_buildroot %{nil} |
147 |
%perl_configure ENABLE_SSL=yes |
test -z "$PERL5LIB" && export PERL5LIB=%{buildroot}%{perl_vendorarch}:%{buildroot}%{perl_vendorlib} || \ |
148 |
%perl_make |
export PERL5LIB="$PERL5LIB":%{buildroot}%{perl_vendorarch}:%{buildroot}%{perl_vendorlib} |
149 |
%perl_makecheck || : |
test -z "$CFLAGS" && export CFLAGS="%{optflags}" |
150 |
|
%{__perl} Makefile.PL 'PREFIX=%{_perl_buildroot}%{_prefix}' INSTALLDIRS=vendor ENABLE_SSL=yes |
151 |
|
%{__perl} -pi -e 's/^\tLD_RUN_PATH=[^\s]+\s*/\t/' Makefile |
152 |
|
%{__make} OPTIMIZE="$RPM_OPT_FLAGS" |
153 |
|
%if %{?_without_check:0}%{!?_without_check:1} |
154 |
|
%{__make} test || : |
155 |
|
%endif |
156 |
mv spamd/README spamd/README.spamd |
mv spamd/README spamd/README.spamd |
157 |
|
|
158 |
%install |
%install |
159 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
160 |
%perl_makeinstall DESTDIR=%{buildroot} |
%{__make} install DESTDIR_REDIRECT=%{buildroot} DESTDIR=%{buildroot} |
161 |
|
find %{buildroot} \( -name .packlist -or -name perllocal.pod -or \( -name '*.bs' -a -empty \) \) -exec rm -f {} \; |
162 |
install -d %{buildroot}/%{_initrddir} |
install -d %{buildroot}/%{_initrddir} |
163 |
install -p -m 0755 spamd/redhat-rc-script.sh %{buildroot}/%{_initrddir}/spamassassin |
install -p -m 0755 spamd/redhat-rc-script.sh %{buildroot}/%{_initrddir}/spamassassin |
164 |
|
|
202 |
|
|
203 |
%{perl_vendorlib}/Mail/SpamAssassin.pm |
%{perl_vendorlib}/Mail/SpamAssassin.pm |
204 |
%{perl_vendorlib}/Mail/SpamAssassin |
%{perl_vendorlib}/Mail/SpamAssassin |
205 |
%{perl_man3dir}/Mail::SpamAssassin*.3pm* |
%{_mandir}/man3/Mail::SpamAssassin*.3pm* |
206 |
%{perl_man1dir}/sa-awl.1* |
%{_mandir}/man1/sa-awl.1* |
207 |
%{perl_vendorlib}/spamassassin-run.pod |
%{perl_vendorlib}/spamassassin-run.pod |
208 |
%{_datadir}/spamassassin |
%{_datadir}/spamassassin |
209 |
|
|
262 |
exit 0 |
exit 0 |
263 |
|
|
264 |
%changelog |
%changelog |
265 |
|
* Fri Jul 10 2015 Daniel Berteaud <daniel@firewall-services.com> - 3.3.2-60.sme |
266 |
|
- Expand atrpms macro and remove BuildReq on atrpms-rpm-config [SME: 8980] |
267 |
|
|
268 |
|
* Fri Jul 10 2015 Daniel Berteaud <daniel@firewall-services.com> - 3.3.2-59.sme |
269 |
|
- Add atrpms-rpm-config to the BUildReq so it can build [SME: 8980] |
270 |
|
|
271 |
* Thu Jul 9 2015 Daniel Berteaud <daniel@firewall-services.com> - 3.3.2-58.sme |
* Thu Jul 9 2015 Daniel Berteaud <daniel@firewall-services.com> - 3.3.2-58.sme |
272 |
- Update RegistrarBoundaries.pm to the one from 3.4.1 so URIBL tests are |
- Update RegistrarBoundaries.pm to the one from 3.4.1 so URIBL tests are |
273 |
done on new tld [SME: 8980] |
done on new tld [SME: 8980] |