[perl-String-CamelCase] initial import (rhbz#781706)
by Iain Arnell
commit 782ecfc7c794e2218dcb1f8143cc640bbe1692f9
Author: Iain Arnell <iarnell(a)gmail.com>
Date: Fri Feb 3 06:21:15 2012 +0100
initial import (rhbz#781706)
.gitignore | 1 +
perl-String-CamelCase.spec | 45 ++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 47 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1069289 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/String-CamelCase-0.02.tar.gz
diff --git a/perl-String-CamelCase.spec b/perl-String-CamelCase.spec
new file mode 100644
index 0000000..198d90c
--- /dev/null
+++ b/perl-String-CamelCase.spec
@@ -0,0 +1,45 @@
+Name: perl-String-CamelCase
+Version: 0.02
+Release: 1%{?dist}
+Summary: Convert underscore_text to CamelCase and back
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/String-CamelCase/
+Source0: http://www.cpan.org/authors/id/H/HI/HIO/String-CamelCase-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::Pod::Coverage)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module exports two functions to convert underscore_text to CamelCase and
+back again.
+
+%prep
+%setup -q -n String-CamelCase-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Jan 13 2012 Iain Arnell <iarnell(a)gmail.com> 0.02-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..11ce9c5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+74885aa8756fda9ff039c350214a4c09 String-CamelCase-0.02.tar.gz
12 years, 2 months
[perl-String-ToIdentifier-EN] initial import (rhbz#781793)
by Iain Arnell
commit 4f87622752b1c1b03523b023e8ba5bade8125142
Author: Iain Arnell <iarnell(a)gmail.com>
Date: Fri Feb 3 06:19:28 2012 +0100
initial import (rhbz#781793)
.gitignore | 1 +
perl-String-ToIdentifier-EN.spec | 52 ++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a6ccaef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/String-ToIdentifier-EN-0.06.tar.gz
diff --git a/perl-String-ToIdentifier-EN.spec b/perl-String-ToIdentifier-EN.spec
new file mode 100644
index 0000000..64e7ff8
--- /dev/null
+++ b/perl-String-ToIdentifier-EN.spec
@@ -0,0 +1,52 @@
+Name: perl-String-ToIdentifier-EN
+Version: 0.06
+Release: 1%{?dist}
+Summary: Convert Strings to English Program Identifiers
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/String-ToIdentifier-EN/
+Source0: http://www.cpan.org/authors/id/R/RK/RKITOVER/String-ToIdentifier-EN-%{ver...
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Lingua::EN::Inflect::Phrase) >= 0.07
+BuildRequires: perl(namespace::clean) >= 0.20
+BuildRequires: perl(Test::More) >= 0.92
+BuildRequires: perl(Text::Unidecode) >= 0.04
+Requires: perl(Lingua::EN::Inflect::Phrase) >= 0.07
+Requires: perl(namespace::clean) >= 0.20
+Requires: perl(Text::Unidecode) >= 0.04
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module provides a utility method, "to_identifier" for converting an
+arbitrary string into a readable representation using the ASCII subset of
+\w for use as an identifier in a computer program. The intent is to make
+unique identifier names from which the content of the original string can
+be easily inferred by a human just by reading the identifier.
+
+%prep
+%setup -q -n String-ToIdentifier-EN-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Jan 13 2012 Iain Arnell <iarnell(a)gmail.com> 0.06-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..4968e66 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+262602c5b29b3a62fbf8ebc005bfebee String-ToIdentifier-EN-0.06.tar.gz
12 years, 2 months