[packages/libgcrypt] - Divided the main package and added *-tools subpackage for better multilib integration.

lmasko lmasko at pld-linux.org
Fri Jan 22 14:58:49 CET 2016


commit f5cdaef636c60205ee0621e6b1a8c882b3e54325
Author: Łukasz Maśko <lmasko at pld-linux.org>
Date:   Fri Jan 22 14:57:45 2016 +0100

    - Divided the main package and added *-tools subpackage for better
      multilib integration.

 libgcrypt.spec | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/libgcrypt.spec b/libgcrypt.spec
index a1f273e..106edf9 100644
--- a/libgcrypt.spec
+++ b/libgcrypt.spec
@@ -9,7 +9,7 @@ Summary(pl.UTF-8):	Biblioteka kryptograficzna oparta na kodzie GnuPG
 Summary(pt_BR.UTF-8):	libgcrypt é uma biblioteca de criptografia de uso geral baseada no GnuPG
 Name:		libgcrypt
 Version:	1.6.4
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	ftp://ftp.gnupg.org/gcrypt/libgcrypt/%{name}-%{version}.tar.bz2
@@ -56,6 +56,15 @@ pomocniczych.
 Libgcrypt é uma biblioteca de criptografia de uso geral baseada no
 GnuPG.
 
+%package tools
+Summary:        Additional binary tools for libgcrypt
+Summary(pl.UTF-8):      Dodatkowe narzędzia dla libgcrypt
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+
+%description tools
+Additional binary tools for libgcrypt together with manual page.
+
 %package devel
 Summary:	Header files etc to develop libgcrypt applications
 Summary(es.UTF-8):	Archivos de desarrollo de libgcrypt
@@ -170,11 +179,14 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README THANKS TODO
+%attr(755,root,root) /%{_lib}/libgcrypt.so.*.*.*
+%attr(755,root,root) %ghost /%{_lib}/libgcrypt.so.20
+
+%files tools
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/dumpsexp
 %attr(755,root,root) %{_bindir}/hmac256
 %attr(755,root,root) %{_bindir}/mpicalc
-%attr(755,root,root) /%{_lib}/libgcrypt.so.*.*.*
-%attr(755,root,root) %ghost /%{_lib}/libgcrypt.so.20
 %{_mandir}/man1/hmac256.1*
 
 %files devel
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libgcrypt.git/commitdiff/f5cdaef636c60205ee0621e6b1a8c882b3e54325



More information about the pld-cvs-commit mailing list