OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Encode-HanExtra?expand=0&rev=1
This commit is contained in:
commit
6f086f7f2b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
Encode-HanExtra-0.10.tar.bz2
Normal file
3
Encode-HanExtra-0.10.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d93040adbec13648ee56ce20a001a5b3532f8e795a8dbfed5cf2c8d8d07cd038
|
||||||
|
size 1043757
|
11
Encode-HanExtra.patch
Normal file
11
Encode-HanExtra.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -ru Encode-HanExtra-0.07.orig/Makefile.PL Encode-HanExtra-0.07/Makefile.PL
|
||||||
|
--- Encode-HanExtra-0.07.orig/Makefile.PL 2002-10-17 13:13:44.000000000 +0200
|
||||||
|
+++ Encode-HanExtra-0.07/Makefile.PL 2003-05-09 17:07:54.000000000 +0200
|
||||||
|
@@ -67,7 +67,6 @@
|
||||||
|
SUFFIX => 'gz',
|
||||||
|
DIST_DEFAULT => 'all tardist',
|
||||||
|
},
|
||||||
|
- MAN3PODS => {},
|
||||||
|
PREREQ_PM => {
|
||||||
|
'Encode' => "1.41",
|
||||||
|
},
|
63
perl-Encode-HanExtra.changes
Normal file
63
perl-Encode-HanExtra.changes
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:39:39 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 02 14:39:07 CEST 2005 - mfabian@suse.de
|
||||||
|
|
||||||
|
- update to 0.10.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 10 20:10:19 CET 2004 - adrian@suse.de
|
||||||
|
|
||||||
|
- build as user
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 13 17:56:30 CEST 2003 - mfabian@suse.de
|
||||||
|
|
||||||
|
- add "Prereq: /usr/bin/enc2xs", thanks to
|
||||||
|
Andreas Jaeger <aj@suse.de> for noticing the omission.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 29 12:25:40 CEST 2003 - mfabian@suse.de
|
||||||
|
|
||||||
|
- redirect stdout and stderr of "enc2xs -C" to /dev/null.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 22 14:44:44 CEST 2003 - mjancar@suse.cz
|
||||||
|
|
||||||
|
- require the perl version we build with
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 16 13:08:44 CEST 2003 - mfabian@suse.de
|
||||||
|
|
||||||
|
- use vendorarch instead of sitearch.
|
||||||
|
- simplify file list.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 15 13:07:41 CEST 2003 - mfabian@suse.de
|
||||||
|
|
||||||
|
- fix "directory now owned by any package".
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 25 23:54:12 CEST 2003 - ro@suse.de
|
||||||
|
|
||||||
|
- remove unpackaged files from buildroot
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 16 18:31:15 CEST 2003 - mfabian@suse.de
|
||||||
|
|
||||||
|
- remove perllocal.pod from buildroot.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 12 16:11:10 CEST 2003 - mfabian@suse.de
|
||||||
|
|
||||||
|
- use "enc2xs -C" in %post and %postun to register/unregister
|
||||||
|
the new encodings in the on demand-loading list.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 9 18:46:00 CEST 2003 - mfabian@suse.de
|
||||||
|
|
||||||
|
- new package: perl-Encode-HanExtra-0.07
|
||||||
|
- fix installation of man-page
|
107
perl-Encode-HanExtra.spec
Normal file
107
perl-Encode-HanExtra.spec
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-Encode-HanExtra (Version 0.10)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
# This file and all modifications and additions to the pristine
|
||||||
|
# package are under the same license as the package itself.
|
||||||
|
#
|
||||||
|
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
Name: perl-Encode-HanExtra
|
||||||
|
License: Artistic License
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
Prereq: /usr/bin/enc2xs
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
Autoreqprov: on
|
||||||
|
Version: 0.10
|
||||||
|
Release: 1
|
||||||
|
URL: http://search.cpan.org/~autrijus/Encode-HanExtra-0.10/
|
||||||
|
# Original Source is gzipped.
|
||||||
|
Source0: http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/Encode-HanExtra-0.10.tar.bz2
|
||||||
|
Patch0: Encode-HanExtra.patch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Summary: Extra sets of Chinese encodings
|
||||||
|
|
||||||
|
%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>
|
||||||
|
|
||||||
|
%define __find_provides /usr/lib/rpm/find-provides
|
||||||
|
%define __find_requires /usr/lib/rpm/find-requires
|
||||||
|
%prep
|
||||||
|
%setup -q -n Encode-HanExtra-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
||||||
|
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
|
||||||
|
#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
|
%changelog -n perl-Encode-HanExtra
|
||||||
|
* Wed Jan 25 2006 - mls@suse.de
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
* Tue Aug 02 2005 - mfabian@suse.de
|
||||||
|
- update to 0.10.
|
||||||
|
* Sat Jan 10 2004 - adrian@suse.de
|
||||||
|
- build as user
|
||||||
|
* Sat Sep 13 2003 - mfabian@suse.de
|
||||||
|
- add "Prereq: /usr/bin/enc2xs", thanks to
|
||||||
|
Andreas Jaeger <aj@suse.de> for noticing the omission.
|
||||||
|
* Fri Aug 29 2003 - mfabian@suse.de
|
||||||
|
- redirect stdout and stderr of "enc2xs -C" to /dev/null.
|
||||||
|
* Fri Aug 22 2003 - mjancar@suse.cz
|
||||||
|
- require the perl version we build with
|
||||||
|
* Wed Jul 16 2003 - mfabian@suse.de
|
||||||
|
- use vendorarch instead of sitearch.
|
||||||
|
- simplify file list.
|
||||||
|
* Sun Jun 15 2003 - mfabian@suse.de
|
||||||
|
- fix "directory now owned by any package".
|
||||||
|
* Sun May 25 2003 - ro@suse.de
|
||||||
|
- remove unpackaged files from buildroot
|
||||||
|
* Fri May 16 2003 - mfabian@suse.de
|
||||||
|
- remove perllocal.pod from buildroot.
|
||||||
|
* Mon May 12 2003 - mfabian@suse.de
|
||||||
|
- use "enc2xs -C" in %%post and %%postun to register/unregister
|
||||||
|
the new encodings in the on demand-loading list.
|
||||||
|
* Fri May 09 2003 - mfabian@suse.de
|
||||||
|
- new package: perl-Encode-HanExtra-0.07
|
||||||
|
- fix installation of man-page
|
Loading…
Reference in New Issue
Block a user