source: projects/specs/trunk/q/qjson/qjson-vl.spec @ 10525

Revision 10525, 4.0 KB checked in by Takemikaduchi, 8 years ago (diff)

thunderbird,libvisio: new upstream release
others: rebuild

Line 
1Name:           qjson
2Summary:        A qt-based library that maps JSON data to QVariant objects
3Summary(ja):    JSON データ を QVariant Object にマッピングするためのライブラリ
4Version:        0.8.1
5Release:        2%{?_dist_release}
6
7Group:          System Environment/Libraries
8License:        GPLv2+
9URL:            http://sourceforge.net/projects/qjson/
10
11Source0:        http://downloads.sourceforge.net/project/qjson/qjson/0.8.1/%{name}-%{version}.tar.bz2
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14BuildRequires:  cmake >= 2.6
15BuildRequires:  qt4-devel
16BuildRequires:  doxygen
17
18%description
19JSON is a lightweight data-interchange format. It can represents integer, real
20number, string, an ordered sequence of value, and a collection of
21name/value pairs.QJson is a qt-based library that maps JSON data to
22QVariant objects.
23
24%package devel
25Summary:  Development files for qjson
26Summary(ja): qjson の開発用ファイル
27Group:    Development/Libraries
28Requires: %{name} = %{version}-%{release}
29Requires: qt4-devel
30
31%description devel
32The %{name}-devel package contains the libraries and header files required for
33developing applications that use %{name}.
34
35%prep
36%setup -q
37
38%build
39mkdir -p %{_target_platform}
40pushd %{_target_platform}
41%cmake -DQJSON_BUILD_TESTS=1 \
42    -DCMAKE_MODULES_INSTALL_DIR=%{_datadir}/cmake/Modules/ \
43    ..
44cd %{_builddir}/%{buildsubdir}/doc
45doxygen
46popd
47
48sed -i -e 's/-fno-exceptions -fno-check-new -fno-common//' \
49-e 's/-fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden//' \
50-e 's/-ansi//' %{_target_platform}/src/CMakeFiles/qjson.dir/flags.make
51
52make %{?_smp_mflags} -C %{_target_platform}
53
54%install
55rm -rf %{buildroot}
56make install DESTDIR=%{buildroot} -C %{_target_platform}
57
58%clean
59rm -rf %{buildroot}
60
61%post -p /sbin/ldconfig
62
63%postun -p /sbin/ldconfig
64
65%files
66%defattr(-,root,root,-)
67%doc COPYING
68%{_libdir}/libqjson.so.*
69
70%files devel
71%defattr(-,root,root,-)
72%doc doc/html
73%{_includedir}/%{name}
74%{_libdir}/cmake/%{name}
75%{_libdir}/libqjson.so
76%{_libdir}/pkgconfig/QJson.pc
77
78%changelog
79* Sun Jul 03 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.1-2
80- rebuild with gcc-5.4.0
81
82* Mon May 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.1-1
83- new upstream release
84
85* Thu Jan 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.1-6
86- added Japanese summary
87
88* Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.1-5
89- rebuilt with rpm-4.8.1
90
91* Sun Aug 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.1-4
92- re-fixed CMAKE_MODULES_INSTALL_DIR
93
94* Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.1-3
95- fixed CMAKE_MODULES_INSTALL_DIR
96
97* Sun Aug 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.1-2
98- initial build for Vine Linux
99
100* Sat Dec 12 2009 Eli Wapniarski <eli@orbsky.homelinux.org> 0.7.1-1
101-0.7.1
102- Version upgrade
103- Fixed doxygen documentation (Thanks again Orcan)
104
105* Tue Dec 8 2009 Eli Wapniarski <eli@orbsky.homelinux.org> 0.6.3-6
106-0.6.3
107- Fixed capitalization of the summary
108
109* Tue Dec 8 2009 Eli Wapniarski <eli@orbsky.homelinux.org> 0.6.3-5
110-0.6.3
111- Moved Doxygen docs to the development package.
112- Corrected placement of the cmake project file (Thanks Orcan)
113- Fixed the running of the build tests
114- Corrected column length of the descriptions
115- Changed description of the devlepment package
116
117* Sun Dec 6 2009 Eli Wapniarski <eli@orbsky.homelinux.org> 0.6.3-4
118-0.6.3
119- Additional placment of library files fix
120
121* Fri Dec 4 2009 Eli Wapniarski <eli@orbsky.homelinux.org> 0.6.3-3
122-0.6.3
123- Fixed placment of library files
124- Activated build tests
125- Corrected ownership of include directory
126- Corrected dependacies
127- Added doxygen documentation
128- Fixed reported version in the changelogs
129
130* Sun Nov 22 2009 Eli Wapniarski <eli@orbsky.homelinux.org> 0.6.3-2
131-0.6.3
132- Split off development libraries to its own package
133- Modified licensing in spec file to reflect GPL2 code though docs state that qjson
134-   licensed under LPGL
135- Uncommeted and corrected sed line in this spec file
136
137* Sun Nov 22 2009 Eli Wapniarski <eli@orbsky.homelinux.org> 0.6.3-1
138-0.6.3
139- Initial Build
Note: See TracBrowser for help on using the repository browser.