Accepting request 454006 from home:jengelh:branches:multimedia:libs
- Rename soname to sover to better reflect its use - Update descriptions/ensure neutral POV - Since there is no %pre section, replace questionable Requires(pre) by Requires. OBS-URL: https://build.opensuse.org/request/show/454006 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lilv?expand=0&rev=25
This commit is contained in:
parent
51750cbd83
commit
f0064adc23
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 2 01:11:33 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Rename soname to sover to better reflect its use
|
||||||
|
- Update descriptions
|
||||||
|
- Since there is no %pre section, replace questionable
|
||||||
|
Requires(pre) by Requires.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 12 08:32:04 UTC 2017 - olaf@aepfle.de
|
Thu Jan 12 08:32:04 UTC 2017 - olaf@aepfle.de
|
||||||
|
|
||||||
|
45
lilv.spec
45
lilv.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package lilv
|
# spec file for package lilv
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,15 +16,15 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define soname 0
|
%define sover 0
|
||||||
%define sordversion %(pkg-config --modversion sord-0)
|
%define sordversion %(pkg-config --modversion sord-0)
|
||||||
|
|
||||||
Name: lilv
|
Name: lilv
|
||||||
Version: 0.22.0
|
Version: 0.22.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A C library to make the use of LV2 plugins as simple as possible
|
Summary: C library to make use of LV2 plugins
|
||||||
License: ISC
|
License: ISC
|
||||||
Group: System/Libraries
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://drobilla.net/software/lilv/
|
Url: http://drobilla.net/software/lilv/
|
||||||
Source0: http://download.drobilla.net/lilv-%{version}.tar.bz2
|
Source0: http://download.drobilla.net/lilv-%{version}.tar.bz2
|
||||||
Source98: baselibs.conf
|
Source98: baselibs.conf
|
||||||
@ -33,7 +33,7 @@ Source99: lilv-rpmlintrc
|
|||||||
Patch0: lilv-python-bindings-fix.diff
|
Patch0: lilv-python-bindings-fix.diff
|
||||||
|
|
||||||
# lilv 0.22 require new API of sord 0.13
|
# lilv 0.22 require new API of sord 0.13
|
||||||
# Since sord soname unchanged from 0.12, explicitly require here.
|
# Since sord sover unchanged from 0.12, explicitly require here.
|
||||||
|
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -46,37 +46,36 @@ BuildRequires: pkgconfig(lv2) >= 1.8.0
|
|||||||
BuildRequires: pkgconfig(serd-0) >= 0.14.0
|
BuildRequires: pkgconfig(serd-0) >= 0.14.0
|
||||||
BuildRequires: pkgconfig(sord-0) >= 0.13
|
BuildRequires: pkgconfig(sord-0) >= 0.13
|
||||||
BuildRequires: pkgconfig(sratom-0) >= 0.4.0
|
BuildRequires: pkgconfig(sratom-0) >= 0.4.0
|
||||||
Requires(pre): liblilv-0-%{soname} = %{version}
|
Requires(pre): liblilv-0-%{sover} = %{version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A C library to make the use of LV2 plugins as simple as possible for applications.
|
Lilv is a C library to make use of LV2 plugins in applications.
|
||||||
|
|
||||||
%package -n liblilv-0-%{soname}
|
%package -n liblilv-0-%{sover}
|
||||||
Summary: A C library to make the use of LV2 plugins as simple as possible
|
Summary: C library to make use of LV2 plugins
|
||||||
Group: System/Libraries
|
|
||||||
# NOTE: This is the only way to ensure that the correct version of sord is installed.
|
# NOTE: This is the only way to ensure that the correct version of sord is installed.
|
||||||
# rpmbuild ignores the Requires: tag here.
|
Group: System/Libraries
|
||||||
Requires(pre): libsord-0-0 = %{sordversion}
|
Requires: libsord-0-0 = %{sordversion}
|
||||||
|
|
||||||
%description -n liblilv-0-%{soname}
|
%description -n liblilv-0-%{sover}
|
||||||
A C library to make the use of LV2 plugins as simple as possible for applications.
|
Lilv is a C library to make use of LV2 plugins in applications.
|
||||||
|
|
||||||
%package -n liblilv-0-devel
|
%package -n liblilv-0-devel
|
||||||
Summary: Development files for liblilv
|
Summary: Development files for liblilv
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: liblilv-0-%{soname} = %{version}
|
Requires: liblilv-0-%{sover} = %{version}
|
||||||
|
|
||||||
%description -n liblilv-0-devel
|
%description -n liblilv-0-devel
|
||||||
Development files for liblilv.
|
Lilv is a C library to make use of LV2 plugins in applications.
|
||||||
Lilv is a C library to make the use of LV2 plugins as simple as possible for applications.
|
This subpackage contains the development files for liblilv.
|
||||||
|
|
||||||
%package -n python-lilv
|
%package -n python-lilv
|
||||||
Summary: Python bindings for lilv
|
Summary: Python bindings for lilv
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
|
|
||||||
%description -n python-lilv
|
%description -n python-lilv
|
||||||
Python bindings for lilv.
|
Lilv is a C library to make use of LV2 plugins in applications.
|
||||||
Lilv is a C library to make the use of LV2 plugins as simple as possible for applications.
|
This subpackage contains the Python bindings for lilv.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -103,9 +102,9 @@ if [ %{python_sitelib} != %{python_sitearch} ]; then
|
|||||||
mv %{buildroot}%{python_sitelib}/lilv.py %{buildroot}%{python_sitearch}/
|
mv %{buildroot}%{python_sitelib}/lilv.py %{buildroot}%{python_sitearch}/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%post -n liblilv-0-%{soname} -p /sbin/ldconfig
|
%post -n liblilv-0-%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n liblilv-0-%{soname} -p /sbin/ldconfig
|
%postun -n liblilv-0-%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
@ -117,10 +116,10 @@ fi
|
|||||||
%{_mandir}/man1/lv2ls.1*
|
%{_mandir}/man1/lv2ls.1*
|
||||||
%{_sysconfdir}/bash_completion.d/lilv
|
%{_sysconfdir}/bash_completion.d/lilv
|
||||||
|
|
||||||
%files -n liblilv-0-%{soname}
|
%files -n liblilv-0-%{sover}
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%doc AUTHORS COPYING NEWS README
|
%doc AUTHORS COPYING NEWS README
|
||||||
%{_libdir}/liblilv-0.so.%{soname}*
|
%{_libdir}/liblilv-0.so.%{sover}*
|
||||||
|
|
||||||
%files -n liblilv-0-devel
|
%files -n liblilv-0-devel
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
|
Loading…
Reference in New Issue
Block a user