2011-04-14 08:08:49 +00:00
|
|
|
#
|
2014-04-23 05:00:55 +00:00
|
|
|
# spec file for package perl-Date-Calc-XS
|
2011-04-14 08:08:49 +00:00
|
|
|
#
|
2024-03-08 10:06:18 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2011-04-14 08:08:49 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2024-03-08 10:06:18 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-04-14 08:08:49 +00:00
|
|
|
#
|
|
|
|
|
2014-04-23 05:00:55 +00:00
|
|
|
|
2024-07-14 17:51:24 +00:00
|
|
|
%define cpan_name Date-Calc-XS
|
2011-04-14 08:08:49 +00:00
|
|
|
Name: perl-Date-Calc-XS
|
2024-07-14 17:51:24 +00:00
|
|
|
Version: 6.400.0
|
2014-04-23 05:00:55 +00:00
|
|
|
Release: 0
|
2024-07-14 17:51:24 +00:00
|
|
|
# 6.4 -> normalize -> 6.400.0
|
|
|
|
%define cpan_version 6.4
|
|
|
|
License: CHECK(Artistic-1.0 or GPL-1.0-or-later)
|
2015-04-17 11:42:45 +00:00
|
|
|
Summary: XS wrapper and C library plug-in for Date::Calc
|
2024-07-14 17:51:24 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/S/ST/STBEY/%{cpan_name}-%{cpan_version}.tar.gz
|
2015-04-17 11:42:45 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:13:11 +02:00
|
|
|
Source100: README.md
|
2023-04-20 09:59:47 +00:00
|
|
|
# PATCH-FIX-UPSTREAM bmwiedemann https://rt.cpan.org/Public/Bug/Display.html?id=147194
|
|
|
|
Patch0: fix2038.patch
|
2011-04-14 08:08:49 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2015-04-17 11:42:45 +00:00
|
|
|
BuildRequires: perl(Bit::Vector) >= 7.4
|
2011-04-14 08:08:49 +00:00
|
|
|
BuildRequires: perl(Carp::Clan) >= 5.3
|
2015-04-17 11:42:45 +00:00
|
|
|
BuildRequires: perl(Date::Calc) >= 6.4
|
|
|
|
Requires: perl(Bit::Vector) >= 7.4
|
2011-04-14 08:08:49 +00:00
|
|
|
Requires: perl(Carp::Clan) >= 5.3
|
2015-04-17 11:42:45 +00:00
|
|
|
Requires: perl(Date::Calc) >= 6.4
|
2024-07-14 17:51:24 +00:00
|
|
|
Provides: perl(Date::Calc::XS) = %{version}
|
|
|
|
%undefine __perllib_provides
|
2015-04-17 11:42:45 +00:00
|
|
|
Recommends: perl(Carp::Clan) >= 6.01
|
2011-04-14 08:08:49 +00:00
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
2024-07-14 17:51:24 +00:00
|
|
|
You never use this module directly. Use Date::Calc(3) instead!
|
2011-04-14 08:08:49 +00:00
|
|
|
|
|
|
|
%prep
|
2024-07-14 17:51:24 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
2011-04-14 08:08:49 +00:00
|
|
|
|
|
|
|
%build
|
2024-07-14 17:51:24 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
|
%make_build
|
2011-04-14 08:08:49 +00:00
|
|
|
|
|
|
|
%check
|
2024-07-14 17:51:24 +00:00
|
|
|
make test
|
2011-04-14 08:08:49 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2011-04-15 07:28:28 +00:00
|
|
|
%doc CHANGES.txt CREDITS.txt README.txt
|
2024-07-14 17:51:24 +00:00
|
|
|
%license license
|
2011-04-14 08:08:49 +00:00
|
|
|
|
|
|
|
%changelog
|