]> git.pld-linux.org Git - packages/serd.git/blob - serd.spec
b8568d6648523d79cc5500bbfb4f7aec7223154a
[packages/serd.git] / serd.spec
1 Summary:        Lightweight C library for RDF syntax
2 Summary(pl.UTF-8):      Lekka biblioteka C do składni RDF
3 Name:           serd
4 Version:        0.30.2
5 Release:        1
6 License:        ISC
7 Group:          Libraries
8 Source0:        http://download.drobilla.net/%{name}-%{version}.tar.bz2
9 # Source0-md5:  349c0b97b007751d802020b6088d6ae9
10 URL:            http://drobilla.net/software/serd/
11 BuildRequires:  python
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Serd is a lightweight C library for RDF syntax which supports reading
16 and writing Turtle and NTriples.
17
18 Serd is not intended to be a swiss-army knife of RDF syntax, but
19 rather is suited to resource limited or performance critical
20 applications (e.g. converting many gigabytes of NTriples to Turtle),
21 or situations where a simple reader/writer with minimal dependencies
22 is ideal (e.g. in LV2 implementations or embedded applications).
23
24 %description -l pl.UTF-8
25 Serd to lekka biblioteka C do obsługi składni RDF, obsługująca odczyt
26 i zapis formatów Turtle i NTriples.
27
28 Serd nie ma na celu obsługi wszystkich aspektów składni RDF, jest
29 przeznaczony raczej do zastosowań z ograniczonymi zasobami lub
30 krytycznych pod względem wydajności (np. konwersji wielu gigabajtów z
31 formatu NTriples do Turtle), albo w sytuacjach, gdzie ideałem jest
32 prosty program czytający/zapisujący o minimalnych zależnościach (np. w
33 implementacjach LV2 lub środowiskach wbudowanych).
34
35 %package devel
36 Summary:        Header files for serd library
37 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki serd
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40
41 %description devel
42 Header files for serd library.
43
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe biblioteki serd.
46
47 %prep
48 %setup -q
49
50 %build
51 CC="%{__cc}" \
52 CFLAGS="%{rpmcflags}" \
53 ./waf configure \
54         --prefix=%{_prefix} \
55         --libdir=%{_libdir}
56
57 ./waf -v
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 ./waf 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 %doc AUTHORS COPYING NEWS README.md
74 %attr(755,root,root) %{_bindir}/serdi
75 %attr(755,root,root) %{_libdir}/libserd-0.so.*.*.*
76 %attr(755,root,root) %ghost %{_libdir}/libserd-0.so.0
77 %{_mandir}/man1/serdi.1*
78
79 %files devel
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_libdir}/libserd-0.so
82 %{_includedir}/serd-0
83 %{_pkgconfigdir}/serd-0.pc
This page took 0.059752 seconds and 2 git commands to generate.