|
|
611b47 |
Summary: Line wrapping with support for several locale setups
|
|
|
611b47 |
Name: perl-Text-WrapI18N
|
|
|
611b47 |
Version: 0.06
|
|
|
611b47 |
Release: 17%{?dist}
|
|
|
611b47 |
License: GPL+ or Artistic
|
|
|
611b47 |
Group: Development/Libraries
|
|
|
611b47 |
URL: http://search.cpan.org/dist/Text-WrapI18N/
|
|
|
611b47 |
Source0: http://search.cpan.org/CPAN/authors/id/K/KU/KUBOTA/Text-WrapI18N-%{version}.tar.gz
|
|
|
611b47 |
BuildArch: noarch
|
|
|
611b47 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
611b47 |
BuildRequires: perl(Exporter)
|
|
|
611b47 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
611b47 |
BuildRequires: perl(Test::Simple)
|
|
|
611b47 |
BuildRequires: perl(Text::CharWidth) >= 0.02
|
|
|
611b47 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
611b47 |
Requires: perl(Text::CharWidth) >= 0.02
|
|
|
611b47 |
|
|
|
611b47 |
%description
|
|
|
611b47 |
This is a module which intends to substitute Text::Wrap,
|
|
|
611b47 |
which supports internationalized texts including:
|
|
|
611b47 |
- multi-byte encodings such as UTF-8, EUC-JP, EUC-KR, GB2312, and Big5,
|
|
|
611b47 |
- full width characters like east Asian characters which appear in
|
|
|
611b47 |
UTF-8, EUC-JP, EUC-KR, GB2312, Big5, and so on,
|
|
|
611b47 |
- combining characters like diacritical marks which appear in UTF-8,
|
|
|
611b47 |
ISO-8859-11 (aka TIS-620), and so on, and
|
|
|
611b47 |
- languages which don't use white spaces between words, like Chinese
|
|
|
611b47 |
and Japanese.
|
|
|
611b47 |
|
|
|
611b47 |
%prep
|
|
|
611b47 |
%setup -q -n Text-WrapI18N-%{version}
|
|
|
611b47 |
|
|
|
611b47 |
%build
|
|
|
611b47 |
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
611b47 |
make
|
|
|
611b47 |
|
|
|
611b47 |
%install
|
|
|
611b47 |
rm -rf %{buildroot}
|
|
|
611b47 |
make install DESTDIR=%{buildroot}
|
|
|
611b47 |
find %{buildroot} -type f \( -name .packlist -or -name perllocal.pod \
|
|
|
611b47 |
-or \( -name '*.bs' -a -empty \) \) -exec rm -f {} \;
|
|
|
611b47 |
find %{buildroot} -depth -type d -exec rmdir {} \;
|
|
|
611b47 |
chmod -R u+w %{buildroot}
|
|
|
611b47 |
|
|
|
611b47 |
%check
|
|
|
611b47 |
make test
|
|
|
611b47 |
|
|
|
611b47 |
%clean
|
|
|
611b47 |
rm -rf %{buildroot}
|
|
|
611b47 |
|
|
|
611b47 |
%files
|
|
|
611b47 |
%defattr(-,root,root,-)
|
|
|
611b47 |
%doc README Changes
|
|
|
611b47 |
%{perl_vendorlib}/Text
|
|
|
611b47 |
%{_mandir}/man3/Text::WrapI18N.3pm*
|
|
|
611b47 |
|
|
|
611b47 |
%changelog
|
|
|
611b47 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.06-17
|
|
|
611b47 |
- Mass rebuild 2013-12-27
|
|
|
611b47 |
|
|
|
611b47 |
* Fri Nov 23 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.06-16
|
|
|
611b47 |
- Update dependencies and description
|
|
|
611b47 |
|
|
|
611b47 |
* Mon Oct 29 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.06-15
|
|
|
611b47 |
- Add BR perl(Exporter)
|
|
|
611b47 |
|
|
|
611b47 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-14
|
|
|
611b47 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
611b47 |
|
|
|
611b47 |
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.06-13
|
|
|
611b47 |
- Perl 5.16 rebuild
|
|
|
611b47 |
|
|
|
611b47 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-12
|
|
|
611b47 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
611b47 |
|
|
|
611b47 |
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.06-11
|
|
|
611b47 |
- Perl mass rebuild
|
|
|
611b47 |
|
|
|
611b47 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-10
|
|
|
611b47 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
611b47 |
|
|
|
611b47 |
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-9
|
|
|
611b47 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
611b47 |
|
|
|
611b47 |
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-8
|
|
|
611b47 |
- Mass rebuild with perl-5.12.0
|
|
|
611b47 |
|
|
|
611b47 |
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.06-7
|
|
|
611b47 |
- rebuild against perl 5.10.1
|
|
|
611b47 |
|
|
|
611b47 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-6
|
|
|
611b47 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
611b47 |
|
|
|
611b47 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-5
|
|
|
611b47 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
611b47 |
|
|
|
611b47 |
* Sun Aug 24 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 0.06-4
|
|
|
611b47 |
- %%check || : does not work anymore.
|
|
|
611b47 |
|
|
|
611b47 |
* Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.06-2.2
|
|
|
611b47 |
- add BR: perl(Test::Simple)
|
|
|
611b47 |
|
|
|
611b47 |
* Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.06-2.1
|
|
|
611b47 |
- correct license tag
|
|
|
611b47 |
- add BR: perl(ExtUtils::MakeMaker)
|
|
|
611b47 |
|
|
|
611b47 |
* Sat Dec 30 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 0.06-2
|
|
|
611b47 |
- Add ownership of some perl folders.
|
|
|
611b47 |
|
|
|
611b47 |
* Thu Dec 28 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 0.06-1
|
|
|
611b47 |
- Initial build.
|
|
|
611b47 |
|