Name: perl-Date-Calc-XS Version: 6.4 Release: 30%{?dist} Summary: XS wrapper and C library plug-in for Date::Calc License: LGPL-2.0-or-later AND ( GPL-1.0-or-later OR Artistic-1.0-Perl ) URL: https://metacpan.org/release/Date-Calc-XS Source0: https://cpan.metacpan.org/modules/by-module/Date/Date-Calc-XS-%{version}.tar.gz BuildRequires: coreutils BuildRequires: findutils # glibc-common contains the iconv binary BuildRequires: gcc BuildRequires: glibc-common BuildRequires: make BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Bit::Vector) >= 7.1 BuildRequires: perl(bytes) BuildRequires: perl(Carp::Clan) >= 6.01 BuildRequires: perl(Config) BuildRequires: perl(Date::Calc) >= 6.3 BuildRequires: perl(Date::Calc::Object) BuildRequires: perl(Date::Calendar) BuildRequires: perl(Date::Calendar::Profiles) BuildRequires: perl(Date::Calendar::Year) BuildRequires: perl(DynaLoader) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(vars) %description Date::Calc::XS is a XS wrapper and C library plug-in for Date::Calc %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 Date-Calc-XS-%{version} iconv --from=ISO-8859-1 --to=UTF-8 CREDITS.txt >CREDITS.fixed mv CREDITS.fixed CREDITS.txt # 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="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} find %{buildroot} -type f -name '*.bs' -empty -delete %{_fixperms} %{buildroot}/* # 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 export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}') make test %files %license license %doc CHANGES.txt README.txt CREDITS.txt %{perl_vendorarch}/auto/Date* %{perl_vendorarch}/Date/Calc* %{_mandir}/man3/Date::Calc* %files tests %{_libexecdir}/%{name} %changelog * Thu Jul 18 2024 Fedora Release Engineering - 6.4-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jun 10 2024 Jitka Plesnikova - 6.4-29 - Perl 5.40 rebuild * Thu Jan 25 2024 Fedora Release Engineering - 6.4-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 6.4-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Sep 13 2023 Jitka Plesnikova - 6.4-26 - Package tests - Update license to SPDX format * Thu Jul 20 2023 Fedora Release Engineering - 6.4-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 6.4-24 - Perl 5.38 rebuild * Fri Jan 20 2023 Fedora Release Engineering - 6.4-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 6.4-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 6.4-21 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 6.4-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 6.4-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 6.4-18 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 6.4-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 6.4-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 6.4-15 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 6.4-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 6.4-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 6.4-12 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 6.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 6.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 6.4-9 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 6.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 6.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 6.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 6.4-5 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 6.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 6.4-3 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 6.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 25 2015 Jitka Plesnikova - 6.4-1 - 6.4 bump * Thu Jun 18 2015 Fedora Release Engineering - 6.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Jun 04 2015 Jitka Plesnikova - 6.3-9 - Perl 5.22 rebuild * Mon Jan 12 2015 Petr Ĺ abata - 6.3-8 - Adapt the test suite for the 2015-2115 era * Wed Aug 27 2014 Jitka Plesnikova - 6.3-7 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 6.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 6.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat May 17 2014 Sven Nierlein 6.3-4 - convert credits to utf8 - updated build requires * Mon Apr 21 2014 Sven Nierlein 6.3-3 - added LGPLv2+ to license - replaced multiple doc files with a single entry - updated build requires to match versions from Makefile.PL - changed source to non-author specific * Sun Apr 06 2014 Sven Nierlein 6.3-2 - added perl build requires - added Changes and README - use DESTDIR as install target folder - removed unnecessary build steps * Sun Mar 23 2014 Sven Nierlein 6.3-1 - Specfile created