Update to 0.24.2

Use hardened LDFLAGS
Remove deprecated Group tags
Use license macro
Drop gcc patch
epel9
Guido Aulisi 8 years ago
parent bcabd13af4
commit c875489e6f

1
.gitignore vendored

@ -5,3 +5,4 @@
/lilv-0.16.0.tar.bz2 /lilv-0.16.0.tar.bz2
/lilv-0.18.0.tar.bz2 /lilv-0.18.0.tar.bz2
/lilv-0.20.0.tar.bz2 /lilv-0.20.0.tar.bz2
/lilv-0.24.2.tar.bz2

@ -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) {

@ -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

@ -1 +1 @@
f88419fa70cc96dfdc7e0bf3cd09b180 lilv-0.20.0.tar.bz2 SHA512 (lilv-0.24.2.tar.bz2) = b5d04b6bb1fb4d3a9a58d93b233db502dc2ded75672766a31d252abca657cbf2d170fa590c0c56159b2bac68c7af95d8787a512e318e3a0f30855504bb034659

Loading…
Cancel
Save