File perl-MIME-tools.spec of Package perl-MIME-tools
#
# spec file for package perl-MIME-tools (Version 5.428)
#
# Copyright (c) 2010 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-MIME-tools
Url: http://cpan.org/modules/by-module/MIME/
BuildRequires: perl(File::Temp) perl-IO-stringy perl-MailTools
BuildRequires: perl-macros
License: Artistic License ..
Group: Development/Libraries/Perl
Provides: p_mimet
Obsoletes: p_mimet
Requires: perl-IO-stringy perl-MailTools perl-Convert-BinHex
AutoReqProv: on
Summary: modules for parsing (and creating!) MIME entities
Version: 5.428
Release: 1
Source: MIME-tools-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%description
modules for parsing (and creating!) MIME entities
Authors:
--------
Eryq <eryq@zeegee.com>
%prep
%setup -q -n MIME-tools-%{version}
%build
perl Makefile.PL
make %{?_smp_mflags}
%check
make test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/set-version.pl
%files
%defattr(-,root,root)
%{perl_vendorlib}/MIME
%dir %{perl_vendorarch}/auto/MIME
%{perl_vendorarch}/auto/MIME/tools
%doc %{_mandir}/man3/*.gz
%doc ChangeLog COPYING examples INSTALLING MANIFEST README*
%changelog