From 37a3a23311a8557c08ac6b2106dcc1c6ceb19486 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Sat, 6 Aug 2005 03:00:06 +0000 Subject: [PATCH] auto-import perl-UNIVERSAL-moniker-0.08-3 on branch devel from perl-UNIVERSAL-moniker-0.08-3.src.rpm --- .cvsignore | 1 + perl-UNIVERSAL-moniker.spec | 55 +++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 57 insertions(+) create mode 100644 perl-UNIVERSAL-moniker.spec diff --git a/.cvsignore b/.cvsignore index e69de29..7dc1419 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +UNIVERSAL-moniker-0.08.tar.gz diff --git a/perl-UNIVERSAL-moniker.spec b/perl-UNIVERSAL-moniker.spec new file mode 100644 index 0000000..c4f9e17 --- /dev/null +++ b/perl-UNIVERSAL-moniker.spec @@ -0,0 +1,55 @@ +Name: perl-UNIVERSAL-moniker +Version: 0.08 +Release: 3%{?dist} +Summary: Real world naming for classes +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/UNIVERSAL-moniker/ +Source0: http://search.cpan.org/CPAN/authors/id/K/KA/KASEI/UNIVERSAL-moniker-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1, perl(Lingua::EN::Inflect) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +UNIVERSAL::moniker enables classes to make a good +guess at what they would be called in the real world. + +%prep +%setup -q -n UNIVERSAL-moniker-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make + +%install +rm -rf $RPM_BUILD_ROOT +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 d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/UNIVERSAL +%{_mandir}/man3/*.3* + + +%changelog +* Fri Aug 5 2005 Tom "spot" Callaway 0.08-3 +- add BR: perl(Lingua::EN::Inflect) to improve test coverage +- add README to %doc + +* Fri Jul 8 2005 Tom "spot" Callaway 0.08-2 +- cleanups + +* Wed Jul 6 2005 Tom "spot" Callaway 0.08-1 +- Initial package for Fedora Extras diff --git a/sources b/sources index e69de29..443c114 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e59b97ccf88f9fa68c3e5c18d7059d57 UNIVERSAL-moniker-0.08.tar.gz