packages: ack/ack.spec - fix package name - split library into subpackage

pawelz pawelz at pld-linux.org
Sun Apr 11 23:57:00 CEST 2010


Author: pawelz                       Date: Sun Apr 11 21:57:00 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix package name
- split library into subpackage

---- Files affected:
packages/ack:
   ack.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/ack/ack.spec
diff -u packages/ack/ack.spec:1.6 packages/ack/ack.spec:1.7
--- packages/ack/ack.spec:1.6	Sun Apr 11 23:56:09 2010
+++ packages/ack/ack.spec	Sun Apr 11 23:56:54 2010
@@ -9,7 +9,7 @@
 %define	pdir	ack
 Summary:	grep-like text finder
 Summary(pl.UTF-8):	produkt grepopodobny
-Name:		perl-ack
+Name:		ack
 Version:	1.92
 Release:	1
 License:	GPL v1+ or Artistic
@@ -22,7 +22,6 @@
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	perl-perldoc
 BuildRequires:	rpm-perlprov >= 4.1-13
-Obsoletes:	perl-ack
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -44,6 +43,17 @@
 ack jest napisane w czystym Perlu i korzysta z ptęgi wyrażeń
 regularnych języka Perl.
 
+%package -n perl-ack
+Summary:	ack perl library
+Summary(pl.UTF-8):	biblioteka ack dla języka perl
+Group:		Development/Languages/Perl
+
+%description -n perl-ack
+ack perl library.
+
+%description -n perl-ack -l pl.UTF-8
+ack perl library.
+
 %prep
 %setup -q -n %{pdir}-%{version}
 
@@ -69,9 +79,12 @@
 %defattr(644,root,root,755)
 %doc Changes README TODO ack-help.txt ack-help-types.txt
 %attr(755,root,root) %{_bindir}/ack
+%{_mandir}/man1/ack.1p*
+
+%files -n perl-ack
+%defattr(644,root,root,755)
 %{perl_vendorlib}/App/Ack.pm
 %{perl_vendorlib}/App/Ack
-%{_mandir}/man1/ack.1p*
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -79,6 +92,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2010/04/11 21:56:54  pawelz
+- fix package name
+- split library into subpackage
+
 Revision 1.6  2010/04/11 21:56:09  pawelz
 - there is no pld locale
 
================================================================

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



More information about the pld-cvs-commit mailing list