source: spec/trunk/SPECS/perl-Encode-Locale.spec@ 1566

Last change on this file since 1566 was 1133, checked in by Silvan Scherrer, 8 years ago

spec: perl-Encode-Locale: Release version 1.05-1.

File size: 2.2 KB
Line 
1Name: perl-Encode-Locale
2Version: 1.05
3Release: 1%{?dist}
4Summary: Determine the locale encoding
5Group: Development/Libraries
6License: GPL+ or Artistic
7URL: http://search.cpan.org/dist/Encode-Locale/
8Vendor: bww bitwise works GmbH
9Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Encode-Locale-%{version}.tar.gz
10BuildArch: noarch
11BuildRequires: findutils
12BuildRequires: make
13BuildRequires: perl
14BuildRequires: perl-generators
15BuildRequires: perl(ExtUtils::MakeMaker)
16# Run-time:
17BuildRequires: perl(base)
18BuildRequires: perl(Encode) >= 2
19BuildRequires: perl(Encode::Alias)
20# Encode::HanExtra not used at tests, not yet packaged
21BuildRequires: perl(Exporter)
22BuildRequires: perl(strict)
23BuildRequires: perl(warnings)
24# Win32 not used on Linux
25# Win32::API not used on Linux
26# Win32::Console not used on Linux
27# Recommended:
28BuildRequires: perl(I18N::Langinfo)
29# Tests only:
30#BuildRequires: perl(Test::More)
31BuildRequires: perl(utf8)
32Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
33Requires: perl(Encode) >= 2
34# Encode::HanExtra not yet packaged
35# Recommended:
36Requires: perl(I18N::Langinfo)
37Requires: perl(warnings)
38
39%{?perl_default_filter}
40%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Encode\\)$
41
42%description
43In many applications it's wise to let Perl use Unicode for the strings
44it processes. Most of the interfaces Perl has to the outside world is
45still byte based. Programs therefore needs to decode byte strings
46that enter the program from the outside and encode them again on the
47way out.
48
49%prep
50%setup -q -n Encode-Locale-%{version}
51
52%build
53perl Makefile.PL INSTALLDIRS=vendor
54make %{?_smp_mflags}
55make manifypods
56
57%install
58make pure_install DESTDIR=$RPM_BUILD_ROOT
59find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
60%{_fixperms} $RPM_BUILD_ROOT/*
61
62%check
63#make test
64
65%files
66%doc Changes README
67%{perl_vendorlib}/Encode/
68%{_mandir}/man3/Encode.Locale.3*
69
70%changelog
71* Mon May 08 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> - 1.05-1
72- initial version
Note: See TracBrowser for help on using the repository browser.