packages: ack/ack.spec (NEW) - initial commit, perl-like tool
pawelz
pawelz at pld-linux.org
Fri Dec 4 11:24:33 CET 2009
Author: pawelz Date: Fri Dec 4 10:24:33 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- initial commit, perl-like tool
---- Files affected:
packages/ack:
ack.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/ack/ack.spec
diff -u /dev/null packages/ack/ack.spec:1.1
--- /dev/null Fri Dec 4 11:24:34 2009
+++ packages/ack/ack.spec Fri Dec 4 11:24:28 2009
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+#
+%include /usr/lib/rpm/macros.perl
+Summary: grep-like tool
+Summary(pl.UTF-8): produkt grepopodobny
+Name: ack
+Version: 1.90
+Release: 0.1
+License: GPL
+Group: Applications
+Source0: http://betterthangrep.com/ack-standalone
+# Source0-md5: d15d059166beff6103d2401aa2d783c7
+URL: http://betterthangrep.com/
+BuildRequires: perl-tools-pod
+BuildRequires: rpm-perlprov
+Suggests: perl-perldoc
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+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.
+
+%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 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
+
+%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
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%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
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/12/04 10:24:28 pawelz
+- initial commit, perl-like tool
+
================================================================
More information about the pld-cvs-commit
mailing list