Name: perl-aliased Version: 0.30 Release: 3%{?dist} Summary: Use shorter versions of class names License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/aliased/ Source0: http://search.cpan.org/CPAN/authors/id/O/OV/OVID/aliased-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) %description aliased is simple in concept but is a rather handy module. It loads the class you specify and exports into your namespace a subroutine that returns the class name. You can explicitly alias the class to another name or, if you prefer, you can do so implicitly. In the latter case, the name of the subroutine is the last part of the class name. %prep %setup -q -n aliased-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf %{buildroot} ./Build install destdir=%{buildroot} create_packlist=0 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check ./Build test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Apr 29 2010 Marcela Maslanova - 0.30-3 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.30-2 - rebuild against perl 5.10.1 * Sat Aug 22 2009 Chris Weyl 0.30-1 - auto-update to 0.30 (by cpan-spec-update 0.01) * Sun Jul 26 2009 Fedora Release Engineering - 0.22-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.22-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed May 28 2008 Chris Weyl 0.22-1 - update to 0.22 * Wed Mar 5 2008 Tom "spot" Callaway 0.21-2 - rebuild for new perl * Fri Mar 30 2007 Chris Weyl 0.21-1 - update to 0.21 * Thu Oct 12 2006 Chris Weyl 0.20-2 - bump * Mon Oct 09 2006 Chris Weyl 0.20-1 - Specfile autogenerated by cpanspec 1.69.