|
|
|
@ -2,15 +2,14 @@
|
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
|
|
|
|
|
Name: sratom
|
|
|
|
|
Version: 0.6.2
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 0.6.4
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A C library for serializing LV2 plugins
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://drobilla.net/software/%{name}/
|
|
|
|
|
Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2
|
|
|
|
|
BuildRequires: python2
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: python3
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: graphviz
|
|
|
|
|
BuildRequires: sord-devel >= 0.14.0
|
|
|
|
@ -47,7 +46,7 @@ sed -i -e "s| '-ftest-coverage'\]|\
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%set_build_flags
|
|
|
|
|
%{__python2} waf configure -v \
|
|
|
|
|
python3 waf configure -v \
|
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
@ -55,12 +54,12 @@ sed -i -e "s| '-ftest-coverage'\]|\
|
|
|
|
|
--docdir=%{_pkgdocdir} \
|
|
|
|
|
--test \
|
|
|
|
|
--docs
|
|
|
|
|
%{__python2} waf build -v %{?_smp_mflags}
|
|
|
|
|
python3 waf build -v %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
DESTDIR=%{buildroot} %{__python2} waf install
|
|
|
|
|
DESTDIR=%{buildroot} python3 waf install
|
|
|
|
|
chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.*
|
|
|
|
|
install -pm 644 COPYING NEWS README %{buildroot}%{_pkgdocdir}
|
|
|
|
|
install -pm 644 COPYING NEWS README.md %{buildroot}%{_pkgdocdir}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
./build/sratom_test
|
|
|
|
@ -80,6 +79,10 @@ install -pm 644 COPYING NEWS README %{buildroot}%{_pkgdocdir}
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Dec 06 2019 Guido Aulisi <guido.aulisi@gmail.com> - 0.6.4-1
|
|
|
|
|
- Update to 0.6.4
|
|
|
|
|
- Use python3
|
|
|
|
|
|
|
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|