|
|
|
@ -2,8 +2,8 @@
|
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
|
|
|
|
|
Name: sratom
|
|
|
|
|
Version: 0.4.6
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.6.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A C library for serializing LV2 plugins
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -14,9 +14,9 @@ BuildRequires: python
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: graphviz
|
|
|
|
|
BuildRequires: sord-devel >= 0.12.0
|
|
|
|
|
BuildRequires: lv2-devel >= 1.0.0
|
|
|
|
|
|
|
|
|
|
%filter_setup
|
|
|
|
|
BuildRequires: serd-devel >= 0.23.0
|
|
|
|
|
BuildRequires: lv2-devel >= 1.10.0
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{name} is a new C library for serializing LV2 atoms to/from Turtle. It is
|
|
|
|
@ -48,6 +48,7 @@ sed -i -e "s| '-ftest-coverage'\]|\
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CFLAGS="%{optflags}" CXXFLAGS="%{optflags}"
|
|
|
|
|
export LDFLAGS="%{__global_ldflags}"
|
|
|
|
|
./waf configure -v \
|
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
@ -63,9 +64,8 @@ DESTDIR=%{buildroot} ./waf install
|
|
|
|
|
chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.*
|
|
|
|
|
install -pm 644 COPYING NEWS README %{buildroot}%{_pkgdocdir}
|
|
|
|
|
|
|
|
|
|
# tests failing - see http://dev.drobilla.net/ticket/832
|
|
|
|
|
#%%check
|
|
|
|
|
#./build/sratom_test
|
|
|
|
|
%check
|
|
|
|
|
./build/sratom_test
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
@ -74,6 +74,8 @@ install -pm 644 COPYING NEWS README %{buildroot}%{_pkgdocdir}
|
|
|
|
|
%files
|
|
|
|
|
%{_pkgdocdir}
|
|
|
|
|
%exclude %{_pkgdocdir}/%{name}-%{maj}/
|
|
|
|
|
%exclude %{_pkgdocdir}/COPYING
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
@ -84,6 +86,12 @@ install -pm 644 COPYING NEWS README %{buildroot}%{_pkgdocdir}
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Mar 14 2017 Guido Aulisi <guido.aulisi@gmail.com> - 0.6.0-1
|
|
|
|
|
- Update to 0.6.0
|
|
|
|
|
- Use hardened LDFLAGS
|
|
|
|
|
- Enable tests
|
|
|
|
|
- Use license macro
|
|
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.6-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|