packages: ack/ack.spec - pldize

glen glen at pld-linux.org
Fri Dec 4 13:30:24 CET 2009


Author: glen                         Date: Fri Dec  4 12:30:24 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pldize

---- Files affected:
packages/ack:
   ack.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/ack/ack.spec
diff -u packages/ack/ack.spec:1.2 packages/ack/ack.spec:1.3
--- packages/ack/ack.spec:1.2	Fri Dec  4 11:58:50 2009
+++ packages/ack/ack.spec	Fri Dec  4 13:30:19 2009
@@ -1,6 +1,5 @@
 # $Revision$, $Date$
-#
-%include        /usr/lib/rpm/macros.perl
+%include	/usr/lib/rpm/macros.perl
 Summary:	grep-like tool
 Summary(pl.UTF-8):	produkt grepopodobny
 Name:		ack
@@ -8,7 +7,7 @@
 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
@@ -21,38 +20,37 @@
 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
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -60,9 +58,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2009/12/04 12:30:19  glen
+- pldize
+
 Revision 1.2  2009/12/04 10:58:50  pawelz
 - seems to work, rel 1
 
 Revision 1.1  2009/12/04 10:24:28  pawelz
 - initial commit, perl-like tool
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ack/ack.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list