perl-MailTools/perl-MailTools.spec

154 lines
5.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-MailTools (Version 2.04)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-MailTools
Url: http://cpan.org/modules/by-module/Mail/
Version: 2.04
Release: 1
Provides: p_mtools
Obsoletes: p_mtools
Requires: perl = %{perl_version}
AutoReqProv: on
License: Artistic License
Group: Development/Libraries/Perl
Summary: a set of perl modules related to mail applications
Source: MailTools-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
a set of perl modules related to mail applications
Authors:
--------
Graham Barr <gbarr@pobox.com>
%prep
%setup -q -n MailTools-%{version}
# ---------------------------------------------------------------------------
%build
perl Makefile.PL
make
%check
make test
# ---------------------------------------------------------------------------
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%files
%defattr(-,root,root)
%{perl_vendorlib}/Mail
%{perl_vendorarch}/auto/Mail
%doc /usr/share/man/man3/*.gz
/var/adm/perl-modules/perl-MailTools
%doc ChangeLog MANIFEST README README.demos examples
%changelog
* Wed Sep 10 2008 anicka@suse.cz
- update to 2.04
* Mail::Field::_require_dir complained on 5.10 about a closed
dirhandle.
* Bcc line removed before collecting addresses.
* add "die" to "close()" in synopsis of Mail::Send and
Mail::Mailer.
* Thu Jun 19 2008 anicka@suse.cz
- update to 2.03
* Netware needs to use smtp as well
* Mail::Field::extract() fixed.
* Thu Dec 13 2007 anicka@suse.cz
- update to 2.02
* use 3-arg open() in Mail::Util.
* reorganized installation of MailTools, in a modern way. This
may break installation on very old releases of Perl.
* added and cleaned a lot of documentation, using OODoc to
generate nice manuals in POD and HTML.
* extracted Mail::Field::Generic from Mail::Field
* added misteriously missing Mail::Field::AddrList::addr_list()
* Tue May 15 2007 anicka@suse.cz
- update to 1.77
* fixed syntax error in qmail.pm
* die if qmail's exec fails.
* require Data::Format
* corrected header field folding according to rfc2822, which
may break some ancient (poor) applications.
* Thu Apr 12 2007 anicka@suse.cz
- update to 1.76
* The tag (field label) casing is "normalized" which is not
required (as the comment in the code told), but a mis*
feature. The feature will not change, to avoid breaking
existing code.
* Do not ignore unknown argument to Mail::Internet::new(),
but complain about it
* Document that the \n is still after a header line, but folding
is removed.
* Document that unfolding is too greading, taking all leading
blanks where only one should be taken.
* [Mike Lerley] reported that environment variables are not
thread*safe in mod_perl. Therefore, he required to pass the
sender of the message explictly on qmail's command*line.
His addapted patch included.
* Thu Jul 13 2006 anicka@suse.cz
- update to 1.74
* minor improvements and bugfixes, new examples added
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Apr 11 2005 freitag@suse.de
- updated to most recent version 1.67
* Thu Feb 26 2004 choeger@suse.de
- updated to most recent version 1.60
* Sun Jan 11 2004 adrian@suse.de
- add %%defattr
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Thu Jul 17 2003 choeger@suse.de
- use install_vendor and new %%perl_process_packlist macro
* Tue Jun 17 2003 choeger@suse.de
- updated filelist
* Mon May 19 2003 choeger@suse.de
- remove installed (but unpackaged) file perllocal.pod
* Thu May 08 2003 choeger@suse.de
- update to version 1.58
* Wed Oct 30 2002 choeger@suse.de
- Security update: The mailx mailer has been removed from the list
of possible mailers in the Mail::Mailer package. Remote attackers
could use unpatched Mail::Mailer packages to execute arbitrary
commands via programs using this package or any other Perl
package using Mail::Mailer. Such programs are auto-reply
programs or SpamAssassin for example.
* Mon Aug 05 2002 link@suse.de
- update to 1.47
- overhauled spec file
* Mon Jul 29 2002 mls@suse.de
- Fixed neededforbuild for perl-5.8.0
* Tue Jul 02 2002 mls@suse.de
- remove race in .packlist generation
* Sun Jan 13 2002 link@suse.de
- update to v1.42
* Wed Nov 15 2000 choeger@suse.de
- long package name
- buildroot
* Wed Jul 19 2000 choeger@suse.de
- first package, v1.1401