forked from pool/perl-Email-Simple
53 lines
1.3 KiB
RPMSpec
53 lines
1.3 KiB
RPMSpec
|
|
%define modname Email-Simple
|
||
|
|
Name: perl-%{modname}
|
||
|
|
Version: 2.003
|
||
|
|
Release: 1
|
||
|
|
Summary: Simple Parsing of RFC2822 Message Format and Headers
|
||
|
|
Requires: perl = %{perl_version}
|
||
|
|
BuildRequires: perl
|
||
|
|
License: GPL/Artistic
|
||
|
|
Group: Development/Libraries/Perl
|
||
|
|
Source: %{modname}-%{version}.tar.bz2
|
||
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
||
|
|
|
||
|
|
%description
|
||
|
|
Email::Simple is the first deliverable of the "Perl Email Project." The Email::
|
||
|
|
namespace was begun as a reaction against the increasing complexity and
|
||
|
|
bugginess of Perl's existing email modules. Email::* modules are meant to be
|
||
|
|
simple to use and to maintain, pared to the bone, fast, minimal in their
|
||
|
|
external dependencies, and correct.
|
||
|
|
|
||
|
|
Authors:
|
||
|
|
--------
|
||
|
|
Ricardo SIGNES <rjbs@cpan.org>
|
||
|
|
Casey West <casey@geeknest.com>
|
||
|
|
Simon Cozens
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%setup -q -n %{modname}-%{version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||
|
|
make
|
||
|
|
make test
|
||
|
|
|
||
|
|
%install
|
||
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||
|
|
%perl_process_packlist
|
||
|
|
|
||
|
|
%clean
|
||
|
|
rm -rf %{buildroot}
|
||
|
|
|
||
|
|
%files
|
||
|
|
%defattr(-, root, root)
|
||
|
|
%doc Changes LICENSE README
|
||
|
|
%doc %{_mandir}/man?/*
|
||
|
|
#%{perl_vendorlib}/
|
||
|
|
#%{perl_vendorarch}/auto/
|
||
|
|
/var/adm/perl-modules/%{name}
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
|
||
|
|
* Fri Sep 14 2007 - James Oakley <jfunk@funktronics.ca> - 2.003-1
|
||
|
|
- Initial release
|