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