File perl-Set-IntSpan.spec of Package perl-Set-IntSpan

#
# spec file for package perl-Set-IntSpan (Version 1.13)
#
# Copyright (c) 2008 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-IntSpan
Version:        1.13
Release:        1
Summary:        Perl module for managing sets of integers
Group:          Development/Libraries/Perl
License:        Artistic License; GPL v2 or later
Url:            http://search.cpan.org/dist/Set-IntSpan/
Source0:        Set-IntSpan-%{version}.tar.bz2
Requires:       perl >= %{perl_version}
BuildRequires:  perl >= 5.6
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Set::IntSpan manages sets of integers. It is optimized for sets that
have long runs of consecutive integers.



Authors:
--------
    Steven McDougall <swmcd@world.std.com>

%prep
%setup -q -n Set-IntSpan-%{version}

%build
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"

%install
rm -rf $RPM_BUILD_ROOT
%perl_make_install
%perl_process_packlist

%check || :
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc Changes README
%{perl_vendorlib}/Set
%dir %{perl_vendorarch}/auto/Set
%{perl_vendorarch}/auto/Set/IntSpan
%{_mandir}/man3/Set::*.3*
%{_var}/adm/perl-modules/perl-Set-IntSpan

%changelog
* Thu Jan 17 2008 pgajdos@suse.cz
- updated to 1.13:
  * recoded member(), insert(), and remove() to use a binary search
  * added support for spans in constructors
* Fri Jul 27 2007 pgajdos@suse.cz
- package moved from OBS, version 1.11
* Thu Jun 21 2007 sierkb@gmx.de
- Update to version 1.11
- Optimize packlist handling
* Mon Nov 13 2006 sierkb@gmx.de
- Rebuild for openSUSE
- Spec file cleanup: removed # neededforbuild
* Thu Jun 22 2006 sierkb@gmx.de
- Update to version 1.09
* Thu Jun 15 2006 sierkb@gmx.de
- Rebuild for SUSE Linux 10.1
* Tue Nov 15 2005 sierkb@gmx.de
- Rebuild for SUSE Linux 10.0 OSS
* Fri Jun 10 2005 sierkb@gmx.de
- Initial build for SuSE Linux
openSUSE Build Service is sponsored by