Ian Burrell d0df2c7
Name:           ack
Ian Burrell 63779d6
Version:        1.86
Ian Burrell e381c78
Release:        1%{?dist}
Ian Burrell d0df2c7
Summary:        Grep-like text finder
Ian Burrell e4dad73
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 084b6c5
BuildRequires:  perl(ExtUtils::MakeMaker)
Ian Burrell e381c78
BuildRequires:  perl(Test::More)
Ian Burrell 5bf64b6
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 6ab75b2
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 63779d6
* Sat Aug 23 2008 Ian Burrell <ianburrell@gmail.com> - 1.86-1
Ian Burrell 63779d6
- Update to 1.86
Ian Burrell 63779d6
Ian Burrell e4dad73
* Mon Mar 24 2008 Ian M. Burrell <ianburrell@gmail.com> - 1.78-1
Ian Burrell e4dad73
- Update to 1.78
Ian Burrell e4dad73
Ian Burrell 63779d6
* Thu Feb  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.76-2
Ian Burrell 63779d6
- rebuild for new perl
Ian Burrell 63779d6
Ian Burrell 6ab75b2
* Thu Jan 17 2008 Ian Burrell <ianburrell@gmail.com> - 1.76-1
Ian Burrell 6ab75b2
- Update to 1.76
Ian Burrell 6ab75b2
Ian Burrell e381c78
* Thu Aug 16 2007 Ian Burrell <ianburrell@gmail.com> - 1.64-1
Ian Burrell e381c78
- Update to 1.64
Ian Burrell e381c78
- Add BuildRequires Test::More
Ian Burrell e381c78
Ian Burrell e381c78
* Mon Jun 18 2007 Ian Burrell <ianburrell@gmail.com> - 1.62-2
Ian Burrell 9532601
- Disable tests since bug not fixed
Ian Burrell 9532601
Ian Burrell e08bfe6
* Sun Jun 17 2007 Ian Burrell <ianburrell@gmail.com> - 1.62-1
Ian Burrell e08bfe6
- Update to 1.62
Ian Burrell e08bfe6
- Enable tests
Ian Burrell e08bfe6
Ian Burrell e381c78
* Tue May 15 2007 Ian Burrell <ianburrell@gmail.com> - 1.60-1
Ian Burrell 084b6c5
- add BuildRequires perl(ExtUtils::MakeMaker)
Ian Burrell 084b6c5
Ian Burrell e381c78
* Sat May  5 2007 Ian Burrell <ianburrell@gmail.com> - 1.60-4
Ian Burrell 5bf64b6
- Update to 1.60; requires File::Next 0.40
Ian Burrell 5bf64b6
Ian Burrell e381c78
* Mon Feb 12 2007 Ian Burrell <ianburrell@gmail.com> - 1.56-4
Ian Burrell d0df2c7
- Fix minor issues
Ian Burrell d0df2c7
Ian Burrell e381c78
* Tue Jan 30 2007 Ian Burrell <ianburrell@gmail.com> - 1.56-3
Ian Burrell d0df2c7
- Fix source URL
Ian Burrell d0df2c7
Ian Burrell e381c78
* 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.