auto-import changelog data from spamassassin-2.63-0.1.src.rpm

Mon Feb 09 2004 Warren Togami <wtogami@redhat.com> 2.63-0.1
- rename for FC1
Sat Jan 24 2004 Warren Togami <wtogami@redhat.com> 2.63-5
- require vendorlib instead
- rebuild
Wed Jan 21 2004 Warren Togami <wtogami@redhat.com> 2.63-3
- krb5-backcompat.patch so older krb5-devel does not fail
Wed Jan 21 2004 Warren Togami <wtogami@redhat.com> 2.63-2
- upgrade to 2.63
Mon Jan 19 2004 Warren Togami <wtogami@redhat.com> 2.62-3
- Ville Skyttä's fixes from #113596 including:
- Fix buildroot traces
- enable openssl
- Trailing slash to DESTDIR (bug 90202 comment 14).
- export optflags so they're honored, affects spamc only.
Mon Jan 19 2004 Warren Togami <wtogami@redhat.com> 2.62-2
- upgrade to 2.62
- Prereq -> Requires, former is deprecated
- Require current version of perl
- Remove urban myth clean test
- TODO: Get rid of prefix
Wed Dec 31 2003 Dan Walsh <dwalsh@redhat.com> 2.61-2
- Change sysconfdir to not use full path
Tue Dec 09 2003 Chip Turner <cturner@redhat.com> 2.61-1
- upgrade to 2.61
This commit is contained in:
cvsdist 2004-09-09 12:37:25 +00:00
parent dd21159def
commit 8027d18c57
3 changed files with 53 additions and 10 deletions

View File

@ -1 +1 @@
Mail-SpamAssassin-2.60.tar.gz
Mail-SpamAssassin-2.63.tar.bz2

View File

@ -1 +1 @@
46d1db67ed1d860ddb136e0beb5f6ac3 Mail-SpamAssassin-2.60.tar.gz
215303794096bc66712381115adabb25 Mail-SpamAssassin-2.63.tar.bz2

View File

@ -3,15 +3,16 @@
%define name spamassassin
%define real_name Mail-SpamAssassin
%define initdir %{_initrddir}
%define krb5backcompat %([ -a /usr/kerberos/include/krb5.h ] && echo 1 || echo 0)
Summary: Spam filter for email which can be invoked from mail delivery agents.
Name: %{name}
Version: 2.60
Release: 2
Version: 2.63
Release: 0.1
License: Artistic
Group: Applications/Internet
URL: http://spamassassin.org/
Source0: http://spamassassin.org/devel/Mail-SpamAssassin-%{version}.tar.gz
Source0: http://spamassassin.org/devel/Mail-SpamAssassin-%{version}.tar.bz2
Source2: redhat_local.cf
Source3: spamassassin-default.rc
Source4: spamassassin-spamc.rc
@ -20,15 +21,17 @@ Source10: spamassassin-helper.sh
Source99: filter-requires-spamassassin.sh
# Patch: spamassassin-2.50-servicename.patch
# Patch2: spamassassin-2.50-chld.patch
Requires: perl >= 2:5.8.0
Patch3: spamassassin-2.63-krb5-backcompat.patch
Requires: %(perl -le 'use Config; print $Config{vendorlibexp}')
Buildroot: %{_tmppath}/%{name}-root
Prefix: %{_prefix}
Prereq: /sbin/chkconfig /sbin/service
Requires: /sbin/chkconfig /sbin/service
#Distribution: SpamAssassin
BuildRequires: perl-Net-DNS
BuildRequires: perl >= 2:5.8.0
BuildRequires: perl-Time-HiRes
BuildRequires: openssl-devel
Requires: perl-Net-DNS
Requires: perl(Time::HiRes)
@ -59,20 +62,27 @@ To filter spam for all users, add that line to /etc/procmailrc
%setup -q -n %{real_name}-%{version}
# %%patch0 -p1
# %%patch2 -p1
# Backwards compatibility with older krb5-devel
echo %{krb5backcompat}
%if %{krb5backcompat}
%patch3 -p1
%endif
%build
%{__perl} Makefile.PL PREFIX=$RPM_BUILD_ROOT/%{_prefix} SYSCONFDIR=$RPM_BUILD_ROOT/%{_sysconfdir} INSTALLDIRS=vendor < /dev/null
export CFLAGS="$RPM_OPT_FLAGS"
%{__perl} Makefile.PL DESTDIR=$RPM_BUILD_ROOT/ SYSCONFDIR=%{_sysconfdir} INSTALLDIRS=vendor ENABLE_SSL=yes < /dev/null
%{__make} OPTIMIZE="$RPM_OPT_FLAGS"
#%make test
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
%makeinstall PREFIX=%buildroot/%{prefix} \
INSTALLMAN1DIR=%buildroot/%{prefix}/share/man/man1 \
INSTALLMAN3DIR=%buildroot/%{prefix}/share/man/man3 \
LOCAL_RULES_DIR=%{buildroot}/etc/mail/spamassassin
chmod 755 %buildroot/%{_bindir}/* # allow stripping
install -d %buildroot/%{initdir}
install -m 0755 spamd/redhat-rc-script.sh %buildroot/%{initdir}/spamassassin
@ -108,7 +118,7 @@ fi
%config(noreplace) %{_sysconfdir}/sysconfig/spamassassin
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
%post
/sbin/chkconfig --add spamassassin
@ -133,6 +143,39 @@ fi
exit 0
%changelog
* Mon Feb 09 2004 Warren Togami <wtogami@redhat.com> 2.63-0.1
- rename for FC1
* Sat Jan 24 2004 Warren Togami <wtogami@redhat.com> 2.63-5
- require vendorlib instead
- rebuild
* Wed Jan 21 2004 Warren Togami <wtogami@redhat.com> 2.63-3
- krb5-backcompat.patch so older krb5-devel does not fail
* Wed Jan 21 2004 Warren Togami <wtogami@redhat.com> 2.63-2
- upgrade to 2.63
* Mon Jan 19 2004 Warren Togami <wtogami@redhat.com> 2.62-3
- Ville Skyttä's fixes from #113596 including:
- Fix buildroot traces
- enable openssl
- Trailing slash to DESTDIR (bug 90202 comment 14).
- export optflags so they're honored, affects spamc only.
* Mon Jan 19 2004 Warren Togami <wtogami@redhat.com> 2.62-2
- upgrade to 2.62
- Prereq -> Requires, former is deprecated
- Require current version of perl
- Remove urban myth clean test
- TODO: Get rid of prefix
* Wed Dec 31 2003 Dan Walsh <dwalsh@redhat.com> 2.61-2
- Change sysconfdir to not use full path
* Tue Dec 9 2003 Chip Turner <cturner@redhat.com> 2.61-1
- upgrade to 2.61
* Fri Sep 26 2003 Chip Turner <cturner@redhat.com> 2.60-2
- update to 2.60