update to 0.9.0 [release 0.9.0-1mamba;Sun Jan 09 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 05:29:33 +01:00
parent 53b8f31e54
commit 098a46e5af

View File

@ -1,24 +1,21 @@
Name: libqjson
Version: 0.8.1
Version: 0.9.0
Release: 1mamba
Summary: A lightweight data-interchange format
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://sourceforge.net/projects/qjson/
Source: http://downloads.sourceforge.net/project/qjson/qjson/%{version}/qjson-%{version}.tar.bz2
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://qjson.sourceforge.net/
Source: https://github.com/flavio/qjson.git/%{version}/qjson-%{version}.tar.bz2
License: LGPL
BuildRequires: cmake
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: cmake
%description
JSON is a lightweight data-interchange format.
@ -34,8 +31,9 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
JSON is a lightweight data-interchange format.
It can represents integer, real number, string, an ordered sequence of value, and a collection of name/value pairs.
QJson is a qt-based library that maps JSON data to QVariant objects.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q -n qjson-%{version}
@ -43,6 +41,7 @@ This package contains static libraries and header files need for development.
%build
%cmake -d build \
-DCMAKE_MODULES_INSTALL_DIR=%{_datadir}/cmake/Modules/
%make
%install
@ -57,18 +56,21 @@ This package contains static libraries and header files need for development.
%files
%defattr(-,root,root)
%{_libdir}/libqjson.so.*
%{_libdir}/libqjson-qt5.so.*
%doc COPYING.lib README.license
%files devel
%defattr(-,root,root)
%dir %{_includedir}/qjson
%{_includedir}/qjson/*.h
%{_libdir}/libqjson.so
%{_libdir}/pkgconfig/QJson.pc
%{_libdir}/cmake/qjson/QJSON*.cmake
%dir %{_includedir}/qjson-qt5
%{_includedir}/qjson-qt5/*.h
%{_libdir}/libqjson-qt5.so
%{_libdir}/pkgconfig/QJson-qt5.pc
%{_libdir}/cmake/qjson-qt5/QJSON*.cmake
%changelog
* Sun Jan 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-1mamba
- update to 0.9.0
* Fri Dec 07 2012 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
- automatic version update by autodist