/[packages]/cauldron/perl-libintl-perl/current/SPECS/perl-libintl-perl.spec
ViewVC logotype

Contents of /cauldron/perl-libintl-perl/current/SPECS/perl-libintl-perl.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 632842 - (show annotations) (download)
Wed Jun 4 13:11:42 2014 UTC (9 years, 10 months ago) by guillomovitch
File size: 1691 byte(s)
rebuild for new perl
1 %define upstream_name libintl-perl
2 %define upstream_version 1.23
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 3
7
8 Summary: A localization library for Perl
9 License: LGPL
10 Group: Development/Perl
11 Url: http://search.cpan.org/dist/%{upstream_name}
12 Source0: http://www.cpan.org/authors/id/G/GU/GUIDO/%{upstream_name}-%{upstream_version}.tar.gz
13
14 BuildRequires: perl(ExtUtils::MakeMaker)
15 BuildRequires: perl(File::Spec)
16 BuildRequires: perl(version) >= 0.770.0
17 BuildRequires: db4-devel
18 BuildRequires: gdbm-devel
19 BuildRequires: gettext-devel
20 BuildRequires: perl-devel
21 #gw yes, this is required by the tests
22 BuildRequires: locales-de
23 %description
24 libintl-perl is a library that supports message translation for
25 Perl, written in pure Perl (version 5.004 or better). A faster C
26 version is also built and installed if the system fulfills all
27 requirements. Its interface is very similar to the gettext family
28 of functions in C, and it uses the same file formats as GNU
29 gettext, making it possible to use all tools available for gettext
30 itself and to seamlessly integrate internationalized Perl code
31 into mixed-language projects. An alternative library with a
32 similar purpose is available as Locale::MakeText.
33
34 %prep
35 %setup -q -n %{upstream_name}-%{upstream_version}
36
37 %build
38 %{__perl} Makefile.PL INSTALLDIRS=vendor
39 %make
40
41 %check
42 %{__make} test
43
44 %install
45 %makeinstall_std
46 # fix attribs
47 find %{buildroot}%{perl_vendorlib} -name "*.pm" | xargs chmod 755
48
49 %files
50 %doc ChangeLog FAQ META.json META.yml MYMETA.yml NEWS README REFERENCES THANKS TODO sample
51 %{perl_vendorlib}/Locale
52 %{perl_vendorarch}/auto/Locale
53 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.30