Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37741243
en ru br
ALT Linux repos
S:0.9.0-alt2

Group :: System/Libraries
RPM: qjson-qt5

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_enable snapshot
%define _name qjson

Name: %_name-qt5
Version: 0.8.1
Release: alt1

Group: System/Libraries
Summary: Lightweight data-interchange format
Url: http://qjson.sourceforge.net
License: GPLv2+

%if_disabled snapshot
Source: http://sourceforge.net/projects/qjson/files/%name/%version/%_name-%version.tar.bz2
%else
#VCS: https://github.com/flavio/qjson/
Source: %_name-%version.tar
%endif

BuildRequires: cmake gcc-c++ qt5-base-devel

%description
JSON (JavaScript Object Notation) 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: JSON arrays will be mapped to QVariantList instances,
while JSON objects will be mapped to QVariantMap.

%package -n lib%name
Summary: Lightweight data-interchange format library
Group: System/Libraries

%description -n lib%name
JSON (JavaScript Object Notation) 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: JSON arrays will be mapped to QVariantList instances,
while JSON objects will be mapped to QVariantMap.

%package devel
Summary: Development files for %name
Group: Development/KDE and QT
Requires: lib%name = %version-%release

%description devel
Development files for %name


%prep
%setup -n %_name-%version

%build
%cmake \
   -DCMAKE_MODULES_INSTALL_DIR=%_datadir/CMake/Modules
%cmake_build

%install
%cmakeinstall_std

%files -n lib%name
%doc README*
%_libdir/lib%name.so.*

%files devel
%doc README*
%_libdir/lib%name.so
%_includedir/%name/
%_libdir/cmake/%name/
%_pkgconfigdir/QJson-qt5.pc

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin