commit b7e1cb74f7f4c34c17822084738646b77bc294da Author: tigro Date: Thu Sep 21 10:48:48 2023 +0300 import perl-Date-Simple-3.03-44.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..edf57d5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Date-Simple-3.03.tar.gz diff --git a/.perl-Date-Simple.metadata b/.perl-Date-Simple.metadata new file mode 100644 index 0000000..9997354 --- /dev/null +++ b/.perl-Date-Simple.metadata @@ -0,0 +1 @@ +44f01cac52a0ebfffb44641207d4c411e97ade75 SOURCES/Date-Simple-3.03.tar.gz diff --git a/SPECS/perl-Date-Simple.spec b/SPECS/perl-Date-Simple.spec new file mode 100644 index 0000000..be529d5 --- /dev/null +++ b/SPECS/perl-Date-Simple.spec @@ -0,0 +1,254 @@ +Summary: Simple date object for perl +Name: perl-Date-Simple +Version: 3.03 +Release: 44%{?dist} +License: GPL+ or Artistic +URL: https://metacpan.org/release/Date-Simple +Source0: https://cpan.metacpan.org/authors/id/I/IZ/IZUT/Date-Simple-%{version}.tar.gz +# Module Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: gcc +BuildRequires: make +BuildRequires: perl-devel +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: sed +# Module Runtime +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(DynaLoader) +BuildRequires: perl(Exporter) +BuildRequires: perl(overload) +BuildRequires: perl(POSIX) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) +BuildRequires: perl(warnings::register) +# Test Suite +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) +# Dependencies +Requires: perl(DynaLoader) + +# Don't "provide" private Perl libs +%{?perl_default_filter} + +%description +Simple date object for perl. + +%prep +%setup -q -n Date-Simple-%{version} + +# Spurious exec permissions in files from tarball +find lib -type f -exec chmod -c -x {} ';' +chmod -c -x ChangeLog COPYING README Simple.xs + +# The NoXS.pm file provides a pure-perl alternative to the C implementation +# of the module. This results in duplicate "Provides:" entries, which rpmlint +# whinges about. This kludge removes the redundant file, which has the added +# benefit of shutting up rpmlint. +rm -f lib/Date/Simple/NoXS.pm +sed -i -e '/^lib\/Date\/Simple\/NoXS\.pm$/d' MANIFEST + +%build +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete +find %{buildroot} -type f -name '*.bs' -a -empty -delete +%{_fixperms} -c %{buildroot} + +%check +make test + +%files +%license COPYING +%doc ChangeLog README +%{perl_vendorarch}/Date/ +%{perl_vendorarch}/auto/Date/ +%{_mandir}/man3/Date::Simple.3* +%{_mandir}/man3/Date::Simple::D8.3* +%{_mandir}/man3/Date::Simple::Fmt.3* +%{_mandir}/man3/Date::Simple::ISO.3* + +%changelog +* Thu Sep 21 2023 Arkady L. Shane - 3.03-44 +- Rebuilt for MSVSphere 9.2 + +* Fri Jan 20 2023 Fedora Release Engineering - 3.03-44 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 3.03-43 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon May 30 2022 Jitka Plesnikova - 3.03-42 +- Perl 5.36 rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 3.03-41 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 3.03-40 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 21 2021 Jitka Plesnikova - 3.03-39 +- Perl 5.34 rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 3.03-38 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 3.03-37 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jun 22 2020 Jitka Plesnikova - 3.03-36 +- Perl 5.32 rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 3.03-35 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 3.03-34 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu May 30 2019 Jitka Plesnikova - 3.03-33 +- Perl 5.30 rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 3.03-32 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 3.03-31 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Jun 27 2018 Jitka Plesnikova - 3.03-30 +- Perl 5.28 rebuild + +* Tue Feb 20 2018 Paul Howarth - 3.03-29 +- BR: gcc + +* Thu Feb 08 2018 Fedora Release Engineering - 3.03-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 3.03-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 3.03-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 3.03-25 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 3.03-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 3.03-23 +- Perl 5.24 rebuild + +* Tue Apr 19 2016 Paul Howarth - 3.03-22 +- Classify buildreqs by usage +- Simplify find commands using -empty and -delete +- Don't need to remove empty directories from the buildroot +- Drop %%defattr, %%clean and buildroot cleaning +- Drop Group: and BuildRoot: tags +- Use %%license +- Make %%files list more explicit + +* Thu Feb 04 2016 Fedora Release Engineering - 3.03-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 3.03-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 03 2015 Jitka Plesnikova - 3.03-19 +- Perl 5.22 rebuild + +* Wed Aug 27 2014 Jitka Plesnikova - 3.03-18 +- Perl 5.20 rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 3.03-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 3.03-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 3.03-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 17 2013 Petr Pisar - 3.03-14 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 3.03-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 3.03-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jun 08 2012 Petr Pisar - 3.03-11 +- Perl 5.16 rebuild + +* Wed Jan 11 2012 Paul Howarth 3.03-10 +- Spec file clean-up: + - Nobody else likes macros for commands + - Use %%{?perl_default_filter} rather than our own dep filter implementation + - Use %%{_fixperms} macro rather than our own chmod incantation + - Use DESTDIR rather than PERL_INSTALL_ROOT + - BR: perl(Carp) + +* Fri Jun 17 2011 Marcela Mašláňová 3.03-9 +- Perl mass rebuild + +* Tue Feb 8 2011 Fedora Release Engineering 3.03-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 16 2010 Marcela Maslanova 3.03-7 +- Rebuild to fix problems with vendorarch/lib (#661697) + +* Fri Apr 30 2010 Marcela Maslanova 3.03-6 +- Mass rebuild with perl 5.12.0 + +* Mon Dec 7 2009 Stepan Kasal 3.03-5 +- Rebuild against perl 5.10.1 + +* Sat Jul 25 2009 Fedora Release Engineering 3.03-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Fri Mar 6 2009 Paul Howarth 3.03-3 +- Filter out unwanted provides for perl shared objects + +* Thu Feb 26 2009 Fedora Release Engineering 3.03-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Jan 22 2009 Paul Howarth 3.03-1 +- Update to 3.03 +- Don't package Artistic license text, not included in upstream release +- New upstream maintainer -> new source URL + +* Wed Feb 27 2008 Tom "spot" Callaway 3.02-9 +- Rebuild for perl 5.10 (again) + +* Tue Feb 19 2008 Fedora Release Engineering 3.02-8 +- Autorebuild for GCC 4.3 + +* Tue Jan 15 2008 Tom "spot" Callaway 3.02-7 +- Rebuild for new perl + +* Mon Aug 13 2007 Paul Howarth 3.02-6 +- Clarify license as GPL v1 or later, or Artistic (same as perl) +- Add buildreq perl(Test::More) + +* Wed Apr 18 2007 Paul Howarth 3.02-5 +- Buildrequire perl(ExtUtils::MakeMaker) +- Fix argument order for find with -depth +- Fix permissions in debuginfo + +* Tue Aug 29 2006 Paul Howarth 3.02-4 +- FE6 mass rebuild + +* Thu Feb 16 2006 Paul Howarth 3.02-3 +- Don't use macros in command paths, hardcode them instead + +* Tue Aug 23 2005 Paul Howarth 3.02-2 +- Point URLs at search.cpan.org instead of cpan.uwinnipeg.ca + +* Tue Aug 23 2005 Paul Howarth 3.02-1 +- Initial package build