Name: perl-MARC-Record Version: 2.0.7 Release: 21%{?dist} Summary: Object-oriented abstraction of MARC record handling License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/MARC-Record Source0: https://cpan.metacpan.org/authors/id/G/GM/GMCHARLT/MARC-Record-%{version}.tar.gz BuildArch: noarch BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) # Run-time BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Encode) BuildRequires: perl(Exporter) BuildRequires: perl(Getopt::Long) BuildRequires: perl(integer) BuildRequires: perl(vars) BuildRequires: perl(warnings) # Tests BuildRequires: perl(Data::Dumper) BuildRequires: perl(File::Spec) BuildRequires: perl(IO::File) BuildRequires: perl(Test::More) # Optional tests BuildRequires: perl(Test::Pod) >= 1.14 BuildRequires: perl(Test::Pod::Coverage) >= 1.04 %description The MARC::* series of modules create a simple object-oriented abstraction of MARC record handling. %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 MARC-Record-%{version} chmod -c 644 lib/MARC/*.pm # Help generators to recognize Perl scripts for F in t/*.t; do perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' "$F" chmod +x "$F" done %build %{__perl} Makefile.PL INSTALLDIRS=vendor 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 -depth -type d -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* # Install tests mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -a t %{buildroot}%{_libexecdir}/%{name} cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' #!/bin/sh cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" EOF chmod +x %{buildroot}%{_libexecdir}/%{name}/test %check make test %files %doc Changes README %{_bindir}/* %{perl_vendorlib}/MARC/ %{_mandir}/man1/*.1* %{_mandir}/man3/*.3pm* %files tests %{_libexecdir}/%{name} %changelog * Thu Jan 25 2024 Fedora Release Engineering - 2.0.7-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 2.0.7-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Nov 22 2023 Michal Josef Špaček - 2.0.7-19 - Package tests - Update license to SPDX format * Thu Jul 20 2023 Fedora Release Engineering - 2.0.7-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 2.0.7-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 2.0.7-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 2.0.7-15 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 2.0.7-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 2.0.7-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 2.0.7-12 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 2.0.7-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 2.0.7-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 2.0.7-9 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 2.0.7-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 2.0.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 2.0.7-6 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 2.0.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 2.0.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 2.0.7-3 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 2.0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Aug 11 2017 Jitka Plesnikova - 2.0.7-1 - 2.0.7 bump * Thu Jul 27 2017 Fedora Release Engineering - 2.0.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 2.0.6-9 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.0.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 2.0.6-7 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 2.0.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 2.0.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 05 2015 Jitka Plesnikova - 2.0.6-4 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 2.0.6-3 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 2.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Jan 20 2014 Dan Scott - 2.0.6-1 - Update to 2.0.6. * Sat Aug 03 2013 Fedora Release Engineering - 2.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Jul 20 2013 Petr Pisar - 2.0.5-1 - 2.0.5 bump * Fri Jul 19 2013 Petr Pisar - 2.0.4-2 - Perl 5.18 rebuild * Sun Feb 10 2013 Dan Scott - 2.0.4-1 - Update to 2.0.4. * Fri Jul 20 2012 Fedora Release Engineering - 2.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jun 28 2012 Petr Pisar - 2.0.3-2 - Perl 5.16 rebuild * Thu Jun 14 2012 Dan Scott - 2.0.3-1 - Update to 2.0.3. - To match current packaging guidelines, remove clean section and BuildRoot. - Install to DESTDIR. Add explicit BuildRequires. * Tue Jun 12 2012 Petr Pisar - 2.0.0-12 - Perl 5.16 rebuild - Specify all dependencies * Fri Jan 13 2012 Fedora Release Engineering - 2.0.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jun 20 2011 Marcela Mašláňová - 2.0.0-10 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 2.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Dec 20 2010 Marcela Maslanova - 2.0.0-8 - 661697 rebuild for fixing problems with vendorach/lib * Mon May 03 2010 Marcela Maslanova - 2.0.0-7 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 2.0.0-6 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Nov 20 2008 Tom "spot" Callaway - 2.0.0-3 - fix source url * Thu Mar 06 2008 Tom "spot" Callaway - 2.0.0-2 Rebuild for new perl * Tue Jan 30 2007 Jose Pedro Oliveira - 2.0.0-1 - Update to 2.0.0. * Wed Sep 13 2006 Jose Pedro Oliveira - 1.38-1 - First build.