Ian Burrell d0df2c7
Name:           ack
Ian Burrell a94bd75
Version:        1.64
Ian Burrell a94bd75
Release:        1%{?dist}
Ian Burrell d0df2c7
Summary:        Grep-like text finder
Ian Burrell d0df2c7
License:        GPL or Artistic
Ian Burrell d0df2c7
Group:          Development/Libraries
Ian Burrell d0df2c7
URL:            http://search.cpan.org/dist/ack/
Ian Burrell d0df2c7
Source0:        http://www.cpan.org/modules/by-module/App/ack-%{version}.tar.gz
Ian Burrell d0df2c7
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Ian Burrell d0df2c7
BuildArch:      noarch
Ian Burrell 26c8d4d
BuildRequires:  perl(ExtUtils::MakeMaker)
Ian Burrell a94bd75
BuildRequires:  perl(Test::More)
Ian Burrell 26c8d4d
BuildRequires:  perl(File::Next) >= 0.40
Ian Burrell d0df2c7
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Ian Burrell d0df2c7
Ian Burrell d0df2c7
%description
Ian Burrell d0df2c7
Ack is designed as a replacement for grep.
Ian Burrell d0df2c7
Ian Burrell d0df2c7
%prep
Ian Burrell d0df2c7
%setup -q
Ian Burrell d0df2c7
Ian Burrell d0df2c7
%build
Ian Burrell d0df2c7
%{__perl} Makefile.PL INSTALLDIRS=vendor
Ian Burrell d0df2c7
make
Ian Burrell d0df2c7
Ian Burrell d0df2c7
%install
Ian Burrell d0df2c7
rm -rf $RPM_BUILD_ROOT
Ian Burrell d0df2c7
Ian Burrell d0df2c7
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
Ian Burrell d0df2c7
Ian Burrell d0df2c7
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
Ian Burrell d0df2c7
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
Ian Burrell d0df2c7
Ian Burrell d0df2c7
%{_fixperms} $RPM_BUILD_ROOT/*
Ian Burrell d0df2c7
Ian Burrell d0df2c7
%check
Ian Burrell d0df2c7
# Disabled because tests fail when run without terminal
Ian Burrell d0df2c7
# See http://rt.cpan.org/Public/Bug/Display.html?id=24670
Ian Burrell d0df2c7
#make test
Ian Burrell d0df2c7
Ian Burrell d0df2c7
%clean
Ian Burrell d0df2c7
rm -rf $RPM_BUILD_ROOT
Ian Burrell d0df2c7
Ian Burrell d0df2c7
%files
Ian Burrell d0df2c7
%defattr(-,root,root,-)
Ian Burrell d0df2c7
%doc ack-help.txt ack-help-types.txt Changes README
Ian Burrell d0df2c7
%{perl_vendorlib}/*
Ian Burrell d0df2c7
%{_bindir}/ack
Ian Burrell d0df2c7
%{_mandir}/man1/*
Ian Burrell d0df2c7
%{_mandir}/man3/*
Ian Burrell d0df2c7
Ian Burrell d0df2c7
%changelog
Ian Burrell a94bd75
* Thu Aug 16 2007 Ian Burrell <ianburrell@gmail.com> - 1.64-1
Ian Burrell a94bd75
- Update to 1.64
Ian Burrell a94bd75
- Add BuildRequires Test::More
Ian Burrell a94bd75
Ian Burrell a94bd75
* Mon Jun 18 2007 Ian Burrell <ianburrell@gmail.com> - 1.62-2
Ian Burrell e374c49
- Disable tests since bug not fixed
Ian Burrell e374c49
Ian Burrell e374c49
* Sun Jun 17 2007 Ian Burrell <ianburrell@gmail.com> - 1.62-1
Ian Burrell e374c49
- Update to 1.62
Ian Burrell e374c49
- Enable tests
Ian Burrell e374c49
Ian Burrell a94bd75
* Tue May 15 2007 Ian Burrell <ianburrell@gmail.com> - 1.60-1
Ian Burrell 26c8d4d
- add BuildRequires perl(ExtUtils::MakeMaker)
Ian Burrell 26c8d4d
Ian Burrell a94bd75
* Sat May  5 2007 Ian Burrell <ianburrell@gmail.com> - 1.60-4
Ian Burrell 26c8d4d
- Update to 1.60; requires File::Next 0.40
Ian Burrell 26c8d4d
Ian Burrell a94bd75
* Mon Feb 12 2007 Ian Burrell <ianburrell@gmail.com> - 1.56-4
Ian Burrell d0df2c7
- Fix minor issues
Ian Burrell d0df2c7
Ian Burrell a94bd75
* Tue Jan 30 2007 Ian Burrell <ianburrell@gmail.com> - 1.56-3
Ian Burrell d0df2c7
- Fix source URL
Ian Burrell d0df2c7
Ian Burrell a94bd75
* Mon Jan 29 2007 Ian Burrell <ianburrell@gmail.com> - 1.56-2
Ian Burrell d0df2c7
- Rename to ack
Ian Burrell d0df2c7
Ian Burrell d0df2c7
* Mon Jan 29 2007 Ian Burrell <ianburrell@gmail.com> 1.56-1
Ian Burrell d0df2c7
- Specfile autogenerated by cpanspec 1.69.1.