]>
Commit | Line | Data |
---|---|---|
e80ab3f0 JB |
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 | |
8ea3bc54 | 4 | Version: 0.6.0 |
e80ab3f0 JB |
5 | Release: 1 |
6 | License: ISC | |
7 | Group: Libraries | |
8 | Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2 | |
8ea3bc54 | 9 | # Source0-md5: 76f085e6d41bba57f4dc2a5ffeff9dde |
e80ab3f0 JB |
10 | URL: http://drobilla.net/software/sratom/ |
11 | # urid+atom extensions | |
8ea3bc54 | 12 | BuildRequires: lv2-devel >= 1.10.0 |
e80ab3f0 | 13 | BuildRequires: python |
8ea3bc54 | 14 | BuildRequires: serd-devel >= 0.23.0 |
e4f7c55b | 15 | BuildRequires: sord-devel >= 0.12.0 |
8ea3bc54 JB |
16 | Requires: lv2 >= 1.10.0 |
17 | Requires: serd >= 0.23.0 | |
e4f7c55b | 18 | Requires: sord >= 0.12.0 |
e80ab3f0 JB |
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} | |
8ea3bc54 JB |
34 | Requires: lv2-devel >= 1.10.0 |
35 | Requires: serd-devel >= 0.23.0 | |
e4f7c55b | 36 | Requires: sord-devel >= 0.12.0 |
e80ab3f0 JB |
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 | |
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 |