From 32f1c2f5fc4a98d920e75a44025df8816a082770 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sep 27 2013 19:19:38 +0000 Subject: Initial import --- diff --git a/.gitignore b/.gitignore index e69de29..6fa4067 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Parse-DebControl-2.005.tar.gz diff --git a/perl-Parse-DebControl.spec b/perl-Parse-DebControl.spec new file mode 100644 index 0000000..d9af43a --- /dev/null +++ b/perl-Parse-DebControl.spec @@ -0,0 +1,48 @@ +Name: perl-Parse-DebControl +Version: 2.005 +Release: 1%{?dist} +Summary: Easy OO parsing of debian control-like files + +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Parse-DebControl/ +Source0: http://search.cpan.org/CPAN/authors/id/J/JA/JAYBONCI/Parse-DebControl-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl-Test-Simple +# Run-time: +BuildRequires: perl(strict) +BuildRequires: perl(IO::Scalar) +BuildRequires: perl(Compress::Zlib) +BuildRequires: perl(LWP::UserAgent) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Easy OO parsing of debian control-like files . + +%prep +%setup -q -n Parse-DebControl-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} + +# Remove empty directory tree +rm -rf %{buildroot}%{_libdir} + +%check +make test + +%files +%doc CHANGES +%{perl_vendorlib}/Parse/ +%{_mandir}/man3/*.3* + + +%changelog +* Thu Sep 19 2013 Sandro Mani - 2.005-1 +- Initial package diff --git a/sources b/sources index e69de29..a736ea4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4fbf2e0b28a471a5e94394615303daf6 Parse-DebControl-2.005.tar.gz