2007-01-15 23:30:28 +00:00
|
|
|
#
|
2007-11-13 20:28:09 +00:00
|
|
|
# spec file for package perl-Encode-HanExtra (Version 0.23)
|
2007-01-15 23:30:28 +00:00
|
|
|
#
|
2009-06-18 15:02:32 +00:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:28 +00:00
|
|
|
#
|
2009-06-18 15:02:32 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-11-13 20:28:09 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:30:28 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-18 15:02:32 +00:00
|
|
|
|
2007-11-13 20:28:09 +00:00
|
|
|
Name: perl-Encode-HanExtra
|
|
|
|
License: X11/MIT
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
PreReq: /usr/bin/enc2xs
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
AutoReqProv: on
|
|
|
|
Version: 0.23
|
2009-06-18 15:02:32 +00:00
|
|
|
Release: 59
|
2007-11-13 20:28:09 +00:00
|
|
|
Url: http://search.cpan.org/~autrijus/Encode-HanExtra-0.23/
|
2007-01-15 23:30:28 +00:00
|
|
|
# Original Source is gzipped.
|
2007-11-13 20:28:09 +00:00
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/Encode-HanExtra-0.23.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Summary: Extra sets of Chinese encodings
|
2007-01-15 23:30:28 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Perl 5.7.3 and later ships with an adequate set of Chinese encodings,
|
|
|
|
including the most used CP950, CP936 (also known as GBK), Big5,
|
|
|
|
Big5-HKSCS, EUC-CN, HZ, and ISO-IR-165.
|
|
|
|
|
|
|
|
However, the numbers of Chinese encodings are staggering, and a
|
|
|
|
complete coverage will easily increase the size of perl distribution by
|
|
|
|
several megabytes; hence, this CPAN module tries to provide the rest of
|
|
|
|
them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Autrijus Tang <autrijus@autrijus.org>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Encode-HanExtra-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -d $RPM_BUILD_ROOT/%{perl_archlib}
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%post
|
|
|
|
enc2xs -C >/dev/null 2>&1
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 == 0 ] ; then
|
|
|
|
enc2xs -C >/dev/null 2>&1
|
|
|
|
fi
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes MANIFEST README*
|
|
|
|
%{_mandir}/man3/*.3pm.gz
|
|
|
|
%{perl_vendorarch}/Encode/
|
|
|
|
%{perl_vendorarch}/auto/Encode/
|
|
|
|
/var/adm/perl-modules/perl-Encode-HanExtra
|
2009-06-18 15:02:32 +00:00
|
|
|
|
2007-11-13 20:28:09 +00:00
|
|
|
%changelog
|
2009-06-18 15:02:32 +00:00
|
|
|
* Mon Nov 12 2007 mfabian@suse.de
|
2007-11-13 20:28:09 +00:00
|
|
|
- update to 0.23.
|
|
|
|
• Split .ucm files into several object files, so enc2xs will no longer
|
|
|
|
take absurd amount of memory.
|
|
|
|
Reported by: David Cantrell
|
|
|
|
• Add Big5-2003, the newest incarnation of Big5 and a Taiwanese national
|
|
|
|
standard (as an appendix to CNS11643).
|
|
|
|
• Oops, the CCCII map was broken. So sowwy. :-/
|
|
|
|
Reported by: CPAN Testers.
|
|
|
|
• LICENSING CHANGE: This compilation and all individual files in it
|
|
|
|
are now under the permissive "MIT" license. See the COPYRIGHT
|
|
|
|
section in README for the new terms.
|
|
|
|
• CCCII: Revised, using table supplied by the Koha Taiwan project.
|
|
|
|
• GB18030: Removed invalid Unicode codepoints.
|
|
|
|
• Build system upgraded from ExtUtils::MakeMaker to Module::Install.
|
2009-06-18 15:02:32 +00:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:30:28 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-18 15:02:32 +00:00
|
|
|
* Tue Aug 02 2005 mfabian@suse.de
|
2007-01-15 23:30:28 +00:00
|
|
|
- update to 0.10.
|
2009-06-18 15:02:32 +00:00
|
|
|
* Sat Jan 10 2004 adrian@suse.de
|
2007-01-15 23:30:28 +00:00
|
|
|
- build as user
|
2009-06-18 15:02:32 +00:00
|
|
|
* Sat Sep 13 2003 mfabian@suse.de
|
2007-01-15 23:30:28 +00:00
|
|
|
- add "Prereq: /usr/bin/enc2xs", thanks to
|
|
|
|
Andreas Jaeger <aj@suse.de> for noticing the omission.
|
2009-06-18 15:02:32 +00:00
|
|
|
* Fri Aug 29 2003 mfabian@suse.de
|
2007-01-15 23:30:28 +00:00
|
|
|
- redirect stdout and stderr of "enc2xs -C" to /dev/null.
|
2009-06-18 15:02:32 +00:00
|
|
|
* Fri Aug 22 2003 mjancar@suse.cz
|
2007-01-15 23:30:28 +00:00
|
|
|
- require the perl version we build with
|
2009-06-18 15:02:32 +00:00
|
|
|
* Wed Jul 16 2003 mfabian@suse.de
|
2007-01-15 23:30:28 +00:00
|
|
|
- use vendorarch instead of sitearch.
|
|
|
|
- simplify file list.
|
2009-06-18 15:02:32 +00:00
|
|
|
* Sun Jun 15 2003 mfabian@suse.de
|
2007-01-15 23:30:28 +00:00
|
|
|
- fix "directory now owned by any package".
|
2009-06-18 15:02:32 +00:00
|
|
|
* Sun May 25 2003 ro@suse.de
|
2007-01-15 23:30:28 +00:00
|
|
|
- remove unpackaged files from buildroot
|
2009-06-18 15:02:32 +00:00
|
|
|
* Fri May 16 2003 mfabian@suse.de
|
2007-01-15 23:30:28 +00:00
|
|
|
- remove perllocal.pod from buildroot.
|
2009-06-18 15:02:32 +00:00
|
|
|
* Mon May 12 2003 mfabian@suse.de
|
2007-01-15 23:30:28 +00:00
|
|
|
- use "enc2xs -C" in %%post and %%postun to register/unregister
|
|
|
|
the new encodings in the on demand-loading list.
|
2009-06-18 15:02:32 +00:00
|
|
|
* Fri May 09 2003 mfabian@suse.de
|
2007-01-15 23:30:28 +00:00
|
|
|
- new package: perl-Encode-HanExtra-0.07
|
|
|
|
- fix installation of man-page
|