Name: perl-Text-Aligner Version: 0.07 Release: 5%{?dist} Summary: Text::Aligner Perl module License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Text-Aligner/ Source0: http://www.cpan.org/authors/id/A/AN/ANNO/Text-Aligner-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Term::ANSIColor) >= 2.01 # Tests only BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(Term::ANSIColor) >= 2.01 %{?perl_default_filter: %filter_from_requires /^perl(Term::ANSIColor)$/d %perl_default_filter } %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Term::ANSIColor\\)$ %description Text::Aligner exports a single function, align(), which is used to justify strings to various alignment styles. The alignment specification is the first argument, followed by any number of scalars which are subject to alignment. %prep %setup -q -n Text-Aligner-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %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 -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Jul 25 2011 Iain Arnell <iarnell@gmail.com> 0.07-5 - update filtering for rpm 4.9 * Fri Jun 17 2011 Marcela MaÅ¡láÅová <mmaslano@redhat.com> - 0.07-4 - Perl mass rebuild * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-2 - 661697 rebuild for fixing problems with vendorach/lib * Wed Sep 22 2010 Petr Pisar <ppisar@redhat.com> - 0.07-1 - 0.07 bump - Require 2.01 Term::ANSIColor, filter unversioned one out * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-5 - Mass rebuild with perl-5.12.0 * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.03-4 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Aug 11 2008 Marcela MaÅ¡láÅová <mmaslano@redhat.com> 0.03-1 - Specfile autogenerated by cpanspec 1.77.