From 1672358712d86f156cc1cb2ce7ec6db5fcd1aac8 Mon Sep 17 00:00:00 2001 From: athimm Date: Sun, 7 Jan 2007 00:18:48 +0000 Subject: [PATCH] auto-import perl-Text-WrapI18N-0.06-2.at on branch devel from perl-Text-WrapI18N-0.06-2.at.src.rpm --- .cvsignore | 1 + perl-Text-WrapI18N.spec | 59 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 61 insertions(+) create mode 100644 perl-Text-WrapI18N.spec diff --git a/.cvsignore b/.cvsignore index e69de29..7db1191 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Text-WrapI18N-0.06.tar.gz diff --git a/perl-Text-WrapI18N.spec b/perl-Text-WrapI18N.spec new file mode 100644 index 0000000..ad1b6cc --- /dev/null +++ b/perl-Text-WrapI18N.spec @@ -0,0 +1,59 @@ +Summary: Line wrapping with support for several locale setups +Name: perl-Text-WrapI18N +Version: 0.06 +Release: 2%{?dist} +License: GPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Text-WrapI18N/ +Source0: http://search.cpan.org/CPAN/authors/id/K/KU/KUBOTA/Text-WrapI18N-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRequires: perl +BuildRequires: perl(Text::CharWidth) >= 0.02 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This is a module which intends to substitute Text::Wrap, +which supports internationalized texts including: + - multibyte encodings such as UTF-8, EUC-JP, EUC-KR, GB2312, and Big5, + - fullwidth characters like east Asian characters which appear in + UTF-8, EUC-JP, EUC-KR, GB2312, Big5, and so on, + - combining characters like diacritical marks which appear in UTF-8, + ISO-8859-11 (aka TIS-620), and so on, and + - languages which don't use whitespaces between words, like Chinese + and Japanese. + +%prep +%setup -q -n Text-WrapI18N-%{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_vendorlib}/Text +%{_mandir}/man3/Text::WrapI18N.3pm* + +%changelog +* Sat Dec 30 2006 Axel Thimm - 0.06-2 +- Add ownership of some perl folders. + +* Thu Dec 28 2006 Axel Thimm - 0.06-1 +- Initial build. + diff --git a/sources b/sources index e69de29..4e26fa4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0799c16a00926e6c18d400c2e2861d5f Text-WrapI18N-0.06.tar.gz