Author: draenog                      Date: Mon Nov 30 20:57:04 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial release

---- Files affected:
packages/perl-ack:
   perl-ack.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-ack/perl-ack.spec
diff -u /dev/null packages/perl-ack/perl-ack.spec:1.1
--- /dev/null   Mon Nov 30 21:57:04 2009
+++ packages/perl-ack/perl-ack.spec     Mon Nov 30 21:56:59 2009
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    ack
+Summary:       grep-like text finder
+#Summary(pl.UTF-8):
+Name:          perl-ack
+Version:       1.90
+Release:       1
+License:       GPL
+Group:         Development/Languages/Perl
+Source0:       
http://www.cpan.org/modules/by-authors/id/P/PE/PETDANCE/ack-%{version}.tar.gz
+# Source0-md5: 94d2790e5e3c74561ca0cd465a494db6
+URL:           http://betterthangrep.com/
+BuildRequires: perl-File-Next
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Test-Pod
+%endif
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Ack is designed as a replacement for 99% of the uses of grep.
+
+Ack searches the named input FILEs (or standard input if no files are
+named, or the file name - is given) for lines containing a match to
+the given PATTERN. By default, ack prints the matching lines.
+
+Ack can also list files that would be searched, without actually
+searching them, to let you take advantage of ack's file-type filtering
+capabilities.
+
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make} \
+       CC="%{__cc}" \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README TODO ack-help.txt ack-help-types.txt
+%attr(755,root,root) %{_bindir}/ack
+%{perl_vendorlib}/App/Ack.pm
+%{perl_vendorlib}/App/Ack
+%{_mandir}/man3/*
+
+%define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/11/30 20:56:59  draenog
+- initial release
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to