123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- Name: qjson
- Summary: A qt-based library that maps JSON data to QVariant objects
- Summary(ja): JSON データ を QVariant Object にマッピングするためのライブラリ
- Version: 0.7.1
- Release: 6%{?_dist_release}
- Group: System Environment/Libraries
- License: GPLv2+
- URL: http://sourceforge.net/projects/qjson/
- Source0: http://downloads.sourceforge.net/project/qjson/qjson/0.7.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 -qn qjson
- %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}
- %check
- LD_PRELOAD=%{_target_platform}/%{_lib}/libqjson.so \
- %{_target_platform}/tests/testparser
- LD_PRELOAD=%{_target_platform}/%{_lib}/libqjson.so \
- %{_target_platform}/tests/testserializer
- %clean
- rm -rf %{buildroot}
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %files
- %defattr(-,root,root,-)
- %doc COPYING
- %{_libdir}/*.so.*
- %files devel
- %defattr(-,root,root,-)
- %doc doc/html
- %{_includedir}/qjson/
- %{_libdir}/pkgconfig/*.pc
- %{_datadir}/cmake/Modules/FindQJSON.cmake
- %{_libdir}/*.so
- %changelog
- * Thu Jan 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.1-6
- - added Japanese summary
- * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.1-5
- - rebuilt with rpm-4.8.1
- * Sun Aug 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.1-4
- - re-fixed CMAKE_MODULES_INSTALL_DIR
- * Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.1-3
- - fixed CMAKE_MODULES_INSTALL_DIR
- * Sun Aug 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.1-2
- - initial build for Vine Linux
- * Sat Dec 12 2009 Eli Wapniarski <eli@orbsky.homelinux.org> 0.7.1-1
- -0.7.1
- - Version upgrade
- - Fixed doxygen documentation (Thanks again Orcan)
- * Tue Dec 8 2009 Eli Wapniarski <eli@orbsky.homelinux.org> 0.6.3-6
- -0.6.3
- - Fixed capitalization of the summary
- * Tue Dec 8 2009 Eli Wapniarski <eli@orbsky.homelinux.org> 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 <eli@orbsky.homelinux.org> 0.6.3-4
- -0.6.3
- - Additional placment of library files fix
- * Fri Dec 4 2009 Eli Wapniarski <eli@orbsky.homelinux.org> 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 <eli@orbsky.homelinux.org> 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 <eli@orbsky.homelinux.org> 0.6.3-1
- -0.6.3
- - Initial Build
|