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
|
|
|
#
|
2022-04-24 06:48:38 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
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.
|
|
|
|
|
2018-09-14 13:24:54 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-06-06 20:19:50 +02:00
|
|
|
#
|
|
|
|
|
2012-08-11 12:56:37 +02:00
|
|
|
|
2022-04-24 06:48:38 +02:00
|
|
|
%bcond_with docs
|
2017-02-02 05:47:12 +01:00
|
|
|
%define sover 0
|
2015-12-19 08:56:44 +01:00
|
|
|
%define sordversion %(pkg-config --modversion sord-0)
|
2019-12-11 13:29:49 +01:00
|
|
|
%define serdversion %(pkg-config --modversion serd-0)
|
2011-06-06 20:19:50 +02:00
|
|
|
Name: lilv
|
2023-05-01 09:08:19 +02:00
|
|
|
Version: 0.24.20
|
2012-08-11 12:56:37 +02:00
|
|
|
Release: 0
|
2017-02-02 05:47:12 +01:00
|
|
|
Summary: C library to make use of LV2 plugins
|
2012-08-11 12:56:37 +02:00
|
|
|
License: ISC
|
2017-02-02 05:47:12 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2022-04-24 06:48:38 +02:00
|
|
|
URL: https://drobilla.net/software/lilv.html
|
2023-05-01 09:08:19 +02:00
|
|
|
Source0: https://download.drobilla.net/lilv-%{version}.tar.xz
|
2015-12-09 07:58:44 +01:00
|
|
|
Source99: lilv-rpmlintrc
|
2022-04-24 06:48:38 +02:00
|
|
|
Source98: baselibs.conf
|
2012-08-11 12:56:37 +02:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: graphviz
|
2023-05-01 09:08:19 +02:00
|
|
|
BuildRequires: meson
|
2017-11-03 16:51:41 +01:00
|
|
|
BuildRequires: pkgconfig
|
2022-04-24 06:48:38 +02:00
|
|
|
%if %{with docs}
|
|
|
|
BuildRequires: python3-Sphinx
|
|
|
|
BuildRequires: python3-sphinx_lv2_theme
|
|
|
|
%endif
|
2017-11-03 16:51:41 +01:00
|
|
|
BuildRequires: python3-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
|
2019-12-08 11:03:09 +01:00
|
|
|
BuildRequires: pkgconfig(serd-0) >= 0.30.0
|
2017-11-03 10:40:25 +01:00
|
|
|
BuildRequires: pkgconfig(sndfile)
|
2015-12-19 08:56:44 +01:00
|
|
|
BuildRequires: pkgconfig(sord-0) >= 0.13
|
2014-07-16 17:31:10 +02:00
|
|
|
BuildRequires: pkgconfig(sratom-0) >= 0.4.0
|
2018-09-14 13:24:54 +02:00
|
|
|
# lilv 0.22 require new API of sord 0.13
|
|
|
|
# Since sord sover unchanged from 0.12, explicitly require here.
|
|
|
|
Requires(pre): liblilv-0-%{sover} = %{version}
|
2011-06-06 20:19:50 +02:00
|
|
|
|
|
|
|
%description
|
2017-02-02 05:47:12 +01:00
|
|
|
Lilv is a C library to make use of LV2 plugins in applications.
|
2011-06-06 20:19:50 +02:00
|
|
|
|
2017-02-02 05:47:12 +01:00
|
|
|
%package -n liblilv-0-%{sover}
|
|
|
|
Summary: C library to make use of LV2 plugins
|
2019-12-11 13:29:49 +01:00
|
|
|
# NOTE: This is the only way to ensure that the correct version of sord and serd is installed.
|
|
|
|
# See boo#1158728
|
2017-02-02 05:47:12 +01:00
|
|
|
Group: System/Libraries
|
2019-12-11 13:29:49 +01:00
|
|
|
Requires: libserd-0-0 = %{serdversion}
|
2017-02-02 05:47:12 +01:00
|
|
|
Requires: libsord-0-0 = %{sordversion}
|
2011-06-06 20:19:50 +02:00
|
|
|
|
2017-02-02 05:47:12 +01:00
|
|
|
%description -n liblilv-0-%{sover}
|
|
|
|
Lilv is a C library to make use of LV2 plugins in applications.
|
2011-06-06 20:19:50 +02:00
|
|
|
|
2017-11-04 13:09:37 +01:00
|
|
|
%package -n liblilv-0-devel
|
2012-08-11 12:56:37 +02:00
|
|
|
Summary: Development files for liblilv
|
|
|
|
Group: Development/Libraries/C and C++
|
2017-02-02 05:47:12 +01:00
|
|
|
Requires: liblilv-0-%{sover} = %{version}
|
2011-06-06 20:19:50 +02:00
|
|
|
|
2017-11-04 13:09:37 +01:00
|
|
|
%description -n liblilv-0-devel
|
2017-02-02 05:47:12 +01:00
|
|
|
Lilv is a C library to make use of LV2 plugins in applications.
|
|
|
|
This subpackage contains the development files for liblilv.
|
2011-06-06 20:19:50 +02:00
|
|
|
|
2017-11-03 16:51:41 +01:00
|
|
|
%package -n python3-lilv
|
|
|
|
Summary: Python 3 bindings for lilv
|
2012-08-11 12:56:37 +02:00
|
|
|
Group: Development/Libraries/Python
|
2023-05-01 09:08:19 +02:00
|
|
|
Requires: liblilv-0-%{sover} = %{version}
|
2011-06-06 20:19:50 +02:00
|
|
|
|
2017-11-03 16:51:41 +01:00
|
|
|
%description -n python3-lilv
|
2017-02-02 05:47:12 +01:00
|
|
|
Lilv is a C library to make use of LV2 plugins in applications.
|
2017-11-03 16:51:41 +01:00
|
|
|
This subpackage contains the Python 3 bindings for lilv.
|
2011-06-06 20:19:50 +02:00
|
|
|
|
|
|
|
%prep
|
2012-08-11 12:56:37 +02:00
|
|
|
%setup -q
|
2015-12-19 08:56:44 +01:00
|
|
|
echo %{sordversion}
|
2011-06-06 20:19:50 +02:00
|
|
|
|
|
|
|
%build
|
2023-05-01 09:08:19 +02:00
|
|
|
%meson -Ddocs=disabled
|
|
|
|
|
|
|
|
%meson_build
|
2011-06-06 20:19:50 +02:00
|
|
|
|
|
|
|
%install
|
2023-05-01 09:08:19 +02:00
|
|
|
%meson_install
|
2022-04-24 06:48:38 +02:00
|
|
|
# Fix E: filelist-forbidden-bashcomp-userdirs /etc/bash_completion.d/lilv
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
|
|
|
|
mv %{buildroot}%{_sysconfdir}/bash_completion.d/lilv %{buildroot}%{_datadir}/bash-completion/completions/
|
|
|
|
rmdir %{buildroot}%{_sysconfdir}/bash_completion.d
|
2011-06-06 20:19:50 +02:00
|
|
|
|
2017-02-02 05:47:12 +01:00
|
|
|
%post -n liblilv-0-%{sover} -p /sbin/ldconfig
|
|
|
|
%postun -n liblilv-0-%{sover} -p /sbin/ldconfig
|
2011-06-06 20:19:50 +02:00
|
|
|
|
|
|
|
%files
|
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
|
2017-11-03 10:34:08 +01:00
|
|
|
%attr(0755,-,-) %{_bindir}/lv2apply
|
2019-12-04 09:48:45 +01:00
|
|
|
%doc AUTHORS NEWS README.md
|
2023-05-01 09:08:19 +02:00
|
|
|
%{_mandir}/man1/lv2bench.1%{?ext_man}
|
2018-09-14 13:24:54 +02:00
|
|
|
%{_mandir}/man1/lv2info.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/lv2ls.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/lv2apply.1%{?ext_man}
|
2022-04-24 06:48:38 +02:00
|
|
|
%{_datadir}/bash-completion/completions/%{name}
|
2012-08-11 12:56:37 +02:00
|
|
|
|
2017-02-02 05:47:12 +01:00
|
|
|
%files -n liblilv-0-%{sover}
|
2018-09-14 13:24:54 +02:00
|
|
|
%license COPYING
|
2017-02-02 05:47:12 +01:00
|
|
|
%{_libdir}/liblilv-0.so.%{sover}*
|
2012-08-11 12:56:37 +02:00
|
|
|
|
2017-11-04 13:09:37 +01:00
|
|
|
%files -n liblilv-0-devel
|
2022-04-24 06:48:38 +02:00
|
|
|
%{_libdir}/pkgconfig/lilv-0.pc
|
2012-08-11 12:56:37 +02:00
|
|
|
%{_libdir}/liblilv-0.so
|
|
|
|
%{_includedir}/lilv-0/
|
2022-04-24 06:48:38 +02:00
|
|
|
%if %{with docs}
|
2013-09-06 16:04:22 +02:00
|
|
|
%{_defaultdocdir}/lilv-0/
|
2011-06-06 20:19:50 +02:00
|
|
|
%{_mandir}/man3/*
|
2022-04-24 06:48:38 +02:00
|
|
|
%endif
|
2011-06-06 20:19:50 +02:00
|
|
|
|
2017-11-03 16:51:41 +01:00
|
|
|
%files -n python3-lilv
|
2023-05-01 09:08:19 +02:00
|
|
|
%{python3_sitelib}/lilv.py
|
2011-06-06 20:19:50 +02:00
|
|
|
|
|
|
|
%changelog
|