/[smeserver]/rpms/perl-I18N-AcceptLanguage/sme10/perl-I18N-AcceptLanguage.spec
ViewVC logotype

Annotation of /rpms/perl-I18N-AcceptLanguage/sme10/perl-I18N-AcceptLanguage.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Mar 17 20:24:34 2016 UTC (8 years, 7 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-I18N-AcceptLanguage-1_04-1_el7_sme, HEAD
Import perl-I18N-AcceptLanguage in CVS

1 vip-ire 1.1 Name: perl-I18N-AcceptLanguage
2     Version: 1.04
3     Release: 1%{?dist}
4     Summary: Matches language preference to available languages
5     License: Artistic
6     Group: Development/Libraries
7     URL: http://search.cpan.org/dist/I18N-AcceptLanguage/
8     Source0: http://www.cpan.org/authors/id/C/CG/CGILMORE/I18N-AcceptLanguage-%{version}.tar.gz
9     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10     BuildArch: noarch
11     BuildRequires: perl(ExtUtils::MakeMaker)
12     BuildRequires: perl(Test::More) >= 0.45
13     Requires: perl(Test::More) >= 0.45
14     Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
15    
16     %description
17     I18N::AcceptLanguage matches language preference to available languages per
18     rules defined in RFC 2616, section 14.4: HTTP/1.1 - Header Field
19     Definitions - Accept-Language.
20    
21     %prep
22     %setup -q -n I18N-AcceptLanguage-%{version}
23    
24     %build
25     %{__perl} Makefile.PL INSTALLDIRS=vendor
26     make %{?_smp_mflags}
27    
28     %install
29     rm -rf $RPM_BUILD_ROOT
30    
31     make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
32    
33     find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
34     find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
35    
36     %{_fixperms} $RPM_BUILD_ROOT/*
37    
38     %check
39     make test
40    
41     %clean
42     rm -rf $RPM_BUILD_ROOT
43    
44     %files
45     %defattr(-,root,root,-)
46     %doc Changes
47     %{perl_vendorlib}/*
48     %{_mandir}/man3/*
49    
50     %changelog
51     * Thu Mar 17 2016 Daniel Berteaud <daniel@firewall-services.com> 1.04-1
52     - First build using cpanspec [SME: 9325]

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed