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