[perl-Unicode-Casing] Import

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

 



commit 93a2b450c20a28a7c4280e8b8fd25b0896870bba
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Wed Jul 13 09:13:55 2011 +0200

    Import

 .gitignore               |    1 +
 perl-Unicode-Casing.spec |   56 ++++++++++++++++++++++++++++++++++++++++++++++
 sources                  |    1 +
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..73a30d6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Unicode-Casing-0.07.tar.gz
diff --git a/perl-Unicode-Casing.spec b/perl-Unicode-Casing.spec
new file mode 100644
index 0000000..b36a655
--- /dev/null
+++ b/perl-Unicode-Casing.spec
@@ -0,0 +1,56 @@
+# This file is licensed under the terms of GNU GPLv2+.
+Name:           perl-Unicode-Casing
+Version:        0.07
+Release:        1%{?dist}
+Summary:        Perl extension to override system case changing functions
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Unicode-Casing/
+Source0:        http://www.cpan.org/authors/id/K/KH/KHW/Unicode-Casing-%{version}.tar.gz
+BuildRequires:  perl(B::Hooks::OP::Check)
+BuildRequires:  perl(B::Hooks::OP::PPAddr)
+BuildRequires:  perl(ExtUtils::Depends)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Tests:
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(XSLoader)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+This module allows overriding the system-defined character case changing
+functions. Any time something in its lexical scope would ordinarily call
+lc(), lcfirst(), uc(), or ucfirst() the corresponding user-specified
+function will instead be called. This applies to direct calls, and indirect
+calls via the \L, \l, \U, and \u escapes in double quoted strings and
+regular expressions.
+
+%prep
+%setup -q -n Unicode-Casing-%{version}
+
+%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}/Unicode*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Jul 11 2011 Petr Pisar <ppisar@xxxxxxxxxx> 0.07-1
+- Specfile autogenerated by cpanspec 1.78.
+- Remove BuildRoot and defattr
diff --git a/sources b/sources
index e69de29..296be64 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+335647cf4a966f86f0ee6e8f2bc4ab13  Unicode-Casing-0.07.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