From 8cd3ceac3b41ad075b046d3eec8443495c59fd1f Mon Sep 17 00:00:00 2001 From: cvsextras Date: Mon, 8 Nov 2004 05:10:02 +0000 Subject: [PATCH] =?UTF-8?q?auto-import=20changelog=20data=20from=20perl-Un?= =?UTF-8?q?icode-Map-0.112-0.fdr.5.rh90.src.rpm=200.112-0.fdr.5=20-=20Redu?= =?UTF-8?q?ce=20directory=20ownership=20bloat.=200.112-0.fdr.4=20-=20Insta?= =?UTF-8?q?ll=20into=20vendor=20dirs.=20-=20Specfile=20cleanup.=200.112-0.?= =?UTF-8?q?fdr.3=20-=20Regenerate=20%install=20section=20with=20cpanflute2?= =?UTF-8?q?.=20-=20Improve=20%description.=200.112-0.fdr.2=20-=20Own=20mor?= =?UTF-8?q?e=20dirs.=200.112-0.fdr.1=20-=20Update=20to=20current=20Fedora?= =?UTF-8?q?=20guidelines.=20Sun=20Mar=2002=202003=20Ville=20Skytt=C3=A4=20?= =?UTF-8?q?=20-=200.112-1.fedora.1=20-=20First?= =?UTF-8?q?=20Fedora=20release.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cvsignore | 1 + perl-Unicode-Map.spec | 88 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 90 insertions(+) create mode 100644 perl-Unicode-Map.spec diff --git a/.cvsignore b/.cvsignore index e69de29..a4d5f81 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Unicode-Map-0.112.tar.gz diff --git a/perl-Unicode-Map.spec b/perl-Unicode-Map.spec new file mode 100644 index 0000000..c4dc81d --- /dev/null +++ b/perl-Unicode-Map.spec @@ -0,0 +1,88 @@ +%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)} + +Name: perl-Unicode-Map +Version: 0.112 +Release: 0.fdr.5.rh90 +Epoch: 0 +Summary: Perl module for mapping charsets from and to utf16 unicode + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Unicode-Map/ +Source0: http://www.cpan.org/authors/id/M/MS/MSCHWARTZ/Unicode-Map-0.112.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: perl + +%description +This module converts strings from and to 2-byte Unicode UCS2 +format. All mappings happen via 2 byte UTF16 encodings, not via 1 byte +UTF8 encoding. To convert between UTF8 and UTF16 use Unicode::String. +For historical reasons this module coexists with Unicode::Map8. +Please use Unicode::Map8 unless you need to care for >1 byte character +sets, e.g. chinese GB2312. Anyway, if you stick to the basic +functionality (see documentation) you can use both modules +equivalently. +Practically this module will disappear from earth sooner or later as +Unicode mapping support needs somehow to get into perl's core. If you +like to work on this field please don't hesitate contacting Gisle Aas +and check out the mailing list perl-unicode! + + +%prep +%setup -q -n Unicode-Map-%{version} + + +%build +CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS" + + +%install +rm -rf $RPM_BUILD_ROOT +make install \ + PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \ + INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib} +find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ + -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check || : +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc COPYING Changes README +%{_bindir}/m* +%{perl_vendorarch}/auto/Unicode +%{perl_vendorarch}/Unicode +%{_mandir}/man[13]/*.[13]* + + +%changelog +* Mon Feb 2 2004 Ville Skyttä - 0:0.112-0.fdr.5 +- Reduce directory ownership bloat. + +* Sat Oct 11 2003 Ville Skyttä - 0:0.112-0.fdr.4 +- Install into vendor dirs. +- Specfile cleanup. + +* Mon Jul 7 2003 Ville Skyttä - 0:0.112-0.fdr.3 +- Regenerate %%install section with cpanflute2. +- Improve %%description. + +* Sun May 4 2003 Ville Skyttä - 0:0.112-0.fdr.2 +- Own more dirs. + +* Fri Mar 21 2003 Ville Skyttä - 0:0.112-0.fdr.1 +- Update to current Fedora guidelines. + +* Sun Mar 2 2003 Ville Skyttä - 0.112-1.fedora.1 +- First Fedora release. diff --git a/sources b/sources index e69de29..3b19d60 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +edaa8fc5ddf0e5d805e274283dd0625d Unicode-Map-0.112.tar.gz