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