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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 52210 - (show annotations) (download)
Wed Feb 16 12:50:31 2011 UTC (8 years, 9 months ago) by jquelin
File size: 1309 byte(s)
update to 1.94
1 %define upstream_name ack
2 %define upstream_version 1.94
3
4 Name: %{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 1
7
8 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
14 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
25 %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 %doc Changes META.yml TODO
51 %{perl_vendorlib}/App/*
52 %{_mandir}/*/*
53 %{_bindir}/*

  ViewVC Help
Powered by ViewVC 1.1.26