Name: qjson Summary: A qt-based library that maps JSON data to QVariant objects Summary(ja): JSON データ を QVariant Object にマッピングするためのライブラリ Version: 0.8.1 Release: 2%{?_dist_release} Group: System Environment/Libraries License: GPLv2+ URL: http://sourceforge.net/projects/qjson/ Source0: http://downloads.sourceforge.net/project/qjson/qjson/0.8.1/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: cmake >= 2.6 BuildRequires: qt4-devel BuildRequires: doxygen %description 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. %package devel Summary: Development files for qjson Summary(ja): qjson の開発用ファイル Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: qt4-devel %description devel The %{name}-devel package contains the libraries and header files required for developing applications that use %{name}. %prep %setup -q %build mkdir -p %{_target_platform} pushd %{_target_platform} %cmake -DQJSON_BUILD_TESTS=1 \ -DCMAKE_MODULES_INSTALL_DIR=%{_datadir}/cmake/Modules/ \ .. cd %{_builddir}/%{buildsubdir}/doc doxygen popd sed -i -e 's/-fno-exceptions -fno-check-new -fno-common//' \ -e 's/-fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden//' \ -e 's/-ansi//' %{_target_platform}/src/CMakeFiles/qjson.dir/flags.make make %{?_smp_mflags} -C %{_target_platform} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} -C %{_target_platform} %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING %{_libdir}/libqjson.so.* %files devel %defattr(-,root,root,-) %doc doc/html %{_includedir}/%{name} %{_libdir}/cmake/%{name} %{_libdir}/libqjson.so %{_libdir}/pkgconfig/QJson.pc %changelog * Sun Jul 03 2016 Yoji TOYODA 0.8.1-2 - rebuild with gcc-5.4.0 * Mon May 05 2014 Yoji TOYODA 0.8.1-1 - new upstream release * Thu Jan 13 2011 Ryoichi INAGAKI 0.7.1-6 - added Japanese summary * Mon Sep 20 2010 Ryoichi INAGAKI 0.7.1-5 - rebuilt with rpm-4.8.1 * Sun Aug 22 2010 Ryoichi INAGAKI 0.7.1-4 - re-fixed CMAKE_MODULES_INSTALL_DIR * Tue Aug 17 2010 Ryoichi INAGAKI 0.7.1-3 - fixed CMAKE_MODULES_INSTALL_DIR * Sun Aug 15 2010 Ryoichi INAGAKI 0.7.1-2 - initial build for Vine Linux * Sat Dec 12 2009 Eli Wapniarski 0.7.1-1 -0.7.1 - Version upgrade - Fixed doxygen documentation (Thanks again Orcan) * Tue Dec 8 2009 Eli Wapniarski 0.6.3-6 -0.6.3 - Fixed capitalization of the summary * Tue Dec 8 2009 Eli Wapniarski 0.6.3-5 -0.6.3 - Moved Doxygen docs to the development package. - Corrected placement of the cmake project file (Thanks Orcan) - Fixed the running of the build tests - Corrected column length of the descriptions - Changed description of the devlepment package * Sun Dec 6 2009 Eli Wapniarski 0.6.3-4 -0.6.3 - Additional placment of library files fix * Fri Dec 4 2009 Eli Wapniarski 0.6.3-3 -0.6.3 - Fixed placment of library files - Activated build tests - Corrected ownership of include directory - Corrected dependacies - Added doxygen documentation - Fixed reported version in the changelogs * Sun Nov 22 2009 Eli Wapniarski 0.6.3-2 -0.6.3 - Split off development libraries to its own package - Modified licensing in spec file to reflect GPL2 code though docs state that qjson - licensed under LPGL - Uncommeted and corrected sed line in this spec file * Sun Nov 22 2009 Eli Wapniarski 0.6.3-1 -0.6.3 - Initial Build