]> git.pld-linux.org Git - packages/sord.git/blob - sord.spec
- updated to 0.16.0
[packages/sord.git] / sord.spec
1 Summary:        Lightweight C library for storing RDF data in memory
2 Summary(pl.UTF-8):      Lekka biblioteka C do przechowywania danych RDF w pamięci
3 Name:           sord
4 Version:        0.16.0
5 Release:        1
6 License:        ISC
7 Group:          Libraries
8 Source0:        http://download.drobilla.net/%{name}-%{version}.tar.bz2
9 # Source0-md5:  010313c3baf5b8a4a639e9ee45310af6
10 URL:            http://drobilla.net/software/sord/
11 BuildRequires:  libstdc++-devel
12 BuildRequires:  pcre-devel
13 BuildRequires:  python
14 BuildRequires:  serd-devel >= 0.22.4
15 Requires:       serd >= 0.22.4
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Sord is a lightweight C library for storing RDF data in memory.
20
21 %description -l pl.UTF-8
22 Sort to lekka biblioteka C do przechowywania danych RDF w pamięci.
23
24 %package devel
25 Summary:        Header files for sord library
26 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki sord
27 Group:          Development/Libraries
28 Requires:       %{name} = %{version}-%{release}
29 Requires:       serd-devel >= 0.22.4
30
31 %description devel
32 Header files for sord library.
33
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe biblioteki sord.
36
37 %prep
38 %setup -q
39
40 %build
41 CC="%{__cc}" \
42 CFLAGS="%{rpmcflags}" \
43 ./waf configure \
44         --prefix=%{_prefix} \
45         --libdir=%{_libdir}
46
47 ./waf -v
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 ./waf install \
53         --destdir=$RPM_BUILD_ROOT
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %post   -p /sbin/ldconfig
59 %postun -p /sbin/ldconfig
60
61 %files
62 %defattr(644,root,root,755)
63 %doc AUTHORS COPYING NEWS README
64 %attr(755,root,root) %{_bindir}/sord_validate
65 %attr(755,root,root) %{_bindir}/sordi
66 %attr(755,root,root) %{_libdir}/libsord-0.so.*.*.*
67 %attr(755,root,root) %ghost %{_libdir}/libsord-0.so.0
68 %{_mandir}/man1/sord_validate.1*
69 %{_mandir}/man1/sordi.1*
70
71 %files devel
72 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_libdir}/libsord-0.so
74 %{_includedir}/sord-0
75 %{_pkgconfigdir}/sord-0.pc
This page took 0.06964 seconds and 3 git commands to generate.