File perl-FileHandle-Unget.spec of Package perl-FileHandle-Unget
#
# spec file for package perl-FileHandle-Unget (Version 0.1622)
#
# 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-FileHandle-Unget
BuildRequires: perl-Weakref
Version: 0.1622
Release: 1
Summary: Perl module for creating a FileHandle which supports ungetting of multiple bytes
License: GPL v2 or later
Url: http://sourceforge.net/projects/fh-unget/
Group: Development/Libraries/Perl
Requires: perl-Weakref
AutoReqProv: on
Source: FileHandle-Unget-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
FileHandle::Unget is a drop-in replacement for FileHandle which allows
more than one byte to be placed back on the input. It supports an
ungetc(ORD) which can be called more than once in a row, and an
ungets(SCALAR) which places a string of bytes back on the input.
Authors:
--------
David Coppit <david@coppit.org>
%prep
%setup -n FileHandle-Unget-%{version} -q
%build
perl Makefile.PL INSTALLDIRS=site
make
make test
%install
[ "$RPM_BUILD_ROOT" != "/" -a -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
[ "$RPM_BUILD_ROOT" != "/" -a -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr (-, root, root)
%doc %{_mandir}/man?/*
%{perl_vendorlib}/FileHandle
%{perl_vendorarch}/auto/FileHandle
/var/adm/perl-modules/%{name}
%changelog
* Fri Jul 25 2008 anicka@suse.cz
- update to 0.1622
* Updated to the latest version of Module::Install
* Removed auto-install for better compatibility with CPAN
and others
* Moved hosting to Google Code
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 04 2006 anicka@suse.cz
- update to 0.1621
* Tue Jun 22 2004 rommel@suse.de
- initial checkin