Группа :: Система/Библиотеки
Пакет: qjson
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: qjson
Version: 0.7.1
Release: alt0.M51.1
Group: System/Libraries
Summary: Lightweight data-interchange format
Url: http://qjson.sourceforge.net
License: GPLv2+
Source: http://sourceforge.net/projects/qjson/files/%name/%version/%name-%version.tar.bz2
BuildRequires: kde-common-devel cmake gcc-c++ libqt4-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 -q
%build
%K4build \
-DINCLUDE_INSTALL_DIR=%_includedir \
-DCMAKE_MODULES_INSTALL_DIR=%_datadir/CMake/Modules
%install
%K4install
%files -n lib%name
%doc README
%_libdir/lib*.so.*
%files devel
%doc README
%_libdir/lib*.so
%_includedir/%name
%_datadir/CMake/Modules/FindQJSON.cmake
%_pkgconfigdir/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.7.1
Release: alt0.M51.1
Group: System/Libraries
Summary: Lightweight data-interchange format
Url: http://qjson.sourceforge.net
License: GPLv2+
Source: http://sourceforge.net/projects/qjson/files/%name/%version/%name-%version.tar.bz2
BuildRequires: kde-common-devel cmake gcc-c++ libqt4-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 -q
%build
%K4build \
-DINCLUDE_INSTALL_DIR=%_includedir \
-DCMAKE_MODULES_INSTALL_DIR=%_datadir/CMake/Modules
%install
%K4install
%files -n lib%name
%doc README
%_libdir/lib*.so.*
%files devel
%doc README
%_libdir/lib*.so
%_includedir/%name
%_datadir/CMake/Modules/FindQJSON.cmake
%_pkgconfigdir/*
%changelog
…
Полный changelog можно просмотреть здесь