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

Revision 8793, 3.5 KB checked in by Takemikaduchi, 10 years ago (diff)

libXi, libcdio, libusb1, qt4: new upstream release
others: rebuild

Line 
1%define PackageName gettext
2
3Name: perl-%{PackageName}
4Version: 1.05
5Release: 12%{?_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
11Patch0: perl-gettext-fix-conflict-posix.patch
12URL:    http://search.cpan.org/~pvandry/gettext/
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildRequires: gettext
16Requires:       gettext
17Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
18
19Obsoletes: perl-Locale-gettext <= 1.05
20
21Vendor: Project Vine
22Distribution: Vine Linux
23Packager: daisuke, inagaki, iwaim
24
25%description
26Perl module gettext - This module give acces to the C library functions
27for 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"
36make %{?_smp_mflags}
37
38%install
39rm -rf %{buildroot}
40make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
41find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
42find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
43find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
44chmod -R u+w $RPM_BUILD_ROOT/*
45
46%check
47unset LC_MESSAGES
48case "$LANG" in
49''|'C'|'POSIX' )
50  export LANG=en_US.UTF-8;;
51esac
52make test
53
54%clean
55rm -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
Note: See TracBrowser for help on using the repository browser.