2011-06-06 20:19:50 +02:00
|
|
|
#
|
2012-08-11 12:56:37 +02:00
|
|
|
# spec file for package lilv
|
2011-06-06 20:19:50 +02:00
|
|
|
#
|
2015-01-30 13:42:08 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-06-06 20:19:50 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-08-11 12:56:37 +02:00
|
|
|
|
|
|
|
%define soname 0
|
2011-06-06 20:19:50 +02:00
|
|
|
|
|
|
|
Name: lilv
|
2015-12-09 07:58:44 +01:00
|
|
|
Version: 0.22.0
|
2012-08-11 12:56:37 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: A C library to make the use of LV2 plugins as simple as possible
|
|
|
|
License: ISC
|
2011-06-06 20:19:50 +02:00
|
|
|
Group: System/Libraries
|
2012-08-11 12:56:37 +02:00
|
|
|
Url: http://drobilla.net/software/lilv/
|
2012-08-27 01:14:23 +02:00
|
|
|
Source0: http://download.drobilla.net/lilv-%{version}.tar.bz2
|
2015-12-09 07:58:44 +01:00
|
|
|
Source99: lilv-rpmlintrc
|
|
|
|
# Patch backported from v 0.22.1 http://dev.drobilla.net/changeset/5759
|
|
|
|
Patch0: lilv-python-bindings-fix.diff
|
2012-08-11 12:56:37 +02:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: graphviz
|
2015-12-11 08:45:35 +01:00
|
|
|
BuildRequires: libsord-0-devel >= 0.13.0
|
2012-08-11 12:56:37 +02:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: python-devel
|
2014-07-16 17:31:10 +02:00
|
|
|
BuildRequires: python-numpy-devel
|
2012-08-11 12:56:37 +02:00
|
|
|
BuildRequires: swig
|
2014-07-16 17:31:10 +02:00
|
|
|
BuildRequires: pkgconfig(lv2) >= 1.8.0
|
2012-08-11 12:56:37 +02:00
|
|
|
BuildRequires: pkgconfig(serd-0) >= 0.14.0
|
2014-07-16 17:31:10 +02:00
|
|
|
BuildRequires: pkgconfig(sratom-0) >= 0.4.0
|
2011-06-06 20:19:50 +02:00
|
|
|
|
|
|
|
%description
|
2012-08-11 12:56:37 +02:00
|
|
|
A C library to make the use of LV2 plugins as simple as possible for applications.
|
2011-06-06 20:19:50 +02:00
|
|
|
|
2012-08-11 12:56:37 +02:00
|
|
|
%package -n liblilv-0-%{soname}
|
|
|
|
Summary: A C library to make the use of LV2 plugins as simple as possible
|
2011-06-06 20:19:50 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2012-08-11 12:56:37 +02:00
|
|
|
%description -n liblilv-0-%{soname}
|
|
|
|
A C library to make the use of LV2 plugins as simple as possible for applications.
|
2011-06-06 20:19:50 +02:00
|
|
|
|
2012-08-11 12:56:37 +02:00
|
|
|
%package -n liblilv-0-devel
|
|
|
|
Summary: Development files for liblilv
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: liblilv-0-%{soname} = %{version}
|
2011-06-06 20:19:50 +02:00
|
|
|
|
2012-08-11 12:56:37 +02:00
|
|
|
%description -n liblilv-0-devel
|
|
|
|
Development files for liblilv.
|
2015-12-09 07:58:44 +01:00
|
|
|
Lilv is a C library to make the use of LV2 plugins as simple as possible for applications.
|
2011-06-06 20:19:50 +02:00
|
|
|
|
2012-08-11 12:56:37 +02:00
|
|
|
%package -n python-lilv
|
|
|
|
Summary: Python bindings for lilv
|
|
|
|
Group: Development/Libraries/Python
|
2011-06-06 20:19:50 +02:00
|
|
|
|
2012-08-11 12:56:37 +02:00
|
|
|
%description -n python-lilv
|
|
|
|
Python bindings for lilv.
|
2015-12-09 07:58:44 +01:00
|
|
|
Lilv is a C library to make the use of LV2 plugins as simple as possible for applications.
|
2011-06-06 20:19:50 +02:00
|
|
|
|
|
|
|
%prep
|
2012-08-11 12:56:37 +02:00
|
|
|
%setup -q
|
2015-12-09 07:58:44 +01:00
|
|
|
%patch0 -p1
|
2011-06-06 20:19:50 +02:00
|
|
|
|
|
|
|
%build
|
2014-07-16 17:31:10 +02:00
|
|
|
# TODO: The numpy path here is a hack. Check how to properly fix it.
|
|
|
|
export CFLAGS='%{optflags} -I%{python_sitearch}/numpy/core/include/'
|
|
|
|
export CXXFLAGS='%{optflags} -I%{python_sitearch}/numpy/core/include/'
|
2012-08-11 12:56:37 +02:00
|
|
|
./waf configure \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--docdir=%{_defaultdocdir} \
|
|
|
|
--configdir=%{_sysconfdir} \
|
|
|
|
--bindings \
|
|
|
|
--docs
|
|
|
|
# waf only understands -j, so do not use smp_mflags
|
|
|
|
./waf build -v %{?jobs:-j%jobs}
|
2011-06-06 20:19:50 +02:00
|
|
|
|
|
|
|
%install
|
2012-08-11 12:56:37 +02:00
|
|
|
./waf install --destdir=%{?buildroot}
|
|
|
|
if [ %{python_sitelib} != %{python_sitearch} ]; then
|
|
|
|
mv %{buildroot}%{python_sitelib}/lilv.py %{buildroot}%{python_sitearch}/
|
|
|
|
fi
|
2011-06-06 20:19:50 +02:00
|
|
|
|
2012-08-11 12:56:37 +02:00
|
|
|
%post -n liblilv-0-%{soname} -p /sbin/ldconfig
|
2011-06-06 20:19:50 +02:00
|
|
|
|
2012-08-11 12:56:37 +02:00
|
|
|
%postun -n liblilv-0-%{soname} -p /sbin/ldconfig
|
2011-06-06 20:19:50 +02:00
|
|
|
|
|
|
|
%files
|
2012-08-11 12:56:37 +02:00
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%attr(0755,-,-) %{_bindir}/lilv-bench
|
2012-08-27 01:14:23 +02:00
|
|
|
%attr(0755,-,-) %{_bindir}/lv2bench
|
2012-08-11 12:56:37 +02:00
|
|
|
%attr(0755,-,-) %{_bindir}/lv2info
|
|
|
|
%attr(0755,-,-) %{_bindir}/lv2ls
|
|
|
|
%{_mandir}/man1/lv2info.1*
|
|
|
|
%{_mandir}/man1/lv2ls.1*
|
|
|
|
%{_sysconfdir}/bash_completion.d/lilv
|
|
|
|
|
|
|
|
%files -n liblilv-0-%{soname}
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%doc AUTHORS COPYING NEWS README
|
|
|
|
%{_libdir}/liblilv-0.so.%{soname}*
|
|
|
|
|
|
|
|
%files -n liblilv-0-devel
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%{_libdir}/liblilv-0.so
|
|
|
|
%{_includedir}/lilv-0/
|
|
|
|
%{_libdir}/pkgconfig/lilv-0.pc
|
2013-09-06 16:04:22 +02:00
|
|
|
%{_defaultdocdir}/lilv-0/
|
2011-06-06 20:19:50 +02:00
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
2012-08-11 12:56:37 +02:00
|
|
|
%files -n python-lilv
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%{python_sitearch}/lilv.py
|
|
|
|
%{python_sitearch}/_lilv.so
|
2011-06-06 20:19:50 +02:00
|
|
|
|
|
|
|
%changelog
|