]> git.pld-linux.org Git - packages/soprano.git/blob - soprano.spec
ced0c13d7742feedf3ae2352282fc42fb31e58b1
[packages/soprano.git] / soprano.spec
1 #
2 # TODO:
3 # - pl desc
4 #
5
6 %define         _snap   20070602
7
8 Summary:        Soprano - Qt wrapper API to librdf.
9 Summary(pl.UTF-8):      Soprano - wrapper Qt do librdf.
10 Name:           soprano
11 Version:        0.9.0
12 Release:        0.%{_snap}.1
13 License:        GPLv2
14 Group:          X11/Applications
15 Source0:        %{name}-%{_snap}.tar.bz2
16 # Source0-md5:  8785c5166b4c36bba29eb943c558c51d
17 URL:            http://sourceforge.net/projects/soprano
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  cmake
21 BuildRequires:  qt4-build
22 BuildRequires:  qt4-qmake
23 BuildRequires:  redland-devel
24 BuildRequires:  rpmbuild(macros) >= 1.129
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Soprano (formally known as QRDF) is a library which provides a QT wrapper
29 API to different RDF storage solutions. It features named graphs (contexts)
30 and has a modular plug-in structure which allows to use different RDF
31 storage implementations.
32
33 #%description -l pl.UTF-8
34
35 %package devel
36 Summary:        Header files for soprano
37 Summary(pl.UTF-8):      Pliki nagłówkowe dla soprano
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40
41 %description devel
42 Header files for soprano.
43
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe dla soprano.
46
47 %prep
48 %setup -q -n %{name}
49
50 %build
51 install -d build
52 cd build
53 %cmake \
54         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
55         -DQT_QMAKE_EXECUTABLE=%{_bindir}/qt4-qmake \
56 %if "%{_lib}" == "lib64"
57         -DLIB_SUFFIX=64 \
58 %endif
59         ../
60
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 cd build
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post   -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
74
75 %files
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_libdir}/*.so*
78 %dir %{_libdir}/soprano
79 %attr(755,root,root) %{_libdir}/soprano/*.so
80
81 %files devel
82 %defattr(644,root,root,755)
83 %dir %{_includedir}/soprano
84 %{_includedir}/soprano/*.h
This page took 0.085172 seconds and 3 git commands to generate.