/[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.5 by vip-ire, Fri Jul 10 06:21:33 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: 59%{?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 30  Patch1000: Mail-SpamAssassin-3.3.2-updat Line 30  Patch1000: Mail-SpamAssassin-3.3.2-updat
30  Buildroot: %{_tmppath}/%{name}-root  Buildroot: %{_tmppath}/%{name}-root
31  Requires(pre): /sbin/chkconfig /sbin/service  Requires(pre): /sbin/chkconfig /sbin/service
32    
 BuildRequires: atrpms-rpm-config  
33  BuildRequires: openssl-devel, krb5-devel  BuildRequires: openssl-devel, krb5-devel
34  BuildRequires: autoconf  BuildRequires: autoconf
35  BuildRequires: perl >= 2:5.8.1  BuildRequires: perl >= 2:5.8.1
# Line 145  To filter spam for all users, add that l Line 144  To filter spam for all users, add that l
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 196  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 256  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  * 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]  - Add atrpms-rpm-config to the BUildReq so it can build [SME: 8980]
270    


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