You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.2 KiB
46 lines
1.2 KiB
13 years ago
|
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@gmail.com> 0.02-1
|
||
|
- Specfile autogenerated by cpanspec 1.78.
|