2007-01-16 00:29:50 +01:00
|
|
|
#
|
2011-11-17 13:57:01 +01:00
|
|
|
# spec file for package perl-Bit-Vector
|
2007-01-16 00:29:50 +01:00
|
|
|
#
|
2015-04-15 20:48:16 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:29:50 +01:00
|
|
|
#
|
2009-06-18 16:58:30 +02: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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-16 00:29:50 +01:00
|
|
|
#
|
|
|
|
|
2010-11-26 17:21:09 +01:00
|
|
|
|
2009-06-18 16:58:30 +02:00
|
|
|
Name: perl-Bit-Vector
|
2015-04-15 20:48:16 +02:00
|
|
|
Version: 7.4
|
2013-06-04 16:33:27 +02:00
|
|
|
Release: 0
|
2015-04-15 20:48:16 +02:00
|
|
|
#Upstream: CHECK(GPL-1.0+ or Artistic-1.0)
|
2010-11-24 22:38:01 +01:00
|
|
|
%define cpan_name Bit-Vector
|
|
|
|
Summary: Bit::Vector Perl module
|
2011-12-06 18:37:46 +01:00
|
|
|
License: GPL-1.0+ or Artistic-1.0
|
2009-06-18 16:58:30 +02:00
|
|
|
Group: Development/Libraries/Perl
|
2010-11-24 22:38:01 +01:00
|
|
|
Url: http://search.cpan.org/dist/Bit-Vector/
|
2015-04-15 20:48:16 +02:00
|
|
|
Source0: http://www.cpan.org/authors/id/S/ST/STBEY/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Source1: cpanspec.yml
|
2013-06-04 16:33:27 +02:00
|
|
|
Patch0: Bit-Vector-7.1.diff
|
2015-04-15 20:48:16 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-11-24 22:38:01 +01:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(Carp::Clan) >= 5.3
|
|
|
|
BuildRequires: perl(Storable) >= 2.21
|
|
|
|
Requires: perl(Carp::Clan) >= 5.3
|
|
|
|
Requires: perl(Storable) >= 2.21
|
2013-06-04 16:33:27 +02:00
|
|
|
%{perl_requires}
|
2007-01-16 00:29:50 +01:00
|
|
|
|
|
|
|
%description
|
2013-06-04 16:33:27 +02:00
|
|
|
Bit::Vector Perl module
|
2007-01-16 00:29:50 +01:00
|
|
|
|
|
|
|
%prep
|
2024-03-06 09:04:02 +01:00
|
|
|
%autosetup -p0 -n %{cpan_name}-%{version}
|
2007-01-16 00:29:50 +01:00
|
|
|
|
|
|
|
%build
|
2013-06-04 16:33:27 +02:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
2010-11-24 22:38:01 +01:00
|
|
|
%{__make} %{?_smp_mflags}
|
2009-08-03 18:50:06 +02:00
|
|
|
|
|
|
|
%check
|
2010-11-24 22:38:01 +01:00
|
|
|
%{__make} test
|
2007-01-16 00:29:50 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2010-11-24 22:38:01 +01:00
|
|
|
%perl_gen_filelist
|
2007-01-16 00:29:50 +01:00
|
|
|
|
2010-11-24 22:38:01 +01:00
|
|
|
%files -f %{name}.files
|
2013-06-04 16:33:27 +02:00
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc Artistic.txt CHANGES.txt CREDITS.txt examples GNU_GPL.txt GNU_LGPL.txt INSTALL.txt README.txt
|
2007-01-16 00:29:50 +01:00
|
|
|
|
2009-06-18 16:58:30 +02:00
|
|
|
%changelog
|