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