|
|
6af621 |
%{?scl:%scl_package perl-Encode-Locale}
|
|
|
6af621 |
|
|
|
6af621 |
Name: %{?scl_prefix}perl-Encode-Locale
|
|
|
6af621 |
Version: 1.05
|
|
|
6af621 |
Release: 9%{?dist}
|
|
|
6af621 |
Summary: Determine the locale encoding
|
|
|
6af621 |
Group: Development/Libraries
|
|
|
6af621 |
License: GPL+ or Artistic
|
|
|
6af621 |
URL: http://search.cpan.org/dist/Encode-Locale/
|
|
|
6af621 |
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Encode-Locale-%{version}.tar.gz
|
|
|
6af621 |
BuildArch: noarch
|
|
|
6af621 |
BuildRequires: findutils
|
|
|
6af621 |
BuildRequires: make
|
|
|
6af621 |
BuildRequires: %{?scl_prefix}perl-interpreter
|
|
|
6af621 |
BuildRequires: %{?scl_prefix}perl-generators
|
|
|
6af621 |
BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker)
|
|
|
6af621 |
# Run-time:
|
|
|
6af621 |
BuildRequires: %{?scl_prefix}perl(base)
|
|
|
6af621 |
BuildRequires: %{?scl_prefix}perl(Encode) >= 2
|
|
|
6af621 |
BuildRequires: %{?scl_prefix}perl(Encode::Alias)
|
|
|
6af621 |
# Encode::HanExtra not used at tests, not yet packaged
|
|
|
6af621 |
BuildRequires: %{?scl_prefix}perl(Exporter)
|
|
|
6af621 |
BuildRequires: %{?scl_prefix}perl(strict)
|
|
|
6af621 |
BuildRequires: %{?scl_prefix}perl(warnings)
|
|
|
6af621 |
# Win32 not used on Linux
|
|
|
6af621 |
# Win32::API not used on Linux
|
|
|
6af621 |
# Win32::Console not used on Linux
|
|
|
6af621 |
# Recommended:
|
|
|
6af621 |
BuildRequires: %{?scl_prefix}perl(I18N::Langinfo)
|
|
|
6af621 |
# Tests only:
|
|
|
6af621 |
BuildRequires: %{?scl_prefix}perl(Test::More)
|
|
|
6af621 |
BuildRequires: %{?scl_prefix}perl(utf8)
|
|
|
6af621 |
Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
|
|
|
6af621 |
Requires: %{?scl_prefix}perl(Encode) >= 2
|
|
|
6af621 |
# Encode::HanExtra not yet packaged
|
|
|
6af621 |
# Recommended:
|
|
|
6af621 |
Requires: %{?scl_prefix}perl(I18N::Langinfo)
|
|
|
6af621 |
Requires: %{?scl_prefix}perl(warnings)
|
|
|
6af621 |
|
|
|
6af621 |
%{?perl_default_filter}
|
|
|
6af621 |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^%{?scl_prefix}perl\\(Encode\\)$
|
|
|
6af621 |
|
|
|
6af621 |
%description
|
|
|
6af621 |
In many applications it's wise to let Perl use Unicode for the strings
|
|
|
6af621 |
it processes. Most of the interfaces Perl has to the outside world is
|
|
|
6af621 |
still byte based. Programs therefore needs to decode byte strings
|
|
|
6af621 |
that enter the program from the outside and encode them again on the
|
|
|
6af621 |
way out.
|
|
|
6af621 |
|
|
|
6af621 |
%prep
|
|
|
6af621 |
%setup -q -n Encode-Locale-%{version}
|
|
|
6af621 |
|
|
|
6af621 |
%build
|
|
|
6af621 |
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
|
|
|
6af621 |
|
|
|
6af621 |
%install
|
|
|
6af621 |
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
|
|
|
6af621 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
6af621 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
6af621 |
|
|
|
6af621 |
%check
|
|
|
6af621 |
%{?scl:scl enable %{scl} '}make test%{?scl:'}
|
|
|
6af621 |
|
|
|
6af621 |
%files
|
|
|
6af621 |
%doc Changes README
|
|
|
6af621 |
%{perl_vendorlib}/Encode/
|
|
|
6af621 |
%{_mandir}/man3/Encode::Locale.3*
|
|
|
6af621 |
|
|
|
6af621 |
%changelog
|
|
|
6af621 |
* Mon Dec 18 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.05-9
|
|
|
6af621 |
- SCL
|
|
|
6af621 |
|
|
|
6af621 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.05-8
|
|
|
6af621 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
6af621 |
|
|
|
6af621 |
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.05-7
|
|
|
6af621 |
- Perl 5.26 rebuild
|
|
|
6af621 |
|
|
|
6af621 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.05-6
|
|
|
6af621 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
6af621 |
|
|
|
6af621 |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.05-5
|
|
|
6af621 |
- Perl 5.24 rebuild
|
|
|
6af621 |
|
|
|
6af621 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.05-4
|
|
|
6af621 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
6af621 |
|
|
|
6af621 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-3
|
|
|
6af621 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
6af621 |
|
|
|
6af621 |
* Thu Jun 11 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.05-2
|
|
|
6af621 |
- Perl 5.22 rebuild
|
|
|
6af621 |
|
|
|
6af621 |
* Wed Jun 10 2015 Petr Pisar <ppisar@redhat.com> - 1.05-1
|
|
|
6af621 |
- 1.05 bump
|
|
|
6af621 |
|
|
|
6af621 |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-2
|
|
|
6af621 |
- Perl 5.22 rebuild
|
|
|
6af621 |
|
|
|
6af621 |
* Fri Jan 23 2015 Petr Pisar <ppisar@redhat.com> - 1.04-1
|
|
|
6af621 |
- 1.04 bump
|
|
|
6af621 |
|
|
|
6af621 |
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-9
|
|
|
6af621 |
- Perl 5.20 rebuild
|
|
|
6af621 |
|
|
|
6af621 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-8
|
|
|
6af621 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
6af621 |
|
|
|
6af621 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-7
|
|
|
6af621 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
6af621 |
|
|
|
6af621 |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.03-6
|
|
|
6af621 |
- Perl 5.18 rebuild
|
|
|
6af621 |
|
|
|
6af621 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-5
|
|
|
6af621 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
6af621 |
|
|
|
6af621 |
* Wed Nov 21 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.03-4
|
|
|
6af621 |
- Filter duplicated requires.
|
|
|
6af621 |
|
|
|
6af621 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-3
|
|
|
6af621 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
6af621 |
|
|
|
6af621 |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.03-2
|
|
|
6af621 |
- Perl 5.16 rebuild
|
|
|
6af621 |
|
|
|
6af621 |
* Mon Feb 13 2012 Petr Pisar <ppisar@redhat.com> - 1.03-1
|
|
|
6af621 |
- 1.03 bump
|
|
|
6af621 |
|
|
|
6af621 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-5
|
|
|
6af621 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
6af621 |
|
|
|
6af621 |
* Mon Jun 27 2011 Petr Pisar <ppisar@redhat.com> - 1.02-4
|
|
|
6af621 |
- BuildRequire perl(base)
|
|
|
6af621 |
|
|
|
6af621 |
* Thu Jun 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.02-3
|
|
|
6af621 |
- Perl mass rebuild
|
|
|
6af621 |
|
|
|
6af621 |
* Thu May 26 2011 Petr Pisar <ppisar@redhat.com> - 1.02-2
|
|
|
6af621 |
- Remove explicit defattr
|
|
|
6af621 |
|
|
|
6af621 |
* Thu May 26 2011 Petr Pisar <ppisar@redhat.com> - 1.02-1
|
|
|
6af621 |
- 1.02 bump
|
|
|
6af621 |
|
|
|
6af621 |
* Wed Mar 16 2011 Petr Pisar <ppisar@redhat.com> - 1.01-1
|
|
|
6af621 |
- Spec file provided by Ville Skyttä
|
|
|
6af621 |
- BuildRoot stuff removed
|
|
|
6af621 |
- Dependencies adjusted
|