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