Name: perl-Encode-EUCJPASCII Version: 0.03 Release: 46%{?dist} Summary: EucJP-ascii - An eucJP-open mapping License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Encode-EUCJPASCII Source0: https://cpan.metacpan.org/modules/by-module/Encode/Encode-EUCJPASCII-%{version}.tar.gz BuildRequires: make BuildRequires: gcc BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(File::Spec) BuildRequires: perl(Encode) BuildRequires: perl(XSLoader) BuildRequires: perl(base) BuildRequires: perl(Encode::CJKConstants) BuildRequires: perl(Encode::JP::JIS7) BuildRequires: perl-devel %if !0%{?el6} BuildRequires: perl-Encode-devel BuildRequires: perl-generators %endif %{?perl_default_filter} %description This module provides eucJP-ascii, one of eucJP-open mappings, and its derivative. %package tests Summary: Tests for %{name} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: perl-Test-Harness %description tests Tests from %{name}. Execute them with "%{_libexecdir}/%{name}/test". %prep %setup -q -n Encode-EUCJPASCII-%{version} # Help generators to recognize Perl scripts for F in t/*.t; do perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F" chmod +x "$F" done %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} $RPM_BUILD_ROOT/* # Install tests mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/%{name} cp -a t testin $RPM_BUILD_ROOT%{_libexecdir}/%{name} rm $RPM_BUILD_ROOT%{_libexecdir}/%{name}/t/pod.t cat > $RPM_BUILD_ROOT%{_libexecdir}/%{name}/test << 'EOF' #!/bin/sh cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" EOF chmod +x $RPM_BUILD_ROOT%{_libexecdir}/%{name}/test %check make test %files %doc Changes README %{perl_vendorarch}/* %exclude %dir %{perl_vendorarch}/auto/ %files tests %{_libexecdir}/%{name} %changelog * Thu Aug 08 2024 Troy Dawson - 0.03-46 - Bump release for Aug 2024 java mass rebuild * Fri Jul 12 2024 Jitka Plesnikova - 0.03-45 - Package tests * Mon Jun 24 2024 Troy Dawson - 0.03-44 - Bump release for June 2024 mass rebuild * Thu Jan 25 2024 Fedora Release Engineering - 0.03-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.03-42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.03-41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 0.03-40 - Perl 5.38 rebuild * Tue May 30 2023 Michal Josef Špaček - 0.03-39 - Update license to SPDX format * Fri Jan 20 2023 Fedora Release Engineering - 0.03-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.03-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 0.03-36 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.03-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.03-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.03-33 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.03-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.03-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.03-30 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.03-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.03-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.03-27 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.03-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.03-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.03-24 - Perl 5.28 rebuild * Mon Mar 05 2018 Petr Pisar - 0.03-23 - Add BR: perl-devel * Mon Feb 26 2018 Xavier Bachelot 0.03-22 - Add BR: gcc. - Clean up spec. * Thu Feb 08 2018 Fedora Release Engineering - 0.03-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.03-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.03-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.03-18 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.03-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.03-16 - Perl 5.24 rebuild * Thu Apr 28 2016 Xavier Bachelot 0.03-15 - Tweak BR: for /usr/bin/enc2xs. * Thu Feb 04 2016 Fedora Release Engineering - 0.03-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.03-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 05 2015 Jitka Plesnikova - 0.03-12 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 0.03-11 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.03-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.03-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.03-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Jul 18 2013 Petr Pisar - 0.03-7 - Perl 5.18 rebuild * Mon Feb 25 2013 Xavier Bachelot 0.03-6 - BR: perl-Encode-devel for enc2xs, FTBFS #914277. * Thu Feb 14 2013 Fedora Release Engineering - 0.03-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.03-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 0.03-3 - Perl 5.16 rebuild * Thu Jan 05 2012 Xavier Bachelot 0.03-2 - Follow the rpmdevtools perl spec template to fix packaging bugs. - Add missing implicit BuildRequires. * Tue Nov 29 2011 Xavier Bachelot 0.03-1 - Initial Fedora release.