Blame SPECS/perl-Text-CharWidth.spec

aa866d
Summary: Get number of occupied columns of a string on terminal
aa866d
Name: perl-Text-CharWidth
aa866d
Version: 0.04
aa866d
Release: 16%{?dist}
aa866d
License: GPL+ or Artistic
aa866d
Group: Development/Libraries
aa866d
URL: http://search.cpan.org/dist/Text-CharWidth/
aa866d
Source0: http://search.cpan.org/CPAN/authors/id/K/KU/KUBOTA/Text-CharWidth-%{version}.tar.gz
aa866d
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
aa866d
BuildRequires: perl(Exporter)
aa866d
BuildRequires: perl(ExtUtils::MakeMaker)
aa866d
BuildRequires: perl(Test::Simple)
aa866d
BuildRequires: perl(XSLoader)
aa866d
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
aa866d
aa866d
%{?perl_default_filter}
aa866d
aa866d
%description
aa866d
This is a module to provide equivalent feature as wcwidth(3) and
aa866d
wcswidth(3).  This also provides mblen(3) equivalent subroutine.
aa866d
aa866d
%prep
aa866d
%setup -q -n Text-CharWidth-%{version}
aa866d
aa866d
%build
aa866d
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
aa866d
make
aa866d
aa866d
%install
aa866d
rm -rf %{buildroot}
aa866d
make install DESTDIR=%{buildroot}
aa866d
find %{buildroot} -type f \( -name .packlist -or -name perllocal.pod \
aa866d
  -or \( -name '*.bs' -a -empty \) \) -exec rm -f {} \;
aa866d
find %{buildroot} -depth -type d -exec rmdir {} \;
aa866d
chmod -R u+w %{buildroot}
aa866d
aa866d
%check
aa866d
make test
aa866d
aa866d
%clean
aa866d
rm -rf %{buildroot}
aa866d
aa866d
aa866d
%files
aa866d
%defattr(-,root,root,-)
aa866d
%doc README Changes
aa866d
%{perl_vendorarch}/Text
aa866d
%{perl_vendorarch}/auto/Text
aa866d
%{_mandir}/man3/Text::CharWidth.3pm*
aa866d
aa866d
%changelog
aa866d
* Fri Oct 26 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.04-16
aa866d
- Specify all dependencies.
aa866d
- Add default filter.
aa866d
aa866d
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-15
aa866d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
aa866d
aa866d
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.04-14
aa866d
- Perl 5.16 rebuild
aa866d
aa866d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-13
aa866d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
aa866d
aa866d
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.04-12
aa866d
- Perl mass rebuild
aa866d
aa866d
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-11
aa866d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
aa866d
aa866d
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-10
aa866d
- 661697 rebuild for fixing problems with vendorach/lib
aa866d
aa866d
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-9
aa866d
- Mass rebuild with perl-5.12.0
aa866d
aa866d
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.04-8
aa866d
- rebuild against perl 5.10.1
aa866d
aa866d
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-7
aa866d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
aa866d
aa866d
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-6
aa866d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
aa866d
aa866d
* Sun Aug 24 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 0.04-5
aa866d
- %%check || : does not work anymore.
aa866d
aa866d
* Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.04-2.2
aa866d
- add BR: perl(Test::Simple)
aa866d
aa866d
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.04-2.1
aa866d
- correct license tag
aa866d
- add BR: perl(ExtUtils::MakeMaker)
aa866d
aa866d
* Sat Dec 30 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 0.04-2
aa866d
- Add ownership of some perl folders.
aa866d
aa866d
* Thu Dec 28 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 0.04-1
aa866d
- Initial build.
aa866d