Name: perl-UNIVERSAL-moniker Version: 0.08 Release: 18%{?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(Test::More), perl(Lingua::EN::Inflect) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # Filter bogus provide for perl(UNIVERSAL) (rpm 4.9 onwards) %global __provides_exclude ^perl\\(UNIVERSAL\\) %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} # Filter bogus provide for perl(UNIVERSAL) (prior to rpm 4.9) %global provfilt /bin/sh -c "%{__perl_provides} | sed -e '/^perl(UNIVERSAL)$/d'" %define __perl_provides %{provfilt} %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/UNIVERSAL::moniker.3pm* %changelog * Fri Jul 20 2012 Fedora Release Engineering - 0.08-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 0.08-17 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.08-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jun 20 2011 Marcela Mašláňová - 0.08-15 - Perl mass rebuild * Thu Apr 14 2011 Paul Howarth - 0.08-14 - Tweak provides filter to work with rpm >= 4.9 too * Wed Feb 09 2011 Fedora Release Engineering - 0.08-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 23 2010 Marcela Maslanova - 0.08-12 - Rebuild to fix problems with vendorarch/lib (#661697) * Fri May 07 2010 Marcela Maslanova - 0.08-11 - Mass rebuild with perl-5.12.0 * Fri Dec 4 2009 Stepan Kasal - 0.08-10 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 0.08-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.08-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 27 2008 Tom "spot" Callaway - 0.08-7 - Rebuild for perl 5.10 (again) * Tue Jan 15 2008 Tom "spot" Callaway 0.08-6 - rebuild for new perl * Sun Aug 26 2007 Tom "spot" Callaway 0.08-5 - license tag fix * Mon Sep 11 2006 Tom "spot" Callaway 0.08-4 - filter out false provide * 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