commit bbf5706e228186406b89b27e00c84ad4648ec41d Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Thu Jan 2 15:28:29 2014 +0100 Initial import. .gitignore | 1 + perl-Email-Address-List.spec | 46 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 48 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..374b31c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Email-Address-List-0.01.tar.gz diff --git a/perl-Email-Address-List.spec b/perl-Email-Address-List.spec new file mode 100644 index 0000000..5abb7a1 --- /dev/null +++ b/perl-Email-Address-List.spec @@ -0,0 +1,46 @@ +Name: perl-Email-Address-List +Version: 0.01 +Release: 1%{?dist} +Summary: RFC close address list parsing +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Email-Address-List/ +Source0: http://www.cpan.org/authors/id/R/RU/RUZ/Email-Address-List-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Email::Address) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(JSON) +BuildRequires: perl(Test::More) +BuildRequires: perl(strict) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Parser for From, To, Cc, Bcc, Reply-To, Sender and previous prefixed with +Resent- (e.g. Resent-From) headers. + +%prep +%setup -q -n Email-Address-List-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Dec 19 2013 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> 0.01-1 +- Initial Fedora package. diff --git a/sources b/sources index e69de29..ae0d8b2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0987dc5ba9184217fc1c8f1d28d6c906 Email-Address-List-0.01.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel