/[smeserver]/rpms/spamassassin/sme9/spamassassin.spec
ViewVC logotype

Diff of /rpms/spamassassin/sme9/spamassassin.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by vip-ire, Thu Jul 9 20:23:50 2015 UTC Revision 1.7 by vip-ire, Fri Jul 10 15:22:41 2015 UTC
# Line 2  Line 2 
2    
3  Name: spamassassin  Name: spamassassin
4  Version: 3.3.2  Version: 3.3.2
5  Release: 57%{?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
# Line 26  Source50: http://www.apache.org/dist/spa Line 26  Source50: http://www.apache.org/dist/spa
26  Source60: GPG-sought.KEY  Source60: GPG-sought.KEY
27  Patch0: Mail-SpamAssassin-3.0.0-krb5.patch  Patch0: Mail-SpamAssassin-3.0.0-krb5.patch
28  #Patch1: sa-1027163-for-3.3.diff  #Patch1: sa-1027163-for-3.3.diff
29    Patch1000: Mail-SpamAssassin-3.3.2-update_RegistrarBoundaries.patch
30  Buildroot: %{_tmppath}/%{name}-root  Buildroot: %{_tmppath}/%{name}-root
31  Requires(pre): /sbin/chkconfig /sbin/service  Requires(pre): /sbin/chkconfig /sbin/service
32    
# Line 138  To filter spam for all users, add that l Line 139  To filter spam for all users, add that l
139  %setup -q -n %{pkgname}-%{version}  %setup -q -n %{pkgname}-%{version}
140  %patch0 -p1 -b .krb5  %patch0 -p1 -b .krb5
141  #patch1 -p0 -b .goto  #patch1 -p0 -b .goto
142    %patch1000 -p1
143    
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    
# Line 193  mkdir -p %{buildroot}/var/lib/spamassass Line 202  mkdir -p %{buildroot}/var/lib/spamassass
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    
# Line 253  fi Line 262  fi
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
272    - Update RegistrarBoundaries.pm to the one from 3.4.1 so URIBL tests are
273      done on new tld [SME: 8980]
274    
275  * Thu Jul 9 2015 Daniel Berteaud <daniel@firewall-services.com> - 3.3.2-57.sme  * Thu Jul 9 2015 Daniel Berteaud <daniel@firewall-services.com> - 3.3.2-57.sme
276  - Remove dependency on atrpms macros [SME: 8980]  - Remove dependency on atrpms macros [SME: 8980]
277    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed