43e26455e9
- Update to 0.14.2 * Fix dynmanifest support * Add lilv_plugin_get_extension_data * Use path variables in pkgconfig files * Install man page to DATADIR (e.g. PREFIX/share/man, not PREFIX/man) * Make Lilv::uri_to_path static inline (fix linking errors) * Use correct URI for dcterms:replaces (for hiding old plugins): "http://purl.org/dc/terms/replaces" * Fix compilation on BSD * Only load dynmanifest libraries once per bundle, not once per plugin * Fix lilv_world_find_nodes to work with wildcard subjects * Add lilv_plugin_get_related to get resources related to plugins that are not directly rdfs:seeAlso linked (e.g. presets) * Add lilv_world_load_resource for related resources (e.g. presets) * Print presets in lv2info * Remove locale smashing kludges and use new serd functions for converting nodes to/from numbers. * Add LilvState API for handling plugin state. This makes it simple to save and restore plugin state both in memory and on disk, as well as save presets in a host-sharable way since the disk format is identical to the LV2 presets format. * Update old references to lv2_list (now lv2ls) * Support compilation as C++ under MSVC++. * Remove use of wordexp. * Add lilv_plugin_get_port_by_designation() and lilv_port_get_index() as an improved generic alternative to lilv_plugin_get_latency_port_index(). * Add lilv_plugin_get_project() and get author information from project if it is not given directly on the plugin. * Remove glib dependency * Add lv2core as a pkg-config dependency (for lv2.h header include) OBS-URL: https://build.opensuse.org/request/show/130641 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lilv?expand=0&rev=3
119 lines
3.4 KiB
RPMSpec
119 lines
3.4 KiB
RPMSpec
#
|
|
# spec file for package lilv
|
|
#
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%define soname 0
|
|
|
|
Name: lilv
|
|
Version: 0.14.2
|
|
Release: 0
|
|
Summary: A C library to make the use of LV2 plugins as simple as possible
|
|
License: ISC
|
|
Group: System/Libraries
|
|
Url: http://drobilla.net/software/lilv/
|
|
Source0: http://download.drobilla.net/lilv-0.14.2.tar.bz2
|
|
BuildRequires: doxygen
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: graphviz
|
|
BuildRequires: pkg-config
|
|
BuildRequires: python-devel
|
|
BuildRequires: swig
|
|
BuildRequires: pkgconfig(lv2) >= 1.0.0
|
|
BuildRequires: pkgconfig(serd-0) >= 0.14.0
|
|
BuildRequires: pkgconfig(sord-0) >= 0.8.0
|
|
BuildRequires: pkgconfig(sratom-0) >= 0.2.0
|
|
|
|
%description
|
|
A C library to make the use of LV2 plugins as simple as possible for applications.
|
|
|
|
%package -n liblilv-0-%{soname}
|
|
Summary: A C library to make the use of LV2 plugins as simple as possible
|
|
Group: System/Libraries
|
|
|
|
%description -n liblilv-0-%{soname}
|
|
A C library to make the use of LV2 plugins as simple as possible for applications.
|
|
|
|
%package -n liblilv-0-devel
|
|
Summary: Development files for liblilv
|
|
Group: Development/Libraries/C and C++
|
|
Requires: liblilv-0-%{soname} = %{version}
|
|
|
|
%description -n liblilv-0-devel
|
|
Development files for liblilv.
|
|
|
|
%package -n python-lilv
|
|
Summary: Python bindings for lilv
|
|
Group: Development/Libraries/Python
|
|
|
|
%description -n python-lilv
|
|
Python bindings for lilv.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export CFLAGS='%{optflags}'
|
|
export CXXFLAGS='%{optflags}'
|
|
./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}
|
|
|
|
%install
|
|
./waf install --destdir=%{?buildroot}
|
|
if [ %{python_sitelib} != %{python_sitearch} ]; then
|
|
mv %{buildroot}%{python_sitelib}/lilv.py %{buildroot}%{python_sitearch}/
|
|
fi
|
|
|
|
%post -n liblilv-0-%{soname} -p /sbin/ldconfig
|
|
|
|
%postun -n liblilv-0-%{soname} -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(0644,root,root,0755)
|
|
%attr(0755,-,-) %{_bindir}/lilv-bench
|
|
%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
|
|
%{_defaultdocdir}/lilv/
|
|
%{_mandir}/man3/*
|
|
|
|
%files -n python-lilv
|
|
%defattr(0644,root,root,0755)
|
|
%{python_sitearch}/lilv.py
|
|
%{python_sitearch}/_lilv.so
|
|
|
|
%changelog
|