1 | %define PackageName gettext |
---|
2 | |
---|
3 | Name: perl-%{PackageName} |
---|
4 | Version: 1.05 |
---|
5 | Release: 12%{?_dist_release} |
---|
6 | Summary: Interface to gettext family of functions |
---|
7 | |
---|
8 | Group: Development/Libraries |
---|
9 | License: GPL or Artistic |
---|
10 | Source: http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-%{version}.tar.gz |
---|
11 | Patch0: perl-gettext-fix-conflict-posix.patch |
---|
12 | URL: http://search.cpan.org/~pvandry/gettext/ |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildRequires: gettext |
---|
16 | Requires: gettext |
---|
17 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
18 | |
---|
19 | Obsoletes: perl-Locale-gettext <= 1.05 |
---|
20 | |
---|
21 | Vendor: Project Vine |
---|
22 | Distribution: Vine Linux |
---|
23 | Packager: daisuke, inagaki, iwaim |
---|
24 | |
---|
25 | %description |
---|
26 | Perl module gettext - This module give acces to the C library functions |
---|
27 | for internatialization gettext. |
---|
28 | |
---|
29 | |
---|
30 | %prep |
---|
31 | %setup -q -n %{PackageName}-%{version} |
---|
32 | %patch0 -p1 |
---|
33 | |
---|
34 | %build |
---|
35 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" |
---|
36 | make %{?_smp_mflags} |
---|
37 | |
---|
38 | %install |
---|
39 | rm -rf %{buildroot} |
---|
40 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
41 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
42 | find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' |
---|
43 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
44 | chmod -R u+w $RPM_BUILD_ROOT/* |
---|
45 | |
---|
46 | %check |
---|
47 | unset LC_MESSAGES |
---|
48 | case "$LANG" in |
---|
49 | ''|'C'|'POSIX' ) |
---|
50 | export LANG=en_US.UTF-8;; |
---|
51 | esac |
---|
52 | make test |
---|
53 | |
---|
54 | %clean |
---|
55 | rm -rf %{buildroot} |
---|
56 | |
---|
57 | |
---|
58 | %files |
---|
59 | %defattr(-,root,root,-) |
---|
60 | %doc README |
---|
61 | %{perl_vendorarch}/auto/Locale |
---|
62 | %{perl_vendorarch}/Locale |
---|
63 | %{_mandir}/man3/*.3* |
---|
64 | |
---|
65 | |
---|
66 | %changelog |
---|
67 | * Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.05-12 |
---|
68 | - rebuild with perl-5.16.3 |
---|
69 | |
---|
70 | * Thu Apr 28 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.05-11 |
---|
71 | - add patch0 from http://rt.cpan.org/Public/Bug/Display.html?id=35680 |
---|
72 | - add Vendor, Distribution and Packager tag. |
---|
73 | |
---|
74 | * Sat Mar 26 2011 IWAI, Masaharu <iwai@alib.jp> 1.05-10vl6 |
---|
75 | - rebuild with perl 5.12.3 |
---|
76 | |
---|
77 | * Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.05-9 |
---|
78 | - rebuild with perl-5.10 |
---|
79 | - new versioning policy |
---|
80 | |
---|
81 | * Sat Sep 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.05-8vl1 |
---|
82 | - new upstream release |
---|
83 | |
---|
84 | * Sun Jan 2 2005 IWAI, Masaharu <iwai@alib.jp> 1.03-0vl2 |
---|
85 | - build on perl-5.8.6-0vl1 |
---|
86 | - update URL |
---|
87 | |
---|
88 | * Sun Sep 26 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.03-0vl1 |
---|
89 | - new upstream release |
---|
90 | - changed Group: and URL: |
---|
91 | - added Prereq: gettext |
---|
92 | - moved perllocal.pod to docdir |
---|
93 | - rebuild with perl 5.8.2 |
---|
94 | |
---|
95 | * Tue Oct 7 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.01-14vl2 |
---|
96 | - rebuild to remove dependancy at i386 |
---|
97 | - rebuild with perl 5.8.1 |
---|
98 | |
---|
99 | * Tue Nov 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.01-14vl1 |
---|
100 | - build for Vine Linux |
---|
101 | |
---|
102 | * Sun Nov 11 2001 Magic Bumper <dist@conectiva.com.br> |
---|
103 | + perl-%{PackageName}-1.01-14cl |
---|
104 | - rebuilt against current perl version |
---|
105 | |
---|
106 | * Fri Mar 02 2001 Rodrigo Barbosa <rodrigob@conectiva.com> |
---|
107 | + perl-gettext-1.01-13cl |
---|
108 | - Removing macros from changelog |
---|
109 | |
---|
110 | * Thu Dec 07 2000 Rodrigo Barbosa <rodrigob@conectiva.com> |
---|
111 | - Added AutoProv: no |
---|
112 | |
---|
113 | * Tue Oct 31 2000 Raul Dias <rsd@conectiva.com> |
---|
114 | - Changed perl from "Requires:" to "Prereq:". |
---|
115 | |
---|
116 | * Sat Oct 28 2000 Raul Dias <rsd@conectiva.com> |
---|
117 | - Updated spec file |
---|
118 | - eliminate sed use |
---|
119 | |
---|
120 | * Fri Sep 29 2000 Raul Dias <rsd@conectiva.com> |
---|
121 | - Updated spec file |
---|
122 | |
---|
123 | * Tue Jun 06 2000 Raul Dias <rsd@conectiva.com> |
---|
124 | - Fixed instalation without %%doc |
---|
125 | |
---|
126 | * Mon May 22 2000 Raul Dias <rsd@conectiva.com.br> |
---|
127 | - New spec allow compiling with perl version 5.00503 and >= 5.6.0 |
---|
128 | |
---|
129 | * Fri May 05 2000 Raul Dias <rsd@conectiva.com> |
---|
130 | - New spec format |
---|
131 | |
---|
132 | * Fri Mar 10 2000 Raul Dias <rsd@conectiva.com.br> |
---|
133 | - first build |
---|
134 | |
---|