packages: perl-Mail-SpamAssassin/perl-Mail-SpamAssassin.spec (NEW) - initial
amateja
amateja at pld-linux.org
Fri Sep 18 09:37:58 CEST 2009
Author: amateja Date: Fri Sep 18 07:37:58 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- initial
---- Files affected:
packages/perl-Mail-SpamAssassin:
perl-Mail-SpamAssassin.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-Mail-SpamAssassin/perl-Mail-SpamAssassin.spec
diff -u /dev/null packages/perl-Mail-SpamAssassin/perl-Mail-SpamAssassin.spec:1.1
--- /dev/null Fri Sep 18 09:37:58 2009
+++ packages/perl-Mail-SpamAssassin/perl-Mail-SpamAssassin.spec Fri Sep 18 09:37:53 2009
@@ -0,0 +1,98 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Mail
+%define pnam SpamAssassin
+Summary: Mail::SpamAssassin - Spam detector and markup engine
+#Summary(pl.UTF-8):
+Name: perl-Mail-SpamAssassin
+Version: 3.2.5
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://search.cpan.org/CPAN/authors/id/J/JM/JMASON/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 7fdc1651d0371c4a7f95ac9ae6f828a6
+URL: http://search.cpan.org/dist/Mail-SpamAssassin/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+#BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Mail::SpamAssassin is a module to identify spam using several methods
+including text analysis, internet-based realtime blacklists,
+statistical analysis, and internet-based hashing algorithms.
+
+Using its rule base, it uses a wide range of heuristic tests on mail
+headers and body text to identify "spam", also known as unsolicited
+bulk email. Once identified as spam, the mail can then be tagged as
+spam for later filtering using the user's own mail user agent
+application or at the mail transfer agent.
+
+If you wish to use a command-line filter tool, try the spamassassin or
+the spamd/spamc tools provided.
+
+# %description -l pl.UTF-8 # TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make} \
+ CC="%{__cc}" \
+ OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes CREDITS INSTALL README
+%attr(755,root,root) %{_bindir}/*
+%{perl_vendorlib}/Mail/SpamAssassin.pm
+%dir %{perl_vendorlib}/Mail/SpamAssassin
+%{perl_vendorlib}/Mail/SpamAssassin/*.pm
+%dir %{perl_vendorlib}/Mail/SpamAssassin/Bayes
+%{perl_vendorlib}/Mail/SpamAssassin/Bayes/*.pm
+%dir %{perl_vendorlib}/Mail/SpamAssassin/BayesStore
+%{perl_vendorlib}/Mail/SpamAssassin/BayesStore/*.pm
+%dir %{perl_vendorlib}/Mail/SpamAssassin/Conf
+%{perl_vendorlib}/Mail/SpamAssassin/Conf/*.pm
+%dir %{perl_vendorlib}/Mail/SpamAssassin/Locker
+%{perl_vendorlib}/Mail/SpamAssassin/Locker/*.pm
+%dir %{perl_vendorlib}/Mail/SpamAssassin/Logger
+%{perl_vendorlib}/Mail/SpamAssassin/Logger/*.pm
+%dir %{perl_vendorlib}/Mail/SpamAssassin/Message
+%{perl_vendorlib}/Mail/SpamAssassin/Message/*.pm
+%dir %{perl_vendorlib}/Mail/SpamAssassin/Message/Metadata
+%{perl_vendorlib}/Mail/SpamAssassin/Message/Metadata/*.pm
+%dir %{perl_vendorlib}/Mail/SpamAssassin/Plugin
+%{perl_vendorlib}/Mail/SpamAssassin/Plugin/*.pm
+%dir %{perl_vendorlib}/Mail/SpamAssassin/Util
+%{perl_vendorlib}/Mail/SpamAssassin/Util/*.pm
+%dir %{perl_vendorarch}/auto/Mail/SpamAssassin
+%{_mandir}/man?/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/09/18 07:37:53 amateja
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list