move headers to /usr/include/jsoncpp [release 1.4.4-2mamba;Wed Apr 08 2015]
This commit is contained in:
parent
726988b8a9
commit
356aca7df6
11
jsoncpp-1.4.4-pkg-config-fix-includedir.patch
Normal file
11
jsoncpp-1.4.4-pkg-config-fix-includedir.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- jsoncpp-1.4.4/pkg-config/jsoncpp.pc.in.orig 2015-04-08 11:06:42.084000000 +0200
|
||||
+++ jsoncpp-1.4.4/pkg-config/jsoncpp.pc.in 2015-04-08 11:06:51.536000000 +0200
|
||||
@@ -1,7 +1,7 @@
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/@LIBRARY_INSTALL_DIR@
|
||||
-includedir=${prefix}/@INCLUDE_INSTALL_DIR@
|
||||
+includedir=@INCLUDE_INSTALL_DIR@
|
||||
|
||||
Name: jsoncpp
|
||||
Description: A C++ library for interacting with JSON
|
16
jsoncpp.spec
16
jsoncpp.spec
@ -1,7 +1,7 @@
|
||||
%define pkgver %(echo %version | tr _ -)
|
||||
Name: jsoncpp
|
||||
Version: 1.4.4
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: An implementation of a JSON reader and writer in C++
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -12,6 +12,7 @@ Source: https://github.com/open-source-parsers/jsoncpp.git/%{version}/jso
|
||||
#Source: http://downloads.sourceforge.net/project/jsoncpp/jsoncpp/%{pkgver}/jsoncpp-src-%{pkgver}.tar.gz
|
||||
Patch0: jsoncpp-0.5.0-soname.patch
|
||||
Patch1: jsoncpp-0.6.0_rc2-buildfix-fPIC.patch
|
||||
Patch2: jsoncpp-1.4.4-pkg-config-fix-includedir.patch
|
||||
License: MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
@ -45,9 +46,12 @@ This package contains libraries and header files for developing applications tha
|
||||
%setup -q
|
||||
#%patch0 -p1
|
||||
#%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
%cmake -d build
|
||||
%cmake -d build \
|
||||
-DINCLUDE_INSTALL_DIR=%{_includedir}/jsoncpp
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
@ -67,13 +71,17 @@ This package contains libraries and header files for developing applications tha
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/json
|
||||
%{_includedir}/json/*.h
|
||||
%dir %{_includedir}/jsoncpp
|
||||
%dir %{_includedir}/jsoncpp/json
|
||||
%{_includedir}/jsoncpp/json/*.h
|
||||
%{_libdir}/libjsoncpp.a
|
||||
%{_libdir}/libjsoncpp.so
|
||||
%{_libdir}/pkgconfig/jsoncpp.pc
|
||||
|
||||
%changelog
|
||||
* Wed Apr 08 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4-2mamba
|
||||
- move headers to /usr/include/jsoncpp
|
||||
|
||||
* Sat Feb 28 2015 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user