|
|
|
@ -2,25 +2,22 @@
|
|
|
|
|
%global maj 0
|
|
|
|
|
|
|
|
|
|
Name: lilv
|
|
|
|
|
Version: 0.20.0
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 0.24.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: An LV2 Resource Description Framework Library
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://drobilla.net/software/lilv/
|
|
|
|
|
Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2
|
|
|
|
|
Patch1: lilv-0.16.0-gcc.patch
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: graphviz
|
|
|
|
|
BuildRequires: sord-devel >= 0.12.0
|
|
|
|
|
BuildRequires: sord-devel >= 0.13.0
|
|
|
|
|
BuildRequires: sratom-devel >= 0.4.4
|
|
|
|
|
BuildRequires: lv2-devel >= 1.8.0
|
|
|
|
|
BuildRequires: lv2-devel >= 1.14.0
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: swig
|
|
|
|
|
BuildRequires: numpy
|
|
|
|
|
|
|
|
|
|
%filter_setup
|
|
|
|
|
BuildRequires: serd-devel >= 0.14.0
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{name} is a library to make the use of LV2 plugins as simple as possible
|
|
|
|
@ -29,7 +26,6 @@ faster and have minimal dependencies.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development libraries and headers for %{name}
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
@ -40,7 +36,6 @@ This package contains the headers and development libraries for %{name}.
|
|
|
|
|
|
|
|
|
|
%package -n python-%{name}
|
|
|
|
|
Summary: Python bindings for %{name}
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n python-%{name}
|
|
|
|
@ -51,7 +46,6 @@ This package contains the python libraries for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
# we'll run ld config
|
|
|
|
|
sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript
|
|
|
|
|
# for packagers sake, build the tests with debug symbols
|
|
|
|
@ -60,6 +54,7 @@ sed -i -e "s|'-ftest-coverage'\]|\
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CFLAGS="%{optflags}" CXXFLAGS="%{optflags}"
|
|
|
|
|
export LINKFLAGS="%{__global_ldflags}"
|
|
|
|
|
./waf configure -v --prefix=%{_prefix}\
|
|
|
|
|
--libdir=%{_libdir} --configdir=%{_sysconfdir} --mandir=%{_mandir}\
|
|
|
|
|
--docdir=%{_pkgdocdir}\
|
|
|
|
@ -78,7 +73,8 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.*
|
|
|
|
|
./build/test/lilv_test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS NEWS README COPYING
|
|
|
|
|
%doc AUTHORS NEWS README
|
|
|
|
|
%license COPYING
|
|
|
|
|
%exclude %{_pkgdocdir}/%{name}-%{maj}/
|
|
|
|
|
%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
|
%{_bindir}/lilv-bench
|
|
|
|
@ -98,9 +94,15 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.*
|
|
|
|
|
|
|
|
|
|
%files -n python-%{name}
|
|
|
|
|
%{python_sitelib}/%{name}.*
|
|
|
|
|
%{python_sitearch}/_%{name}.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Mar 15 2017 Guido Aulisi <guido.aulisi@gmail.com> - 0.24.2-1
|
|
|
|
|
- Update to 0.24.2
|
|
|
|
|
- Use hardened LDFLAGS
|
|
|
|
|
- Remove deprecated Group tags
|
|
|
|
|
- Use license macro
|
|
|
|
|
- Drop gcc patch
|
|
|
|
|
|
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.0-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|