source: projects/specs/trunk/p/perl-gettext/perl-gettext-vl.spec @ 12121

Revision 12121, 3.5 KB checked in by tomop, 5 years ago (diff)

Merge branch 'tomop'

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