1 | Summary: Qt wrapper API to different RDF storage solutions |
---|
2 | Name: soprano |
---|
3 | Version: 2.4.1 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: LGPLv2+ |
---|
6 | Group: System Environment/Libraries |
---|
7 | Source: %{name}-%{version}.tar.bz2 |
---|
8 | URL: http://sourceforge.net/projects/soprano |
---|
9 | |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | BuildRequires: cmake |
---|
12 | BuildRequires: qt4-devel |
---|
13 | BuildRequires: redland-devel |
---|
14 | BuildRequires: clucene-core-devel |
---|
15 | BuildRequires: raptor-devel |
---|
16 | BuildRequires: rasqal-devel |
---|
17 | # for backends/virtuoso |
---|
18 | BuildRequires: libiodbc-devel |
---|
19 | |
---|
20 | BuildRequires: doxygen |
---|
21 | BuildRequires: graphviz |
---|
22 | BuildRequires: qt4-doc |
---|
23 | |
---|
24 | Provides: soprano-backend-virtuoso = %{version}-%{release} |
---|
25 | Requires: virtuoso-opensource |
---|
26 | |
---|
27 | %description |
---|
28 | Soprano (formally known as QRDF) is a library which provides a nice Qt |
---|
29 | interface to RDF storage solutions. It has a modular structure which |
---|
30 | allows to replace the actual RDF storage implementation used. |
---|
31 | |
---|
32 | Currently Soprano implements one fully functional backend which is based |
---|
33 | on librdf, the Redland RDF Application Framework. |
---|
34 | |
---|
35 | %package devel |
---|
36 | Summary: Development files for soprano |
---|
37 | Group: Development/Libraries |
---|
38 | Requires: %{name} = %{version}-%{release} |
---|
39 | Requires: qt4-devel |
---|
40 | Requires: cmake |
---|
41 | |
---|
42 | %description devel |
---|
43 | Header files for developing applications using soprano |
---|
44 | |
---|
45 | |
---|
46 | %prep |
---|
47 | %setup -q |
---|
48 | |
---|
49 | %build |
---|
50 | mkdir -p %{_target_platform} |
---|
51 | pushd %{_target_platform} |
---|
52 | unset QTDIR || : ; . /etc/profile.d/qt4.sh |
---|
53 | %cmake \ |
---|
54 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
55 | -DQT_DOC_DIR=`pkg-config --variable=docdir Qt` \ |
---|
56 | -DSOPRANO_BUILD_API_DOCS:BOOL=%{!?apidocs:0}%{?apidocs} \ |
---|
57 | -DSOPRANO_BUILD_TESTS:BOOL=%{!?tests:FALSE}%{?tests} \ |
---|
58 | %ifarch x86_64 |
---|
59 | -DLIB_SUFFIX=64 \ |
---|
60 | -DQT_QMAKE_EXECUTABLE=%{_libdir}/qt4/bin/qmake \ |
---|
61 | %endif |
---|
62 | .. |
---|
63 | popd |
---|
64 | |
---|
65 | make %{?_smp_mflags} -C %{_target_platform} |
---|
66 | |
---|
67 | %install |
---|
68 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
---|
69 | |
---|
70 | make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
71 | |
---|
72 | # move *.cmake file to cmake default module directory |
---|
73 | #mkdir -p $RPM_BUILD_ROOT%{_datadir}/CMake/Modules |
---|
74 | #mv $RPM_BUILD_ROOT%{_datadir}/apps/cmake/modules/*.cmake \ |
---|
75 | # $RPM_BUILD_ROOT%{_datadir}/CMake/Modules |
---|
76 | |
---|
77 | %clean |
---|
78 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
79 | |
---|
80 | %post -p /sbin/ldconfig |
---|
81 | |
---|
82 | %postun -p /sbin/ldconfig |
---|
83 | |
---|
84 | %files |
---|
85 | %defattr(-, root, root) |
---|
86 | %doc AUTHORS COPYING COPYING.LIB README |
---|
87 | %{_bindir}/* |
---|
88 | %{_libdir}/*.so.* |
---|
89 | %{_libdir}/soprano |
---|
90 | %{_datadir}/dbus-1 |
---|
91 | %dir %{_datadir}/soprano |
---|
92 | %{_datadir}/soprano/plugins |
---|
93 | %{_datadir}/soprano/rules |
---|
94 | |
---|
95 | %files devel |
---|
96 | %defattr(-, root, root) |
---|
97 | %{_libdir}/*.so |
---|
98 | %{_libdir}/pkgconfig/*.pc |
---|
99 | %{_includedir}/* |
---|
100 | %{_datadir}/soprano/cmake |
---|
101 | |
---|
102 | |
---|
103 | %changelog |
---|
104 | * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.1-1 |
---|
105 | - new upstream release |
---|
106 | |
---|
107 | * Sat Feb 27 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0.1-1 |
---|
108 | - new upstream release |
---|
109 | |
---|
110 | * Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0-1 |
---|
111 | - new upstream release |
---|
112 | |
---|
113 | * Sat Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.1-2 |
---|
114 | - rebuilt with new toolchain |
---|
115 | |
---|
116 | * Mon Oct 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.1-1 |
---|
117 | - new upstream release |
---|
118 | - moved %%{_datadir}/soprano/{plugins,rules} to main package |
---|
119 | |
---|
120 | * Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.0-1 |
---|
121 | - new upstream release |
---|
122 | |
---|
123 | * Mon Feb 9 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.1-1 |
---|
124 | - new upstream release |
---|
125 | |
---|
126 | * Tue Sep 02 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.1-2 |
---|
127 | - added -DQT_QMAKE_EXECUTABLE=... to cmake (if x86_64) |
---|
128 | |
---|
129 | * Sun Aug 31 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.1.1-1 |
---|
130 | - new upstream release |
---|
131 | |
---|
132 | * Wed Aug 27 2008 Shu KONNO <owa@bg.wakwak.com> 2.0.3-2 |
---|
133 | - added cmake option -DLIB_SUFFIX=64 (if x86_64) |
---|
134 | |
---|
135 | * Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.0.3-1 |
---|
136 | - new upstream release |
---|
137 | |
---|
138 | * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.0.2-0vl1 |
---|
139 | - new upstream release |
---|
140 | |
---|
141 | * Wed Dec 12 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.99-0vl0.rc2 |
---|
142 | - initial release for VineSeed |
---|