]> git.pld-linux.org Git - packages/amavis-ng.git/commitdiff
- fixed file list, use macros.perl to autogenerate perl deps
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 10 Jan 2003 10:20:35 +0000 (10:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amavis-ng.spec -> 1.10

amavis-ng.spec

index f1859c5281b19954e90ce65f44c9cb090d5dd539..99b9d6c665f307ae22227de26c6ca6df9ad55cd6 100644 (file)
@@ -1,3 +1,4 @@
+%include       /usr/lib/rpm/macros.perl
 Summary:       New generation amavis
 Summary(pl):   Amavis nowej generacji
 Name:          amavis-ng
@@ -8,8 +9,11 @@ Group:         Applications/Mail
 Source0:       http://prdownloads.sourceforge.net/amavis/%{name}_%{version}.tar.gz
 Patch0:                %{name}.patch
 URL:           http://amavis.sourceforge.net/
-BuildRequires: perl
+BuildRequires: perl-Config-IniFiles
+BuildRequires: perl-File-MMagic
 BuildRequires: perl-devel
+BuildRequires: perl-libnet
+BuildRequires: rpm-perlprov
 Requires(pre): /usr/bin/getgid
 Requires(pre): /bin/id
 Requires(pre): /usr/sbin/groupadd
@@ -21,6 +25,9 @@ Obsoletes:    amavis
 Obsoletes:     AMaViS
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# optionally used
+%define        _noautoreq      'perl(Archive::Tar)' 'perl(Archive::Zip)' 'perl(Compress::Zlib)' 'perl(Convert::TNEF)' 'perl(Convert::UUlib)' 'perl(MIME::Parser)' 'perl(File::Scan)'
+
 %description
 AMaViS-ng is a modular rewrite of amavisd and amavis-perl. It scans
 email for malicious code inside attachments and archive files,
@@ -45,6 +52,7 @@ czasie budowania.
 %build
 perl Makefile.PL
 %{__make}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT
@@ -83,7 +91,6 @@ if [ "$1" = "0" ]; then
    /usr/sbin/groupdel amavis
 fi
 
-
 %files
 %defattr(644,root,root,755)
 %doc doc/*
@@ -91,5 +98,6 @@ fi
 %attr(755,root,root) %{_sbindir}/*
 %{_datadir}/amavis
 %attr(750,amavis,amavis) /var/spool/amavis
-%{_libdir}/perl5/*
+%{perl_sitelib}/AMAVIS.pm
+%{perl_sitelib}/AMAVIS
 %{_mandir}/man1/*
This page took 0.051207 seconds and 4 git commands to generate.