[perl-Module-Reader] Initial import

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 564ad487fd4c43d612f41a5812079478ae40499d
Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx>
Date:   Thu Mar 13 15:36:48 2014 +0100

    Initial import

 .gitignore              |    1 +
 perl-Module-Reader.spec |   52 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3b543f1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Module-Reader-0.002001.tar.gz
diff --git a/perl-Module-Reader.spec b/perl-Module-Reader.spec
new file mode 100644
index 0000000..12b56d9
--- /dev/null
+++ b/perl-Module-Reader.spec
@@ -0,0 +1,52 @@
+Name:           perl-Module-Reader
+Version:        0.002001
+Release:        1%{?dist}
+Summary:        Read the source of a module like perl does
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Module-Reader/
+Source0:        http://www.cpan.org/authors/id/H/HA/HAARG/Module-Reader-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(strict)
+# Run-time
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(File::Spec)
+# perl(IO::String) - requires only for Perl < 5.008
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(warnings)
+# Tests
+BuildRequires:  perl(Test::More) >= 0.88
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+Reads the content of perl modules the same way perl does. This includes
+reading modules available only by @INC hooks, or filtered through them.
+
+%prep
+%setup -q -n Module-Reader-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Mar 12 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> 0.002001-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..8c19e61 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e578ee4b48677c8a0637963976fd4218  Module-Reader-0.002001.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





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux