forked from pool/perl-Bit-Vector
89 lines
2.3 KiB
RPMSpec
89 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package perl-Bit-Vector (Version 6.4)
|
|
#
|
|
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: perl-Bit-Vector
|
|
BuildRequires: perl-Carp-Clan
|
|
Version: 6.4
|
|
Release: 1
|
|
Requires: perl = %{perl_version}
|
|
Requires: perl-Carp-Clan
|
|
Autoreqprov: on
|
|
Group: Development/Libraries/Perl
|
|
License: Artistic License
|
|
URL: http://cpan.org/modules/by-module/Bit/
|
|
Summary: Efficient bit vector, set of integers and "big int" math library
|
|
Source: Bit-Vector-%{version}.tar.bz2
|
|
Patch: Bit-Vector-%{version}.diff
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Bit::Vector is an efficient C library which allows you to handle bit
|
|
vectors, sets (of integers), "big integer arithmetic" and boolean
|
|
matrices, all of arbitrary sizes
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Steffen Beyer <sb@engelschall.com>
|
|
|
|
%prep
|
|
%setup -n Bit-Vector-%{version}
|
|
%patch
|
|
|
|
%build
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|
make
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
for i in `ls *.txt`; do mv $i `basename $i .txt`; done
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc Artistic CHANGES CREDITS GNU_GPL GNU_LGPL README examples
|
|
%doc %{_mandir}/man?/*
|
|
%{perl_vendorarch}/Bit
|
|
%{perl_vendorarch}/auto/Bit
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
%changelog -n perl-Bit-Vector
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Mon Aug 01 2005 - mjancar@suse.cz
|
|
- update to 6.4
|
|
- add perl-Carp-Clan to Requires
|
|
* Sun Jan 11 2004 - adrian@suse.de
|
|
- build as user
|
|
* Fri Aug 22 2003 - mjancar@suse.cz
|
|
- require the perl version we build with
|
|
* Tue Jul 15 2003 - mjancar@suse.cz
|
|
- adapt to perl-5.8.1
|
|
- use %%perl_process_packlist
|
|
* Mon Jun 16 2003 - mjancar@suse.cz
|
|
- use $RPM_OPT_FLAGS
|
|
- fix filelist
|
|
* Tue May 20 2003 - mjancar@suse.cz
|
|
- remove unpackaged files
|
|
* Sat Oct 12 2002 - prehak@suse.cz
|
|
- update to version 6.3
|
|
- removed .txt extension from documentation files
|
|
* Tue Jul 02 2002 - mls@suse.de
|
|
- remove race in .packlist generation
|
|
* Mon Jan 21 2002 - rvasice@suse.cz
|
|
- initial package release (version 6.1)
|