2008-05-29 20:20:39 +00:00
|
|
|
Name: perl-Encode-Detect
|
2009-11-12 19:49:58 +00:00
|
|
|
Version: 1.01
|
2022-07-22 05:29:46 +00:00
|
|
|
Release: 40%{?dist}
|
2008-05-29 20:20:39 +00:00
|
|
|
Summary: Encode::Encoding subclass that detects the encoding of data
|
|
|
|
|
|
|
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
2018-06-04 12:10:02 +00:00
|
|
|
URL: https://metacpan.org/release/Encode-Detect
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/J/JG/JGMYERS/Encode-Detect-%{version}.tar.gz
|
2008-05-29 20:20:39 +00:00
|
|
|
|
2016-06-24 07:26:39 +00:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl-generators
|
2008-05-29 20:20:39 +00:00
|
|
|
BuildRequires: perl(ExtUtils::CBuilder)
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
Requires: perl(Encode::Encoding)
|
|
|
|
|
|
|
|
%description
|
|
|
|
This Perl module is an Encode::Encoding subclass that uses
|
|
|
|
Encode::Detect::Detector to determine the charset of the input data and then
|
|
|
|
decodes it using the encoder of the detected charset.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Encode-Detect-%{version}
|
|
|
|
cat <<EOF >%{name}-req
|
|
|
|
#!/bin/sh
|
|
|
|
%{__perl_requires} $* |\
|
|
|
|
sed -e '/perl(base)/d'
|
|
|
|
EOF
|
|
|
|
%define __perl_requires %{_builddir}/Encode-Detect-%{version}/%{name}-req
|
|
|
|
%{__chmod} +x %{__perl_requires}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Build.PL installdirs=vendor optimize="${RPM_OPT_FLAGS}"
|
|
|
|
./Build
|
|
|
|
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
%install
|
|
|
|
./Build install destdir="${RPM_BUILD_ROOT}" create_packlist=0
|
|
|
|
find "${RPM_BUILD_ROOT}" -type f -name "*.bs" -size 0 -exec %{__rm} -f {} \;
|
|
|
|
find "${RPM_BUILD_ROOT}" -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
%{_fixperms} "${RPM_BUILD_ROOT}"/*
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes LICENSE
|
|
|
|
%{perl_vendorarch}/auto/Encode
|
|
|
|
%{perl_vendorarch}/Encode
|
|
|
|
%{_mandir}/man3/Encode::Detect.3*
|
|
|
|
%{_mandir}/man3/Encode::Detect::Detector.3*
|
|
|
|
|
|
|
|
%changelog
|
2022-07-22 05:29:46 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-40
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-05-31 06:16:03 +00:00
|
|
|
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-39
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
2022-01-21 01:24:20 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-38
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-22 20:05:00 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-37
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-05-21 20:37:38 +00:00
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-36
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
2021-01-27 01:06:55 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-35
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-28 15:24:43 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-34
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-23 09:02:52 +00:00
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-33
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
2020-01-29 23:55:40 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-32
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-26 02:41:39 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-31
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-05-31 05:16:24 +00:00
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-30
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
2019-02-01 20:26:41 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-29
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 17:12:03 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-28
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-28 05:25:01 +00:00
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-27
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
2018-02-08 20:54:10 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-26
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 05:15:54 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-25
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 03:46:04 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-24
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-04 18:56:17 +00:00
|
|
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-23
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
2017-02-11 02:53:07 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-22
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-05-14 20:04:57 +00:00
|
|
|
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-21
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
2016-02-04 13:28:03 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-20
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-18 02:54:09 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-05 09:12:32 +00:00
|
|
|
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-18
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2015-05-02 14:38:33 +00:00
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.01-17
|
|
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
|
2014-08-27 10:19:49 +00:00
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-16
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-08-17 16:13:09 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 03:48:46 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 20:22:57 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-17 15:53:26 +00:00
|
|
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.01-12
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-02-14 12:09:06 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 15:00:54 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-10 20:47:23 +00:00
|
|
|
* Sun Jun 10 2012 Petr Pisar <ppisar@redhat.com> - 1.01-9
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-01-13 13:37:06 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-06-17 18:25:26 +00:00
|
|
|
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.01-7
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-02-08 21:49:31 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-12-16 12:56:13 +00:00
|
|
|
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.01-5
|
|
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
|
2010-05-01 00:46:37 +00:00
|
|
|
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.01-4
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2010-04-30 14:58:18 +00:00
|
|
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.01-3
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2009-12-07 05:05:46 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.01-2
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-11-12 19:49:58 +00:00
|
|
|
* Thu Nov 12 2009 Warren Togami <wtogami@redhat.com> - 1.01-1
|
|
|
|
- 1.01 (no changes of consequence, only match latest upstream version)
|
|
|
|
|
2009-07-26 05:51:21 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 15:44:29 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-05-29 20:20:39 +00:00
|
|
|
* Sun Jan 20 2008 James Ralston <ralston@pobox.com> - 1.00-4
|
|
|
|
- remove test before rm -rf $RPM_BUILD_ROOT; rpm will prevent badness
|
|
|
|
|
|
|
|
* Wed Dec 19 2007 James Ralston <ralston@pobox.com> - 1.00-3
|
|
|
|
- the "Build test" step requires perl(Test::More) and perl(Data::Dump)
|
|
|
|
|
|
|
|
* Thu Oct 11 2007 James Ralston <ralston@pobox.com> - 1.00-2
|
|
|
|
- adjust static Requires
|
|
|
|
- filter erroneous auto-generated Requires in %%prep
|
|
|
|
|
|
|
|
* Wed Oct 10 2007 James Ralston <ralston@pobox.com> - 1.00-1
|
|
|
|
- specfile autogenerated by cpanspec 1.73.
|