File perl-IO-Pager.spec of Package perl-IO-Pager

#
# spec file for package perl-IO-Pager (Version 0.06)
#
# 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-IO-Pager
Version:        0.06
Release:        1
#
Group:          Development/Libraries/Perl
License:        Other uncritical OpenSource License
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       perl = %{perl_version}
Autoreqprov:    on
#
URL:            http://search.cpan.org/~jpierce/
Source:         http://search.cpan.org/CPAN/authors/id/J/JP/JPIERCE/IO-Pager-0.06.tgz
#
Summary:        Select a pager, optionally pipe it output if destination is a TTY

%description
IO::Pager is lightweight and can be used to locate an available pager
and set $ENV{PAGER} (see "NOTES") or as a factory for creating objects
defined elsewhere such as IO::Pager::Buffered and
IO::Pager::Unbuffered.



Authors:
--------
    Jerrad Pierce <jpierce@cpan.org>

%prep
%setup -n IO-Pager-%{version}

%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make

%check
make test

%install
%perl_make_install
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc CHANGES
/var/adm/perl-modules/%{name}
%dir %{perl_vendorlib}/IO/
%{perl_vendorlib}/IO/Pager*
%{perl_vendorlib}/IO/t.pl
%dir %{perl_vendorarch}/auto/IO/
%{perl_vendorarch}/auto/IO/Pager/
%{_mandir}/man3/IO::Pager.3pm*
%{_mandir}/man3/IO::Pager::Buffered.3pm*
%{_mandir}/man3/IO::Pager::Page.3pm*
%{_mandir}/man3/IO::Pager::Unbuffered.3pm*

%changelog
* Mon Aug 20 2007 - mrueckert@suse.de
- initial package
openSUSE Build Service is sponsored by