]> git.pld-linux.org Git - packages/sord.git/blame - sord.spec
- updated to 0.16.0
[packages/sord.git] / sord.spec
CommitLineData
e1eb9d48
JB
1Summary: Lightweight C library for storing RDF data in memory
2Summary(pl.UTF-8): Lekka biblioteka C do przechowywania danych RDF w pamięci
3Name: sord
35d475b8 4Version: 0.16.0
e1eb9d48
JB
5Release: 1
6License: ISC
7Group: Libraries
8Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2
35d475b8 9# Source0-md5: 010313c3baf5b8a4a639e9ee45310af6
e1eb9d48
JB
10URL: http://drobilla.net/software/sord/
11BuildRequires: libstdc++-devel
12BuildRequires: pcre-devel
13BuildRequires: python
35d475b8
JB
14BuildRequires: serd-devel >= 0.22.4
15Requires: serd >= 0.22.4
e1eb9d48
JB
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Sord is a lightweight C library for storing RDF data in memory.
20
21%description -l pl.UTF-8
22Sort to lekka biblioteka C do przechowywania danych RDF w pamięci.
23
24%package devel
25Summary: Header files for sord library
26Summary(pl.UTF-8): Pliki nagłówkowe biblioteki sord
27Group: Development/Libraries
28Requires: %{name} = %{version}-%{release}
35d475b8 29Requires: serd-devel >= 0.22.4
e1eb9d48
JB
30
31%description devel
32Header files for sord library.
33
34%description devel -l pl.UTF-8
35Pliki nagłówkowe biblioteki sord.
36
37%prep
38%setup -q
39
40%build
41CC="%{__cc}" \
42CFLAGS="%{rpmcflags}" \
43./waf configure \
44 --prefix=%{_prefix} \
45 --libdir=%{_libdir}
46
47./waf -v
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52./waf install \
53 --destdir=$RPM_BUILD_ROOT
54
55%clean
56rm -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
71b925eb 68%{_mandir}/man1/sord_validate.1*
e1eb9d48
JB
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.077692 seconds and 4 git commands to generate.