[1133] | 1 | Name: perl-Encode-Locale
|
---|
| 2 | Version: 1.05
|
---|
| 3 | Release: 1%{?dist}
|
---|
| 4 | Summary: Determine the locale encoding
|
---|
| 5 | Group: Development/Libraries
|
---|
| 6 | License: GPL+ or Artistic
|
---|
| 7 | URL: http://search.cpan.org/dist/Encode-Locale/
|
---|
| 8 | Vendor: bww bitwise works GmbH
|
---|
| 9 | Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Encode-Locale-%{version}.tar.gz
|
---|
| 10 | BuildArch: noarch
|
---|
| 11 | BuildRequires: findutils
|
---|
| 12 | BuildRequires: make
|
---|
| 13 | BuildRequires: perl
|
---|
| 14 | BuildRequires: perl-generators
|
---|
| 15 | BuildRequires: perl(ExtUtils::MakeMaker)
|
---|
| 16 | # Run-time:
|
---|
| 17 | BuildRequires: perl(base)
|
---|
| 18 | BuildRequires: perl(Encode) >= 2
|
---|
| 19 | BuildRequires: perl(Encode::Alias)
|
---|
| 20 | # Encode::HanExtra not used at tests, not yet packaged
|
---|
| 21 | BuildRequires: perl(Exporter)
|
---|
| 22 | BuildRequires: perl(strict)
|
---|
| 23 | BuildRequires: perl(warnings)
|
---|
| 24 | # Win32 not used on Linux
|
---|
| 25 | # Win32::API not used on Linux
|
---|
| 26 | # Win32::Console not used on Linux
|
---|
| 27 | # Recommended:
|
---|
| 28 | BuildRequires: perl(I18N::Langinfo)
|
---|
| 29 | # Tests only:
|
---|
| 30 | #BuildRequires: perl(Test::More)
|
---|
| 31 | BuildRequires: perl(utf8)
|
---|
| 32 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
---|
| 33 | Requires: perl(Encode) >= 2
|
---|
| 34 | # Encode::HanExtra not yet packaged
|
---|
| 35 | # Recommended:
|
---|
| 36 | Requires: perl(I18N::Langinfo)
|
---|
| 37 | Requires: perl(warnings)
|
---|
| 38 |
|
---|
| 39 | %{?perl_default_filter}
|
---|
| 40 | %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Encode\\)$
|
---|
| 41 |
|
---|
| 42 | %description
|
---|
| 43 | In many applications it's wise to let Perl use Unicode for the strings
|
---|
| 44 | it processes. Most of the interfaces Perl has to the outside world is
|
---|
| 45 | still byte based. Programs therefore needs to decode byte strings
|
---|
| 46 | that enter the program from the outside and encode them again on the
|
---|
| 47 | way out.
|
---|
| 48 |
|
---|
| 49 | %prep
|
---|
| 50 | %setup -q -n Encode-Locale-%{version}
|
---|
| 51 |
|
---|
| 52 | %build
|
---|
| 53 | perl Makefile.PL INSTALLDIRS=vendor
|
---|
| 54 | make %{?_smp_mflags}
|
---|
| 55 | make manifypods
|
---|
| 56 |
|
---|
| 57 | %install
|
---|
| 58 | make pure_install DESTDIR=$RPM_BUILD_ROOT
|
---|
| 59 | find $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
|
---|