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

# vim: set sw=4 ts=4 et nu:
# norootforbuild

Name:           perl-Set-Infinite
Version:        0.65
Release:        0
Summary:        Sets of intervals
Source:         http://search.cpan.org/CPAN/authors/id/F/FG/FGLOCK/Set-Infinite-%{version}.tar.gz
URL:            http://search.cpan.org/dist/Set-Infinite/
Group:          Development/Libraries/Perl
License:        Perl License
BuildRoot:      %{_tmppath}/build-%{name}-%{version}
%{perl_requires}
BuildRequires:  make perl
BuildRequires:  perl-macros

%description
Set::Infinite is a Set Theory module for infinite sets.

A set is a collection of objects. The objects that belong to a set are called
its members, or "elements".

As objects we allow (almost) anything: reals, integers, and objects (such as
dates).

We allow sets to be infinite.

%prep
%setup -q -n "Set-Infinite-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL

%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?jobs:-j%{jobs}}

%install
%perl_make_install
%perl_process_packlist

%check
%__make test

%clean
%{?buildroot:%__rm -rf "%{buildroot}"}

%files
%defattr(-,root,root)
%doc Changes README
%dir %{perl_vendorlib}/Set
%{perl_vendorlib}/Set/Infinite.pm
%{perl_vendorlib}/Set/Infinite
%dir %{perl_vendorarch}/auto/Set
%{perl_vendorarch}/auto/Set/Infinite
%doc %{perl_man3dir}/Set::Infinite.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/Set::Infinite::*.%{perl_man3ext}%{ext_man}

openSUSE Build Service is sponsored by