File perl-Set-Scalar.spec of Package perl-Set-Scalar
#
# spec file for package perl-Set-Scalar (Version 1.22)
#
# Copyright (c) 2007 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://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Set-Scalar
Version: 1.22
Release: 1
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License; GPL v2 or later
Url: http://cpan.org/modules/by-module/Set/
Summary: Set of scalars
Source0: http://cpan.org/modules/by-module/Set/Set-Scalar-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This module implements a Set of scalars.
Authors:
--------
Jarkko Hietaniemi <jhi@iki.fi>
%prep
%setup -n Set-Scalar-%{version}
%build
# replace rest of /usr/local/bin/perl with /usr/bin/perl
for f in `find . -type f -exec grep -l /usr/local/bin/perl \{\} \;` ; do
rm -f tmp
sed -e "s:/usr/local/bin/perl:/usr/bin/perl:g" $f > tmp
mv -f tmp $f
done
perl Makefile.PL
make
make test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc README ChangeLog
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Set
%{perl_vendorarch}/auto/Set
/var/adm/perl-modules/%{name}
%changelog
* Thu Nov 01 2007 - anicka@suse.cz
- update to 1.22
* Add cartesian_product() and power_set(), both as full
constructors and as iterators.
* Add empty_clone().
* Makefile.PL not requiring Test::More since we are not using it.
* Made to work with the upcoming Perl 5.005_05
(yes, you read that right), most importantly
Scalar::Util made optional (we fall back to
pure Perl emulations for blessed() and refaddr()
if necessary). Everything else already worked.
* Mon Oct 08 2007 - anicka@suse.cz
- update to 1.21
* Made to work with the upcoming Perl 5.005_05, most importantly
Scalar::Util made optional (we fall back to
pure Perl emulations for blessed() and refaddr()
if necessary). Everything else already worked.
* bugfixes
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 04 2006 - anicka@suse.cz
- update to 1.20
* Wed Sep 28 2005 - dmueller@suse.de
- add norootforbuild
* Thu Aug 19 2004 - mjancar@suse.cz
- update to 1.19
* Thu Feb 26 2004 - mjancar@suse.cz
- update to 1.18
* 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
* Wed Jun 18 2003 - coolo@suse.de
- package directories
* Tue May 20 2003 - mjancar@suse.cz
- remove unpackaged files
* Tue Jul 02 2002 - mls@suse.de
- remove race in .packlist generation
* Thu Jan 17 2002 - rvasice@suse.cz
- update to version 1.17
- fixed filelist
* Mon Aug 13 2001 - rvasice@suse.cz
- initial package release (version 1.10)