[perl-re-engine-PCRE] Import

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

 



commit 6772b0cebc358ffa0ad0e3f7f6124b45973e1fb9
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Wed Jan 16 10:24:51 2013 +0100

    Import

 .gitignore               |    1 +
 perl-re-engine-PCRE.spec |   55 ++++++++++++++++++++++++++++++++++++++++++++++
 sources                  |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..123134d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/re-engine-PCRE-0.17.tar.gz
diff --git a/perl-re-engine-PCRE.spec b/perl-re-engine-PCRE.spec
new file mode 100644
index 0000000..ecdff53
--- /dev/null
+++ b/perl-re-engine-PCRE.spec
@@ -0,0 +1,55 @@
+Name:           perl-re-engine-PCRE
+Version:        0.17
+Release:        1%{?dist}
+Summary:        Perl-compatible regular expression engine
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/re-engine-PCRE/
+Source0:        http://www.cpan.org/authors/id/A/AV/AVAR/re-engine-PCRE-%{version}.tar.gz
+BuildRequires:  pcre-devel
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.31
+# Run-time:
+# Regexp is not used
+BuildRequires:  perl(XSLoader)
+# Tests:
+# Data::Dumper not used
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+This allows to replace perl's regular expression engine in a given lexical
+scope with PCRE regular expressions provided by pcre library.
+
+%prep
+%setup -q -n re-engine-PCRE-%{version}
+for F in README; do
+    iconv -f ISO-8859-1 -t UTF-8 < "$F" > "${F}.utf8"
+    touch -r "$F" "${F}.utf8"
+    mv "${F}.utf8" "$F"
+done
+find -type f -exec chmod -x {} +
+
+%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 LICENSE README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/re*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Jan 15 2013 Petr Pisar <ppisar@xxxxxxxxxx> 0.17-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..510264a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+15a6c12a5472a0fa6bb062573c8fb494  re-engine-PCRE-0.17.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