[packages/jsoncpp] - package static library

qboosh qboosh at pld-linux.org
Sun Apr 5 18:28:22 CEST 2015


commit 2bb6925542cda3e435c5e202335a5f4c4d5f91af
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Apr 5 18:29:49 2015 +0200

    - package static library

 jsoncpp.spec | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
---
diff --git a/jsoncpp.spec b/jsoncpp.spec
index 90f6336..6d8da12 100644
--- a/jsoncpp.spec
+++ b/jsoncpp.spec
@@ -42,6 +42,18 @@ Header files for JSONCPP library.
 %description devel -l pl.UTF-8
 Pliki nagłówkowe biblioteki JSONCPP.
 
+%package static
+Summary:	Static JSONCPP library
+Summary(pl.UTF-8):	Statyczna biblioteka JSONCPP
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static JSONCPP library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka JSONCPP.
+
 %package apidocs
 Summary:	API documentation for JSONCPP library
 Summary(pl.UTF-8):	Dokumentacja API biblioteki JSONCPP
@@ -102,6 +114,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/jsoncpp.pc
 %{_libdir}/cmake/jsoncpp
 
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libjsoncpp.a
+
 %if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/jsoncpp.git/commitdiff/2bb6925542cda3e435c5e202335a5f4c4d5f91af



More information about the pld-cvs-commit mailing list