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