]> git.pld-linux.org Git - SPECS.git/blob - sratom.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / sratom.spec
1 Summary:        Library for serializing LV2 atoms to/from RDF
2 Summary(pl.UTF-8):      Biblioteka do serializacji obiektów LV2 do/z RDF
3 Name:           sratom
4 Version:        0.6.8
5 Release:        1
6 License:        ISC
7 Group:          Libraries
8 Source0:        http://download.drobilla.net/%{name}-%{version}.tar.bz2
9 # Source0-md5:  8e881d6fee3da9f1181f5f90795bb74a
10 URL:            http://drobilla.net/software/sratom/
11 # urid+atom extensions
12 BuildRequires:  lv2-devel >= 1.16.0
13 BuildRequires:  python
14 BuildRequires:  serd-devel >= 0.30.0
15 BuildRequires:  sord-devel >= 0.14.0
16 Requires:       lv2 >= 1.16.0
17 Requires:       serd >= 0.30.0
18 Requires:       sord >= 0.14.0
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Sratom is a library for serialising LV2 atoms to/from RDF,
23 particularly the Turtle syntax.
24
25 %description -l pl.UTF-8
26 Sratom to biblioteka do serializacji obiektów LV2 do/z RDF, w
27 szczególności składni Turtle.
28
29 %package devel
30 Summary:        Header files for sratom library
31 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki sratom
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Requires:       lv2-devel >= 1.16.0
35 Requires:       serd-devel >= 0.30.0
36 Requires:       sord-devel >= 0.14.0
37
38 %description devel
39 Header files for sratom library.
40
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe biblioteki sratom.
43
44 %prep
45 %setup -q
46
47 %build
48 CC="%{__cc}" \
49 CFLAGS="%{rpmcflags}" \
50 ./waf configure \
51         --prefix=%{_prefix} \
52         --libdir=%{_libdir}
53
54 ./waf -v
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 ./waf install \
60         --destdir=$RPM_BUILD_ROOT
61
62 # let rpm autogenerate dependencies
63 chmod 755 $RPM_BUILD_ROOT%{_libdir}/lib*.so*
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 COPYING NEWS README.md
74 %attr(755,root,root) %{_libdir}/libsratom-0.so.*.*.*
75 %attr(755,root,root) %ghost %{_libdir}/libsratom-0.so.0
76
77 %files devel
78 %defattr(644,root,root,755)
79 %attr(755,root,root) %{_libdir}/libsratom-0.so
80 %{_includedir}/sratom-0
81 %{_pkgconfigdir}/sratom-0.pc
This page took 0.635375 seconds and 3 git commands to generate.