2007-01-15 23:29:50 +00:00
|
|
|
#
|
2011-11-17 12:57:01 +00:00
|
|
|
# spec file for package perl-Bit-Vector
|
2007-01-15 23:29:50 +00:00
|
|
|
#
|
2025-02-04 18:42:48 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2007-01-15 23:29:50 +00:00
|
|
|
#
|
2009-06-18 14:58:30 +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.
|
|
|
|
|
2025-02-04 18:42:48 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:29:50 +00:00
|
|
|
#
|
|
|
|
|
2010-11-26 16:21:09 +00:00
|
|
|
|
2025-02-04 18:42:48 +00:00
|
|
|
%define cpan_name Bit-Vector
|
2009-06-18 14:58:30 +00:00
|
|
|
Name: perl-Bit-Vector
|
2025-02-04 18:42:48 +00:00
|
|
|
Version: 7.400.0
|
2013-06-04 14:33:27 +00:00
|
|
|
Release: 0
|
2025-02-04 18:42:48 +00:00
|
|
|
# 7.4 -> normalize -> 7.400.0
|
|
|
|
%define cpan_version 7.4
|
|
|
|
#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later)
|
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2010-11-24 21:38:01 +00:00
|
|
|
Summary: Bit::Vector Perl module
|
2025-02-04 18:42:48 +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-15 18:48:16 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:11:58 +02:00
|
|
|
Source100: README.md
|
2013-06-04 14:33:27 +00:00
|
|
|
Patch0: Bit-Vector-7.1.diff
|
2025-05-28 13:23:12 +00:00
|
|
|
# build with gcc15, sent to STBEY@cpan.org
|
|
|
|
Patch1: perl-Bit-Vector-gcc15.patch
|
2010-11-24 21:38:01 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2025-02-04 18:42:48 +00:00
|
|
|
BuildRequires: perl(Carp::Clan) >= 5.300
|
2010-11-24 21:38:01 +00:00
|
|
|
BuildRequires: perl(Storable) >= 2.21
|
2025-02-04 18:42:48 +00:00
|
|
|
Requires: perl(Carp::Clan) >= 5.300
|
2010-11-24 21:38:01 +00:00
|
|
|
Requires: perl(Storable) >= 2.21
|
2025-02-04 18:42:48 +00:00
|
|
|
Provides: perl(Bit::Vector) = %{version}
|
|
|
|
Provides: perl(Bit::Vector::Overload) = %{version}
|
|
|
|
Provides: perl(Bit::Vector::String) = %{version}
|
|
|
|
%undefine __perllib_provides
|
2013-06-04 14:33:27 +00:00
|
|
|
%{perl_requires}
|
2007-01-15 23:29:50 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
|
|
%prep
|
2025-05-28 13:23:12 +00:00
|
|
|
%autosetup -p0 -n %{cpan_name}-%{cpan_version}
|
2007-01-15 23:29:50 +00:00
|
|
|
|
|
|
|
%build
|
2025-02-04 18:42:48 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
|
%make_build
|
2009-08-03 16:50:06 +00:00
|
|
|
|
|
|
|
%check
|
2025-02-04 18:42:48 +00:00
|
|
|
make test
|
2007-01-15 23:29:50 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2010-11-24 21:38:01 +00:00
|
|
|
%perl_gen_filelist
|
2007-01-15 23:29:50 +00:00
|
|
|
|
2010-11-24 21:38:01 +00:00
|
|
|
%files -f %{name}.files
|
2025-02-04 18:42:48 +00:00
|
|
|
%doc CHANGES.txt CREDITS.txt examples GNU_GPL.txt GNU_LGPL.txt README.txt
|
|
|
|
%license Artistic.txt
|
2007-01-15 23:29:50 +00:00
|
|
|
|
2009-06-18 14:58:30 +00:00
|
|
|
%changelog
|