2024-01-06 00:21:22 +01:00
|
|
|
%define pkgver %(echo %version | tr _ -)
|
|
|
|
Name: jsoncpp
|
2024-10-27 09:45:23 +01:00
|
|
|
Version: 1.9.6
|
|
|
|
Release: 1mamba
|
2024-01-06 00:21:22 +01:00
|
|
|
Summary: An implementation of a JSON reader and writer in C++
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-05-06 10:26:48 +02:00
|
|
|
URL: https://jsoncpp.sourceforge.net/
|
2024-01-06 00:21:22 +01:00
|
|
|
Source: https://github.com/open-source-parsers/jsoncpp.git/%{version}/jsoncpp-%{version}.tar.bz2
|
2024-01-06 00:21:22 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 00:21:26 +01:00
|
|
|
BuildRequires: cmake
|
2024-01-06 00:21:22 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
jsoncpp is an implementation of a JSON (http://json.org) reader and writer in C++. JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Summary: An implementation of a JSON reader and writer in C++
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 00:21:22 +01:00
|
|
|
%setup -q
|
2024-01-06 00:21:22 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 00:21:23 +01:00
|
|
|
%cmake -d build \
|
2024-01-06 00:21:26 +01:00
|
|
|
-DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/jsoncpp \
|
2024-05-06 10:26:48 +02:00
|
|
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
2024-01-06 00:21:23 +01:00
|
|
|
|
2024-01-06 00:21:22 +01:00
|
|
|
%make
|
2024-01-06 00:21:22 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 00:21:22 +01:00
|
|
|
%makeinstall -C build
|
2024-01-06 00:21:22 +01:00
|
|
|
|
2024-01-06 00:21:22 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libjsoncpp.so.*
|
|
|
|
%doc AUTHORS LICENSE
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 00:21:23 +01:00
|
|
|
%dir %{_includedir}/jsoncpp
|
|
|
|
%dir %{_includedir}/jsoncpp/json
|
|
|
|
%{_includedir}/jsoncpp/json/*.h
|
2024-01-06 00:21:22 +01:00
|
|
|
%{_libdir}/libjsoncpp.so
|
2024-01-06 00:21:27 +01:00
|
|
|
%{_libdir}/libjsoncpp.a
|
2024-01-06 00:21:26 +01:00
|
|
|
%dir %{_libdir}/objects-Release/jsoncpp_object
|
|
|
|
%{_libdir}/objects-Release/jsoncpp_object/json_*.cpp.o
|
2024-01-06 00:21:22 +01:00
|
|
|
%{_libdir}/pkgconfig/jsoncpp.pc
|
2024-01-06 00:21:27 +01:00
|
|
|
%dir %{_libdir}/cmake/jsoncpp
|
|
|
|
%{_libdir}/cmake/jsoncpp/jsoncpp*.cmake
|
2024-01-06 00:21:22 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-10-27 09:45:23 +01:00
|
|
|
* Fri Sep 13 2024 Automatic Build System <autodist@openmamba.org> 1.9.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-05-06 10:26:48 +02:00
|
|
|
* Mon May 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.5-2mamba
|
|
|
|
- rebuild with -DCMAKE_POSITION_INDEPENDENT_CODE=ON (-fPIC)
|
|
|
|
|
2024-01-06 00:21:27 +01:00
|
|
|
* Sat Nov 06 2021 Automatic Build System <autodist@mambasoft.it> 1.9.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 00:21:26 +01:00
|
|
|
* Sun Sep 27 2020 Automatic Build System <autodist@mambasoft.it> 1.9.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 00:21:26 +01:00
|
|
|
* Sun Jul 19 2020 Automatic Build System <autodist@mambasoft.it> 1.9.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 00:21:26 +01:00
|
|
|
* Tue Apr 07 2020 Automatic Build System <autodist@mambasoft.it> 1.9.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 00:21:26 +01:00
|
|
|
* Mon Sep 16 2019 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 00:21:26 +01:00
|
|
|
* Mon Jan 15 2018 Automatic Build System <autodist@mambasoft.it> 1.8.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Dec 24 2017 Automatic Build System <autodist@mambasoft.it> 1.8.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 00:21:23 +01:00
|
|
|
* Thu Jul 13 2017 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 00:21:23 +01:00
|
|
|
* Tue Jan 24 2017 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 00:21:23 +01:00
|
|
|
* Sun Oct 09 2016 Automatic Build System <autodist@mambasoft.it> 1.7.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 00:21:23 +01:00
|
|
|
* Thu Sep 29 2016 Automatic Build System <autodist@mambasoft.it> 1.7.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 00:21:23 +01:00
|
|
|
* Tue Sep 06 2016 Automatic Build System <autodist@mambasoft.it> 1.7.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 00:21:23 +01:00
|
|
|
* Wed Aug 03 2016 Automatic Build System <autodist@mambasoft.it> 1.7.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 00:21:23 +01:00
|
|
|
* Thu Jul 07 2016 Automatic Build System <autodist@mambasoft.it> 1.7.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 00:21:23 +01:00
|
|
|
* Sat Mar 26 2016 Automatic Build System <autodist@mambasoft.it> 1.7.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Mar 25 2016 Automatic Build System <autodist@mambasoft.it> 1.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 00:21:23 +01:00
|
|
|
* Wed Dec 09 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.5-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
2024-01-06 00:21:23 +01:00
|
|
|
* Tue Aug 18 2015 Automatic Build System <autodist@mambasoft.it> 1.6.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 00:21:23 +01:00
|
|
|
* Mon Jun 01 2015 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 00:21:23 +01:00
|
|
|
* Wed Apr 08 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4-2mamba
|
|
|
|
- move headers to /usr/include/jsoncpp
|
|
|
|
|
2024-01-06 00:21:23 +01:00
|
|
|
* Sat Feb 28 2015 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 00:21:23 +01:00
|
|
|
* Mon Feb 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1mamba
|
|
|
|
- update to 1.4.2
|
|
|
|
|
2024-01-06 00:21:22 +01:00
|
|
|
* Sun Jan 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
|
|
|
|
- update to 1.1.0
|
|
|
|
|
2024-01-06 00:21:22 +01:00
|
|
|
* Wed Sep 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.0_rc2-2mamba
|
|
|
|
- provide pkg-config file
|
|
|
|
- move headers to %{_includedir}/jsoncpp
|
|
|
|
|
2024-01-06 00:21:22 +01:00
|
|
|
* Mon Jul 07 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.0_rc2-1mamba
|
|
|
|
- update to 0.6.0_rc2
|
|
|
|
|
2024-01-06 00:21:22 +01:00
|
|
|
* Fri Jun 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-1mamba
|
|
|
|
- package created using the webbuild interface
|