File perl-IO-Pager.spec of Package perl-IO-Pager
#
# spec file for package perl-IO-Pager (Version 0.06)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-IO-Pager
Version: 0.06
Release: 79
#
Group: Development/Libraries/Perl
License: Use and distribute. Do not claim ownership. Indemnify author
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Select a pager, optionally pipe it output if destination is a TTY
Source: http://search.cpan.org/CPAN/authors/id/J/JP/JPIERCE/IO-Pager-0.06.tgz
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
AutoReqProv: on
#
Url: http://search.cpan.org/~jpierce/
#
%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 %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc CHANGES
%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