1 | Name: soprano |
---|
2 | Summary: the Qt/C++ RDF framework |
---|
3 | Summary(ja): Qt/C++ RDF フレームワーク |
---|
4 | Version: 2.7.4 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | License: LGPLv2+ |
---|
8 | Group: System Environment/Libraries |
---|
9 | URL: http://sourceforge.net/projects/soprano |
---|
10 | |
---|
11 | Source: %{name}-%{version}.tar.bz2 |
---|
12 | |
---|
13 | ## upstreamable patches |
---|
14 | Patch50: soprano-2.5.63-rpath.patch |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | BuildRequires: clucene-core-devel >= 2.3.3.4 |
---|
18 | BuildRequires: cmake |
---|
19 | # for backends/sesame2 |
---|
20 | BuildRequires: java-1.5.0-gcj-devel |
---|
21 | # for backends/virtuoso |
---|
22 | BuildRequires: libiodbc-devel |
---|
23 | BuildRequires: qt4-devel |
---|
24 | BuildRequires: raptor2-devel |
---|
25 | BuildRequires: rasqal-devel >= 0.9.22 |
---|
26 | BuildRequires: redland-devel |
---|
27 | |
---|
28 | BuildRequires: doxygen |
---|
29 | BuildRequires: graphviz |
---|
30 | BuildRequires: qt4-doc |
---|
31 | |
---|
32 | # Requires: redland-virtuoso |
---|
33 | Requires: redland |
---|
34 | |
---|
35 | Provides: soprano-backend-virtuoso = %{version}-%{release} |
---|
36 | Provides: soprano-backend-sesame2 = %{version}-%{release} |
---|
37 | Requires: virtuoso-opensource |
---|
38 | |
---|
39 | %description |
---|
40 | Soprano (formerly known as QRDF) is a library which provides a highly |
---|
41 | usable object-oriented C++/Qt4 framework for RDF data. It has a modular |
---|
42 | structure which allows to replace the actual RDF storage implementation used. |
---|
43 | |
---|
44 | Currently Soprano implements one fully functional backend which is based |
---|
45 | on librdf, the Redland RDF Application Framework. |
---|
46 | |
---|
47 | %package devel |
---|
48 | Summary: Development files for %{name} |
---|
49 | Summary(ja): %{name} の開発用ファイル |
---|
50 | Group: Development/Libraries |
---|
51 | Requires: %{name} = %{version}-%{release} |
---|
52 | Requires: qt4-devel |
---|
53 | Requires: pkgconfig |
---|
54 | |
---|
55 | %description devel |
---|
56 | Header files for developing applications using soprano |
---|
57 | |
---|
58 | |
---|
59 | %prep |
---|
60 | %setup -q |
---|
61 | %patch50 -p1 -b .rpath |
---|
62 | |
---|
63 | %build |
---|
64 | mkdir -p %{_target_platform} |
---|
65 | pushd %{_target_platform} |
---|
66 | unset QTDIR || : ; . /etc/profile.d/qt4.sh |
---|
67 | %cmake \ |
---|
68 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
69 | -DQT_DOC_DIR=`pkg-config --variable=docdir Qt` \ |
---|
70 | -DSOPRANO_BUILD_API_DOCS:BOOL=%{!?apidocs:0}%{?apidocs} \ |
---|
71 | -DSOPRANO_BUILD_TESTS:BOOL=%{!?tests:FALSE}%{?tests} \ |
---|
72 | %ifarch x86_64 |
---|
73 | -DLIB_SUFFIX=64 \ |
---|
74 | -DQT_QMAKE_EXECUTABLE=%{_libdir}/qt4/bin/qmake \ |
---|
75 | %endif |
---|
76 | .. |
---|
77 | popd |
---|
78 | |
---|
79 | make %{?_smp_mflags} -C %{_target_platform} |
---|
80 | |
---|
81 | %install |
---|
82 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
---|
83 | |
---|
84 | make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
85 | |
---|
86 | %clean |
---|
87 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
88 | |
---|
89 | %post -p /sbin/ldconfig |
---|
90 | |
---|
91 | %postun -p /sbin/ldconfig |
---|
92 | |
---|
93 | %files |
---|
94 | %defattr(-, root, root) |
---|
95 | %doc AUTHORS COPYING COPYING.LIB README |
---|
96 | %{_bindir}/* |
---|
97 | %{_libdir}/*.so.* |
---|
98 | %{_libdir}/soprano |
---|
99 | %{_datadir}/dbus-1 |
---|
100 | %dir %{_datadir}/soprano |
---|
101 | %{_datadir}/soprano/plugins |
---|
102 | %{_datadir}/soprano/rules |
---|
103 | %{_datadir}/soprano/sesame2 |
---|
104 | |
---|
105 | %files devel |
---|
106 | %defattr(-, root, root) |
---|
107 | %{_libdir}/*.so |
---|
108 | %{_libdir}/pkgconfig/*.pc |
---|
109 | %{_includedir}/* |
---|
110 | %{_datadir}/soprano/cmake |
---|
111 | |
---|
112 | |
---|
113 | %changelog |
---|
114 | * Sat Dec 10 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.4-1 |
---|
115 | - new upstream release |
---|
116 | |
---|
117 | * Sun Nov 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.3-1 |
---|
118 | - new upstream release |
---|
119 | - added BR: java-1.5.0-gcj-devel |
---|
120 | |
---|
121 | * Sun Sep 25 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.1-1 |
---|
122 | - new upstream release |
---|
123 | - built with clucne-core-2.3.3.4 |
---|
124 | |
---|
125 | * Fri Aug 19 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.0-2 |
---|
126 | - rebuilt with new raptor2, rasqal and redland |
---|
127 | |
---|
128 | * Sun Aug 14 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.0-1 |
---|
129 | - new upstream release |
---|
130 | |
---|
131 | * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.51-1 |
---|
132 | - new upstream release |
---|
133 | |
---|
134 | * Sat Jun 11 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1 |
---|
135 | - new upstream release |
---|
136 | |
---|
137 | * Mon Jan 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.63-1 |
---|
138 | - new upstream release |
---|
139 | |
---|
140 | * Sat Jan 8 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.3-1 |
---|
141 | - new upstream release |
---|
142 | |
---|
143 | * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.2-1 |
---|
144 | - new upstream release |
---|
145 | - rebuilt with rpm-4.8.1 |
---|
146 | |
---|
147 | * Sun Aug 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.0-1 |
---|
148 | - new upstream release |
---|
149 | - added Japanese summary |
---|
150 | |
---|
151 | * Sat Jul 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.4-1 |
---|
152 | - new upstream release |
---|
153 | |
---|
154 | * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.1-1 |
---|
155 | - new upstream release |
---|
156 | |
---|
157 | * Sat Feb 27 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0.1-1 |
---|
158 | - new upstream release |
---|
159 | |
---|
160 | * Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0-1 |
---|
161 | - new upstream release |
---|
162 | |
---|
163 | * Sat Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.1-2 |
---|
164 | - rebuilt with new toolchain |
---|
165 | |
---|
166 | * Mon Oct 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.1-1 |
---|
167 | - new upstream release |
---|
168 | - moved %%{_datadir}/soprano/{plugins,rules} to main package |
---|
169 | |
---|
170 | * Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.0-1 |
---|
171 | - new upstream release |
---|
172 | |
---|
173 | * Mon Feb 9 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.1-1 |
---|
174 | - new upstream release |
---|
175 | |
---|
176 | * Tue Sep 02 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.1-2 |
---|
177 | - added -DQT_QMAKE_EXECUTABLE=... to cmake (if x86_64) |
---|
178 | |
---|
179 | * Sun Aug 31 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.1.1-1 |
---|
180 | - new upstream release |
---|
181 | |
---|
182 | * Wed Aug 27 2008 Shu KONNO <owa@bg.wakwak.com> 2.0.3-2 |
---|
183 | - added cmake option -DLIB_SUFFIX=64 (if x86_64) |
---|
184 | |
---|
185 | * Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.0.3-1 |
---|
186 | - new upstream release |
---|
187 | |
---|
188 | * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.0.2-0vl1 |
---|
189 | - new upstream release |
---|
190 | |
---|
191 | * Wed Dec 12 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.99-0vl0.rc2 |
---|
192 | - initial release for VineSeed |
---|