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