[perl-PPI-XS] Import

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

 



commit 676d868e2120d3ccd9dc25e083d18783dbd341e8
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Tue Mar 5 16:02:15 2013 +0100

    Import

 .gitignore       |    1 +
 perl-PPI-XS.spec |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..810795f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/PPI-XS-0.902.tar.gz
diff --git a/perl-PPI-XS.spec b/perl-PPI-XS.spec
new file mode 100644
index 0000000..a35a3f2
--- /dev/null
+++ b/perl-PPI-XS.spec
@@ -0,0 +1,60 @@
+Name:           perl-PPI-XS
+Version:        0.902
+Release:        1%{?dist}
+Summary:        XS acceleration for PPI
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/PPI-XS/
+Source0:        http://www.cpan.org/authors/id/D/DA/DAGOLDEN/PPI-XS-%{version}.tar.gz
+BuildRequires:  perl
+BuildRequires:  perl(inc::Module::Install::DSL) >= 0.86
+# Run-time:
+BuildRequires:  perl(PPI) >= 1.000
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(XSLoader)
+# Tests:
+BuildRequires:  perl(Test::More) >= 0.47
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+PPI::XS provides XS-based acceleration of the core PPI packages. It
+selectively replaces a (small but growing) number of methods throughout PPI
+with identical but much faster C versions.
+
+%prep
+%setup -q -n PPI-XS-%{version}
+# Remove bundled modules
+rm -rf inc/*
+sed -i -e '/^inc\//d' MANIFEST
+# Fix OELs
+for F in Changes; do
+    tr -d "\r" < "$F" > "${F}.unix"
+    touch -r "$F" "${F}.unix"
+    mv "${F}.unix" "$F"
+done
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$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 {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/PPI*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Mar 01 2013 Petr Pisar <ppisar@xxxxxxxxxx> 0.902-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..57c8727 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9f1fc9b4df050395b5ee314f1f77bc05  PPI-XS-0.902.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