113 lines
3.2 KiB
RPMSpec
113 lines
3.2 KiB
RPMSpec
Name: ack
|
|
Version: 1.94
|
|
Release: 1%{?dist}
|
|
Summary: Grep-like text finder
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/ack/
|
|
Source0: http://www.cpan.org/modules/by-module/App/ack-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildArch: noarch
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(Test::More)
|
|
BuildRequires: perl(File::Next) >= 0.40
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%description
|
|
Ack is designed as a replacement for grep.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
|
|
%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 {} \;
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc ack-help.txt ack-help-types.txt Changes README
|
|
%{perl_vendorlib}/*
|
|
%{_bindir}/ack
|
|
%{_mandir}/man1/*
|
|
|
|
%changelog
|
|
* Thu Apr 21 2011 <ianburrell@gmail.com> - 1.94-1
|
|
- Update to 1.94
|
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.92-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Wed Aug 4 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.92-2
|
|
- rebuild with perl-5.12.1 again
|
|
|
|
* Wed Jun 16 2010 Ian Burrell <ianburrell@gmail.com> - 1.92-1
|
|
- Update to 1.92
|
|
|
|
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.86-5
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.86-4
|
|
- rebuild against perl 5.10.1
|
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.86-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.86-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Sat Aug 23 2008 Ian Burrell <ianburrell@gmail.com> - 1.86-1
|
|
- Update to 1.86
|
|
|
|
* Mon Mar 24 2008 Ian M. Burrell <ianburrell@gmail.com> - 1.78-1
|
|
- Update to 1.78
|
|
|
|
* Thu Feb 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.76-2
|
|
- rebuild for new perl
|
|
|
|
* Thu Jan 17 2008 Ian Burrell <ianburrell@gmail.com> - 1.76-1
|
|
- Update to 1.76
|
|
|
|
* Thu Aug 16 2007 Ian Burrell <ianburrell@gmail.com> - 1.64-1
|
|
- Update to 1.64
|
|
- Add BuildRequires Test::More
|
|
|
|
* Mon Jun 18 2007 Ian Burrell <ianburrell@gmail.com> - 1.62-2
|
|
- Disable tests since bug not fixed
|
|
|
|
* Sun Jun 17 2007 Ian Burrell <ianburrell@gmail.com> - 1.62-1
|
|
- Update to 1.62
|
|
- Enable tests
|
|
|
|
* Tue May 15 2007 Ian Burrell <ianburrell@gmail.com> - 1.60-1
|
|
- add BuildRequires perl(ExtUtils::MakeMaker)
|
|
|
|
* Sat May 5 2007 Ian Burrell <ianburrell@gmail.com> - 1.60-4
|
|
- Update to 1.60; requires File::Next 0.40
|
|
|
|
* Mon Feb 12 2007 Ian Burrell <ianburrell@gmail.com> - 1.56-4
|
|
- Fix minor issues
|
|
|
|
* Tue Jan 30 2007 Ian Burrell <ianburrell@gmail.com> - 1.56-3
|
|
- Fix source URL
|
|
|
|
* Mon Jan 29 2007 Ian Burrell <ianburrell@gmail.com> - 1.56-2
|
|
- Rename to ack
|
|
|
|
* Mon Jan 29 2007 Ian Burrell <ianburrell@gmail.com> 1.56-1
|
|
- Specfile autogenerated by cpanspec 1.69.1.
|