automatic version update by autodist [release 2.12-1mamba;Mon Dec 24 2018]
This commit is contained in:
parent
6ab46c4671
commit
65d32ee79d
25
jansson.spec
25
jansson.spec
@ -1,6 +1,6 @@
|
|||||||
Name: jansson
|
Name: jansson
|
||||||
Version: 2.11
|
Version: 2.12
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: A C library for encoding, decoding and manipulating JSON data
|
Summary: A C library for encoding, decoding and manipulating JSON data
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -38,8 +38,9 @@ This package contains libraries and header files for developing applications tha
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%ifarch x86_64
|
||||||
sed -i "s|@libdir@|%{_libdir}|" jansson.pc.in
|
sed -i "s|\"lib\"|\"lib64\"|" CMakeLists.txt
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build \
|
%cmake -d build \
|
||||||
@ -54,6 +55,10 @@ sed -i "s|@libdir@|%{_libdir}|" jansson.pc.in
|
|||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall -C build
|
%makeinstall -C build
|
||||||
|
|
||||||
|
%ifarch x86_64
|
||||||
|
mv %{buildroot}%{_prefix}/lib/pkgconfig %{buildroot}%{_libdir}
|
||||||
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
@ -69,17 +74,19 @@ sed -i "s|@libdir@|%{_libdir}|" jansson.pc.in
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/jansson.h
|
%{_includedir}/jansson.h
|
||||||
%{_includedir}/jansson_config.h
|
%{_includedir}/jansson_config.h
|
||||||
%{_libdir}/cmake/jansson/JanssonConfig.cmake
|
%{_libdir}/cmake/jansson/janssonConfig.cmake
|
||||||
%{_libdir}/cmake/jansson/JanssonConfigVersion.cmake
|
%{_libdir}/cmake/jansson/janssonConfigVersion.cmake
|
||||||
%{_libdir}/cmake/jansson/JanssonTargets-noconfig.cmake
|
%{_libdir}/cmake/jansson/janssonTargets-noconfig.cmake
|
||||||
%{_libdir}/cmake/jansson/JanssonTargets.cmake
|
%{_libdir}/cmake/jansson/janssonTargets.cmake
|
||||||
%{_libdir}/libjansson.so
|
%{_libdir}/libjansson.so
|
||||||
%{_libdir}/pkgconfig/jansson.pc
|
%{_libdir}/pkgconfig/jansson.pc
|
||||||
#%{_libdir}/libjansson.so
|
#%{_libdir}/libjansson.so
|
||||||
#%{_libdir}/pkgconfig/jansson.pc
|
|
||||||
%doc CHANGES README.rst
|
%doc CHANGES README.rst
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 24 2018 Automatic Build System <autodist@mambasoft.it> 2.12-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Thu Mar 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11-2mamba
|
* Thu Mar 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11-2mamba
|
||||||
- fix libdir in pkgconfig file
|
- fix libdir in pkgconfig file
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user