File perl-MIME-Lite.spec of Package perl-MIME-Lite

#
# spec file for package perl-MIME-Lite (Version 3.01)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Url:            http://cpan.org/modules/by-module/MIME/

Name:           perl-MIME-Lite
Version:        3.01
Release:        238
Requires:       perl = %{perl_version}
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Artistic License
Summary:        Module for Generating MIME messages
Source:         MIME-Lite-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
MIME::Lite is intended as a simple, standalone module for generating
(not parsing!) MIME messages... specifically, it allows you to output a
simple, decent single- or multi-part message with text or binary
attachments. It does not require that you have the Mail:: or MIME::
modules installed.



Authors:
--------
    Eryq <eryq@zeegee.com>

%prep
%setup -n MIME-Lite-%{version}

%build
perl Makefile.PL
make
make test

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
chmod 0644 README MANIFEST changes.pod

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc COPYING INSTALLING MANIFEST README changes.pod examples contrib
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/MIME
%{perl_vendorlib}/MIME
/var/adm/perl-modules/perl-MIME-Lite

%changelog
* Sat Mar 15 2008 coolo@suse.de
- removing executable bits on documentation
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Sep 28 2005 dmueller@suse.de
- add norootforbuild
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Mon Jul 14 2003 freitag@suse.de
- removed useless comments and fixed the docs
* Mon Jul 14 2003 freitag@suse.de
- changed to vendor directories, used autobuild macros
* Wed Jun 18 2003 coolo@suse.de
- package directories
* Mon May 26 2003 ro@suse.de
- remove unpackaged files from buildroot
* Mon May 19 2003 freitag@suse.de
- update to version 3.01, only small maintenance, no new feature.
  removed perllocal.pod off the filesystem
* Thu Aug 08 2002 mls@suse.de
- use sitearch macro
* Tue Jul 30 2002 freitag@suse.de
- update to version 2.117 with feature improvements.
* Tue Jul 02 2002 mls@suse.de
- remove race in .packlist generation
* Fri Jun 08 2001 freitag@suse.de
- new package with initial version 2.111, required by pdb
openSUSE Build Service is sponsored by