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