[perl-ExtUtils-ParseXS] Reincarnate already death package

Petr Pisar ppisar at fedoraproject.org
Fri Apr 26 13:45:28 UTC 2013


commit f40f7ad0450c8c30ce5e58c4608710a81f1f6938
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Apr 26 15:44:36 2013 +0200

    Reincarnate already death package

 .gitignore                 |    1 +
 dead.package               |    1 -
 perl-ExtUtils-ParseXS.spec |   73 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 4 files changed, 75 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7cdb495..6ba6cfb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 ExtUtils-ParseXS-2.18.tar.gz
+/ExtUtils-ParseXS-3.18.tar.gz
diff --git a/perl-ExtUtils-ParseXS.spec b/perl-ExtUtils-ParseXS.spec
new file mode 100644
index 0000000..2d44a2a
--- /dev/null
+++ b/perl-ExtUtils-ParseXS.spec
@@ -0,0 +1,73 @@
+Name:           perl-ExtUtils-ParseXS
+# Epoch to compete with perl.spec
+Epoch:          1
+Version:        3.18
+Release:        1%{?dist}
+Summary:        Module and a script for converting Perl XS code into C code
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/ExtUtils-ParseXS/
+Source0:        http://www.cpan.org/authors/id/S/SM/SMUELLER/ExtUtils-ParseXS-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(Config)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.46
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(Exporter)
+# ExtUtils::XSSymSet not needed
+BuildRequires:  perl(File::Basename)
+# Getopt::Long not tested
+BuildRequires:  perl(lib)
+BuildRequires:  perl(re)
+BuildRequires:  perl(Symbol)
+# Tests:
+BuildRequires:  perl-devel
+BuildRequires:  perl(attributes)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(ExtUtils::CBuilder)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(overload)
+BuildRequires:  perl(Test::More) >= 0.47
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl-devel
+# perl-ExtUtils-Typemaps has been merged into perl-ExtUtils-ParseXS, bug #891952
+Obsoletes:      perl-ExtUtils-Typemaps
+
+%description
+ExtUtils::ParseXS will compile XS code into C code by embedding the
+constructs necessary to let C functions manipulate Perl values and creates
+the glue necessary to let Perl access those functions.
+
+%prep
+%setup -q -n ExtUtils-ParseXS-%{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/*
+# Do not install xsubpp twice, RT#117289
+rm $RPM_BUILD_ROOT%{perl_vendorlib}/ExtUtils/xsubpp
+ln -s ../../../../bin/xsubpp $RPM_BUILD_ROOT%{perl_vendorlib}/ExtUtils/
+
+%check
+make test
+
+%files
+%doc Changes README
+%{_bindir}/*
+%{perl_vendorlib}/*
+%{_mandir}/man1/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Mar 22 2013 Petr Pisar <ppisar at redhat.com> 1:3.18-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
new file mode 100644
index 0000000..6d71c7f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ba3af413df7cb5ef1b7994dafb35ea6f  ExtUtils-ParseXS-3.18.tar.gz



More information about the perl-devel mailing list