diff --git a/.gitignore b/.gitignore index 9c8353a..1af0a71 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /lilv-0.16.0.tar.bz2 /lilv-0.18.0.tar.bz2 /lilv-0.20.0.tar.bz2 +/lilv-0.24.2.tar.bz2 diff --git a/lilv-0.16.0-gcc.patch b/lilv-0.16.0-gcc.patch deleted file mode 100644 index 9804c3f..0000000 --- a/lilv-0.16.0-gcc.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nurp lilv-0.16.0/lilv/lilvmm.hpp lilv-0.16.0.new/lilv/lilvmm.hpp ---- lilv-0.16.0/lilv/lilvmm.hpp 2013-01-14 10:37:52.000000000 +1000 -+++ lilv-0.16.0.new/lilv/lilvmm.hpp 2013-02-24 12:22:36.727156297 +1000 -@@ -192,7 +192,7 @@ struct Plugin { - LILV_WRAP0(Node, plugin, get_author_homepage); - LILV_WRAP0(bool, plugin, is_replaced); - LILV_WRAP0(Nodes, plugin, get_extension_data); -- LILV_WRAP0(UIs, plugin, get_uis); -+ LILV_WRAP0(LilvUIs*, plugin, get_uis); - LILV_WRAP1(Nodes, plugin, get_related, Node, type); - - inline Port get_port_by_index(unsigned index) { diff --git a/lilv.spec b/lilv.spec index 78a1916..7a331a3 100644 --- a/lilv.spec +++ b/lilv.spec @@ -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 - 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 - 0.20.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index 9adb7e6..ed0bc60 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f88419fa70cc96dfdc7e0bf3cd09b180 lilv-0.20.0.tar.bz2 +SHA512 (lilv-0.24.2.tar.bz2) = b5d04b6bb1fb4d3a9a58d93b233db502dc2ded75672766a31d252abca657cbf2d170fa590c0c56159b2bac68c7af95d8787a512e318e3a0f30855504bb034659