commit 23c8965f4474960e9ea51cc6a9b0ddc3fd2bc42f Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Fri Feb 8 15:29:56 2013 +0100 Initial package (#908788) .gitignore | 1 + perl-Perl-Stripper.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 49 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..bbfbee5 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Perl-Stripper-0.04.tar.gz diff --git a/perl-Perl-Stripper.spec b/perl-Perl-Stripper.spec new file mode 100644 index 0000000..7151baf --- /dev/null +++ b/perl-Perl-Stripper.spec @@ -0,0 +1,47 @@ +Name: perl-Perl-Stripper +Version: 0.04 +Release: 1%{?dist} +Summary: Yet another PPI-based Perl source code stripper +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Perl-Stripper/ +Source0: http://www.cpan.org/authors/id/S/SH/SHARYANTO/Perl-Stripper-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Slurp) +BuildRequires: perl(File::Temp) +BuildRequires: perl(Log::Any) +BuildRequires: perl(Module::Build) >= 0.3601 +BuildRequires: perl(Moo) +BuildRequires: perl(PPI) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) >= 0.98 +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +This module is yet another PPI-based Perl source code stripper. Its focus +is on customization and stripping significant information from source code. + +%prep +%setup -q -n Perl-Stripper-%{version} + +%build +perl Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 +%{_fixperms} %{buildroot}/* + +%check +./Build test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Feb 07 2013 Petr Šabata <contyk@xxxxxxxxxx> 0.04-1 +- Initial package for Fedora diff --git a/sources b/sources index e69de29..41204cc 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0e52cd0cf4fb1c1bfea002af4a57e384 Perl-Stripper-0.04.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