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