]> git.pld-linux.org Git - packages/soprano.git/blame - soprano.spec
- up to 1.99 rc2
[packages/soprano.git] / soprano.spec
CommitLineData
2fc92623 1%define _snap rc2
6b75f615 2
8667f3ab
JB
3Summary: Soprano - Qt wrapper API to librdf
4Summary(pl.UTF-8): Soprano - wrapper Qt do librdf
195f432c 5Name: soprano
2fc92623 6Version: 1.99
6b75f615 7Release: 0.%{_snap}.1
5a8ef18c 8License: GPLv2
195f432c 9Group: X11/Applications
2fc92623
RT
10Source0: http://dl.sourceforge.net/soprano/%{name}-%{version}-%{_snap}.tar.bz2
11# Source0-md5: 78ae22f085e5e9eb06ee7cda23ecfa0f
5a8ef18c 12URL: http://sourceforge.net/projects/soprano
195f432c 13BuildRequires: autoconf
14BuildRequires: automake
15BuildRequires: cmake
16BuildRequires: qt4-build
17BuildRequires: qt4-qmake
18BuildRequires: redland-devel
19BuildRequires: rpmbuild(macros) >= 1.129
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
8667f3ab
JB
23Soprano (formally known as QRDF) is a library which provides a Qt
24wrapper API to different RDF storage solutions. It features named
25graphs (contexts) and has a modular plug-in structure which allows to
26use different RDF storage implementations.
195f432c 27
8667f3ab
JB
28%description -l pl.UTF-8
29Soprano (wcześniej znane jako QRDF) to biblioteka udostępniająca API
30wrappera Qt do różnych rozwiązań przechowywania danych RDF. Obsługuje
31nazwane grafy (konteksty) i ma strukturę modularnych wtyczek, co
32pozwala na używanie różnych implementacji przechowywania danych RDF.
195f432c 33
34%package devel
35Summary: Header files for soprano
36Summary(pl.UTF-8): Pliki nagłówkowe dla soprano
37Group: Development/Libraries
38Requires: %{name} = %{version}-%{release}
39
40%description devel
41Header files for soprano.
42
43%description devel -l pl.UTF-8
44Pliki nagłówkowe dla soprano.
45
46%prep
2fc92623 47%setup -q -n %{name}-%{version}-%{_snap}
195f432c 48
49%build
50install -d build
51cd build
52%cmake \
53 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
0b2cd574 54 -DCMAKE_VERBOSE_MAKEFILE=1 \
195f432c 55 -DQT_QMAKE_EXECUTABLE=%{_bindir}/qt4-qmake \
56%if "%{_lib}" == "lib64"
57 -DLIB_SUFFIX=64 \
58%endif
0b2cd574 59 ..
195f432c 60
61%{__make}
62
63%install
64rm -rf $RPM_BUILD_ROOT
8667f3ab
JB
65
66%{__make} -C build install \
195f432c 67 DESTDIR=$RPM_BUILD_ROOT
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%post -p /sbin/ldconfig
73%postun -p /sbin/ldconfig
74
75%files
76%defattr(644,root,root,755)
2fc92623
RT
77%attr(755,root,root) %{_bindir}/sopranocmd
78%attr(755,root,root) %{_bindir}/sopranod
0b2cd574 79%attr(755,root,root) %{_libdir}/libsoprano.so.*.*.*
2fc92623 80%attr(755,root,root) %ghost %{_libdir}/libsoprano.so.4
195f432c 81%dir %{_libdir}/soprano
2fc92623
RT
82%attr(755,root,root) %ghost %{_libdir}/libsopranoclient.so.1
83%attr(755,root,root) %{_libdir}/libsopranoclient.so.1.0.0
84
85%attr(755,root,root) %ghost %{_libdir}/libsopranoserver.so.1
86%attr(755,root,root) %{_libdir}/libsopranoserver.so.1.0.0
87
0b2cd574 88%attr(755,root,root) %{_libdir}/soprano/libsoprano_redlandbackend.so
2fc92623
RT
89%attr(755,root,root) %{_libdir}/soprano/libsoprano_nquadparser.so
90%attr(755,root,root) %{_libdir}/soprano/libsoprano_nquadserializer.so
91%attr(755,root,root) %{_libdir}/soprano/libsoprano_raptorparser.so
92%attr(755,root,root) %{_libdir}/soprano/libsoprano_raptorserializer.so
93
94%{_pkgconfigdir}/soprano.pc
95
96%dir %{_datadir}/dbus-1/interfaces
97%{_datadir}/dbus-1/interfaces/org.soprano.Model.xml
98%{_datadir}/dbus-1/interfaces/org.soprano.NodeIterator.xml
99%{_datadir}/dbus-1/interfaces/org.soprano.QueryResultIterator.xml
100%{_datadir}/dbus-1/interfaces/org.soprano.Server.xml
101%{_datadir}/dbus-1/interfaces/org.soprano.StatementIterator.xml
102
103%{_datadir}/soprano
195f432c 104
105%files devel
106%defattr(644,root,root,755)
0b2cd574 107%attr(755,root,root) %{_libdir}/libsoprano.so
2fc92623
RT
108%attr(755,root,root) %{_libdir}/libsopranoserver.so
109%attr(755,root,root) %{_libdir}/libsopranoclient.so
110
195f432c 111%dir %{_includedir}/soprano
112%{_includedir}/soprano/*.h
2fc92623 113%{_includedir}/Soprano
This page took 0.349697 seconds and 4 git commands to generate.