2006-07-06 18:32:49 +00:00
|
|
|
Name: perl-File-ReadBackwards
|
|
|
|
Version: 1.04
|
2008-02-02 18:36:53 +00:00
|
|
|
Release: 5%{?dist}
|
2006-07-06 18:32:49 +00:00
|
|
|
Summary: File::ReadBackwards Perl module
|
2008-01-02 06:20:15 +00:00
|
|
|
License: GPL+ or Artistic
|
2006-07-06 18:32:49 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/File-ReadBackwards/
|
|
|
|
Source0: http://www.cpan.org/authors/id/U/UR/URI/File-ReadBackwards-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
2007-04-17 23:27:13 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2008-01-02 06:20:15 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
2006-07-06 18:32:49 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%description
|
|
|
|
This module reads a file backwards line by line. It is simple to use,
|
|
|
|
memory efficient and fast. It supports both an object and a tied handle
|
|
|
|
interface.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n File-ReadBackwards-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
2006-09-17 19:09:21 +00:00
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
2006-07-06 18:32:49 +00:00
|
|
|
|
2007-04-17 23:27:13 +00:00
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
2006-07-06 18:32:49 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes README
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2008-02-02 18:36:53 +00:00
|
|
|
* Sat Feb 02 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.04-5
|
|
|
|
- rebuild for new perl
|
|
|
|
|
2008-01-02 06:20:15 +00:00
|
|
|
* Wed Jan 02 2008 Ralf Corsépius <rc040203@freenet.de> 1.04-4
|
|
|
|
- BR: perl(Test::More) (BZ 419613).
|
|
|
|
- Adjust License-tag.
|
|
|
|
|
2007-04-17 23:27:13 +00:00
|
|
|
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.04-3
|
|
|
|
- Use fixperms macro instead of our own chmod incantation.
|
|
|
|
- BR ExtUtils::MakeMaker.
|
|
|
|
|
2006-09-17 19:09:21 +00:00
|
|
|
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.04-2
|
|
|
|
- Fix find option order.
|
|
|
|
|
2006-07-06 18:32:49 +00:00
|
|
|
* Mon Jul 03 2006 Steven Pritchard <steve@kspei.com> 1.04-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.66.
|
|
|
|
- Fix License.
|