[perl-Classic-Perl] Import

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

 



commit 5f92018464e1a85d21013e85200b1017975371b6
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Tue Aug 23 08:28:44 2011 +0200

    Import

 .gitignore             |    1 +
 perl-Classic-Perl.spec |   49 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a0b44bc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Classic-Perl-0.02a.tar.gz
diff --git a/perl-Classic-Perl.spec b/perl-Classic-Perl.spec
new file mode 100644
index 0000000..e95684b
--- /dev/null
+++ b/perl-Classic-Perl.spec
@@ -0,0 +1,49 @@
+%global preversion a
+Name:           perl-Classic-Perl
+Version:        0.02
+Release:        0.1.%{preversion}%{?dist}
+Summary:        Selectively reinstate deleted Perl features
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Classic-Perl/
+Source0:        http://www.cpan.org/authors/id/S/SP/SPROUT/Classic-Perl-%{version}%{preversion}.tar.gz
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(XSLoader)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(XSLoader)
+
+%{?perl_default_filter}
+
+%description
+Classic::Perl restores some Perl features that have been deleted in the
+latest versions. By 'classic' we mean as of perl 5.8.x.
+
+%prep
+%setup -q -n Classic-Perl-%{version}%{preversion}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+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 -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Classic*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Aug 22 2011 Petr Pisar <ppisar@xxxxxxxxxx> 0.02-0.1.a
+- Specfile autogenerated by cpanspec 1.78.
+- Move `alpha' version substring to release tag.
+- Remove BuildRoot and defattr spec code.
diff --git a/sources b/sources
index e69de29..8137483 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9b5507a0e6719b267e9e490b492cb092  Classic-Perl-0.02a.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