]> git.pld-linux.org Git - packages/ack.git/commitdiff
- pldize
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 4 Dec 2009 12:30:19 +0000 (12:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ack.spec -> 1.3

ack.spec

index 3117625d0f02b077c5e1b2632d78637c9a667400..65decbdc16a6da3d8230ed3c586630834a72e7b5 100644 (file)
--- a/ack.spec
+++ b/ack.spec
@@ -1,5 +1,4 @@
-#
-%include        /usr/lib/rpm/macros.perl
+%include       /usr/lib/rpm/macros.perl
 Summary:       grep-like tool
 Summary(pl.UTF-8):     produkt grepopodobny
 Name:          ack
@@ -7,7 +6,7 @@ Version:        1.90
 Release:       1
 License:       GPL
 Group:         Applications
-Source0:       http://betterthangrep.com/ack-standalone
+Source0:       http://betterthangrep.com/%{name}-standalone
 # Source0-md5: d15d059166beff6103d2401aa2d783c7
 URL:           http://betterthangrep.com/
 BuildRequires: perl-tools-pod
@@ -20,35 +19,34 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 ack is a tool like grep, designed for programmers with large trees of
 heterogeneous source code.
 
-ack is written purely in Perl, and takes advantage of the power of Perl's
-regular expressions.
+ack is written purely in Perl, and takes advantage of the power of
+Perl's regular expressions.
 
 %description -l pld.UTF-8
-ack jest narzędziem podobnym do grepa, zaprojektowanym dla programistów
-pracujących z dużymi drzewami różnorodnych plików.
+ack jest narzędziem podobnym do grepa, zaprojektowanym dla
+programistów pracujących z dużymi drzewami różnorodnych plików.
 
-ack jest napisane w czystym Perlu i korzysta z ptęgi wyrażeń regularnych
-języka Perl.
+ack jest napisane w czystym Perlu i korzysta z ptęgi wyrażeń
+regularnych języka Perl.
 
 %prep
 %setup -q -c -T
 
 %build
-pod2man %SOURCE0 > ack.1
-pod2text %SOURCE0 > ack.txt
+pod2man %{SOURCE0} > ack.1
+pod2text %{SOURCE0} > ack.txt
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
-
-install %SOURCE0 $RPM_BUILD_ROOT%{_bindir}/%{name}
-install ack.1 $RPM_BUILD_ROOT%{_mandir}/man1/ack.1
+install -p %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/%{name}
+cp -a ack.1 $RPM_BUILD_ROOT%{_mandir}/man1/ack.1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc ack.txt
 %attr(755,root,root) %{_bindir}/%{name}
 %{_mandir}/man1/ack.1*
-%doc ack.txt
This page took 0.069066 seconds and 4 git commands to generate.