]>
Commit | Line | Data |
---|---|---|
89a99560 | 1 | # |
2 | %include /usr/lib/rpm/macros.perl | |
3 | Summary: grep-like tool | |
4 | Summary(pl.UTF-8): produkt grepopodobny | |
5 | Name: ack | |
6 | Version: 1.90 | |
181dbcde | 7 | Release: 1 |
89a99560 | 8 | License: GPL |
9 | Group: Applications | |
10 | Source0: http://betterthangrep.com/ack-standalone | |
11 | # Source0-md5: d15d059166beff6103d2401aa2d783c7 | |
12 | URL: http://betterthangrep.com/ | |
13 | BuildRequires: perl-tools-pod | |
14 | BuildRequires: rpm-perlprov | |
15 | Suggests: perl-perldoc | |
16 | BuildArch: noarch | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | ack is a tool like grep, designed for programmers with large trees of | |
21 | heterogeneous source code. | |
22 | ||
23 | ack is written purely in Perl, and takes advantage of the power of Perl's | |
24 | regular expressions. | |
25 | ||
26 | %description -l pld.UTF-8 | |
27 | ack jest narzędziem podobnym do grepa, zaprojektowanym dla programistów | |
28 | pracujących z dużymi drzewami różnorodnych plików. | |
29 | ||
30 | ack jest napisane w czystym Perlu i korzysta z ptęgi wyrażeń regularnych | |
31 | języka Perl. | |
32 | ||
33 | %prep | |
34 | %setup -q -c -T | |
35 | ||
36 | %build | |
37 | pod2man %SOURCE0 > ack.1 | |
38 | pod2text %SOURCE0 > ack.txt | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
43 | ||
44 | install %SOURCE0 $RPM_BUILD_ROOT%{_bindir}/%{name} | |
45 | install ack.1 $RPM_BUILD_ROOT%{_mandir}/man1/ack.1 | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %attr(755,root,root) %{_bindir}/%{name} | |
53 | %{_mandir}/man1/ack.1* | |
54 | %doc ack.txt |