source: projects/specs/trunk/s/soprano/soprano-vl.spec @ 5163

Revision 5163, 5.1 KB checked in by inagaki, 13 years ago (diff)

update: soprano

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