/[packages]/cauldron/ack/current/SPECS/ack.spec
ViewVC logotype

Annotation of /cauldron/ack/current/SPECS/ack.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 52210 - (hide annotations) (download)
Wed Feb 16 12:50:31 2011 UTC (13 years, 2 months ago) by jquelin
File size: 1309 byte(s)
update to 1.94
1 jquelin 1693 %define upstream_name ack
2 jquelin 52210 %define upstream_version 1.94
3 jquelin 1693
4 jquelin 52210 Name: %{upstream_name}
5     Version: %perl_convert_version %{upstream_version}
6     Release: %mkrel 1
7 jquelin 1693
8 jquelin 52210 Summary: Grep-like text finder for large trees of text
9     License: GPL+ or Artistic
10     Group: Text tools
11     Url: http://search.cpan.org/dist/%{upstream_name}
12     Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/%{upstream_name}-%{upstream_version}.tar.gz
13 jquelin 1693
14 jquelin 52210 BuildRequires: perl(ExtUtils::MakeMaker)
15     BuildRequires: perl(File::Basename)
16     BuildRequires: perl(File::Next) >= 0.400.0
17     BuildRequires: perl(Getopt::Long)
18     BuildRequires: perl(Pod::Usage)
19     BuildRequires: perl(Term::ANSIColor)
20     BuildRequires: perl(Test::Harness) >= 2.500.0
21     BuildRequires: perl(Test::More)
22     BuildRequires: perl
23     BuildArch: noarch
24 jquelin 29765
25 jquelin 1693 %description
26     ack is a grep-like program with optimizations for searching through large trees
27     of source code.
28    
29     %prep
30     %setup -q -n %{upstream_name}-%{upstream_version}
31    
32     %build
33     %{__perl} Makefile.PL INSTALLDIRS=vendor
34     %make
35    
36     %check
37     # tests failing on cluster because they seem to require a real term.
38     # ==> skipping tests for now
39     #%{__make} test
40    
41     %install
42     rm -rf %{buildroot}
43     %makeinstall_std
44    
45     %clean
46     rm -rf %{buildroot}
47    
48     %files
49     %defattr(-,root,root)
50 jquelin 52210 %doc Changes META.yml TODO
51 jquelin 1693 %{perl_vendorlib}/App/*
52     %{_mandir}/*/*
53 jquelin 29765 %{_bindir}/*

  ViewVC Help
Powered by ViewVC 1.1.30