2014-08-04 13:34:01 +02:00
|
|
|
#
|
|
|
|
# spec file for package pulseaudio-equalizer
|
|
|
|
#
|
2018-02-26 00:23:12 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-08-04 13:34:01 +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/
|
|
|
|
#
|
|
|
|
|
2014-10-20 14:15:31 +02:00
|
|
|
|
2014-08-04 13:34:01 +02:00
|
|
|
Name: pulseaudio-equalizer
|
|
|
|
Version: 2.7.0.2
|
|
|
|
Release: 0
|
|
|
|
Summary: PulseAudio's LADSPA plugin graphical user interface
|
2018-02-26 00:57:14 +01:00
|
|
|
License: GPL-3.0+
|
2014-08-04 13:34:01 +02:00
|
|
|
Group: Productivity/Multimedia/Sound/Mixers
|
2018-02-26 00:23:12 +01:00
|
|
|
Url: https://ubuntuforums.org/showthread.php?t=1308838
|
|
|
|
Source: https://launchpad.net/~nilarimogard/+archive/ubuntu/webupd8/+files/%{name}_%{version}.orig.tar.gz
|
|
|
|
# PATCH-FIX-UPSTREAM 0000-fix-python-indent.patch sor.alexei@meowr.ru -- Fix Python indentation.
|
|
|
|
Patch0: 0000-fix-python-indent.patch
|
|
|
|
# PATCH-FIX-UPSTREAM 0001-pulse-path.patch webupd8@gmail.com -- Update path to PulseAudio files to the new one.
|
|
|
|
Patch1: 0001-pulse-path.patch
|
|
|
|
# PATCH-FIX-UPSTREAM 0002-remove-preamp.patch -- Remove preamp.
|
|
|
|
Patch2: 0002-remove-preamp.patch
|
2015-04-29 23:14:20 +02:00
|
|
|
# PATCH-FIX-UPSTREAM 0003-force-default-persistence-value.patch webupd8@gmail.com -- Force default persistence value.
|
2018-02-26 00:23:12 +01:00
|
|
|
Patch3: 0003-force-default-persistence-value.patch
|
2015-04-29 23:14:20 +02:00
|
|
|
# PATCH-FIX-UPSTREAM 0004-do-not-crash-on-missing-preset.patch webupd8@gmail.com -- Do not crash on missing preset.
|
2018-02-26 00:23:12 +01:00
|
|
|
Patch4: 0004-do-not-crash-on-missing-preset.patch
|
2015-04-29 23:14:20 +02:00
|
|
|
# PATCH-FIX-UPSTREAM 0005-window-icon.patch webupd8@gmail.com -- Correct way of setting window icon.
|
2018-02-26 00:23:12 +01:00
|
|
|
Patch5: 0005-window-icon.patch
|
2015-04-29 23:14:20 +02:00
|
|
|
# PATCH-FIX-UPSTREAM 0006-fix-desktop.patch malcolmlewis@opensuse.org -- Fix .desktop file.
|
2018-02-26 00:23:12 +01:00
|
|
|
Patch6: 0006-fix-desktop.patch
|
|
|
|
# PATCH-FIX-UPSTREAM 0007-pygobject3-port.patch sor.alexei@meowr.ru -- Port to PyGObject3 and GTK+3.
|
|
|
|
Patch7: 0007-pygobject3-port.patch
|
2015-04-29 23:14:20 +02:00
|
|
|
# PATCH-FIX-UPSTREAM 0008-fix-locale-issues.patch sor.alexei@meowr.ru -- Fix issues on non-Latin systems.
|
2018-02-26 00:23:12 +01:00
|
|
|
Patch8: 0008-fix-locale-issues.patch
|
2015-04-29 23:14:20 +02:00
|
|
|
# PATCH-FIX-UPSTREAM 0009-do-not-zero-volume.patch sor.alexei@meowr.ru -- Fix volume zeroing on fresh PulseAudio.
|
2018-02-26 00:23:12 +01:00
|
|
|
Patch9: 0009-do-not-zero-volume.patch
|
2018-02-26 00:57:14 +01:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2014-08-04 13:34:01 +02:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
Requires: ladspa-swh-plugins
|
2014-10-20 14:15:31 +02:00
|
|
|
Requires: pulseaudio >= 4.0
|
|
|
|
Requires: pulseaudio-utils >= 4.0
|
2018-02-26 00:23:12 +01:00
|
|
|
Requires: python3
|
|
|
|
Requires: python3-gobject
|
2014-08-04 13:34:01 +02:00
|
|
|
BuildArch: noarch
|
2018-02-26 00:23:12 +01:00
|
|
|
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
|
|
|
|
Requires: python3-gobject-Gdk
|
|
|
|
%endif
|
2014-08-04 13:34:01 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
GUI for PulseAudio's LADSPA interface using Steve Harris' Multiband EQ
|
2018-02-26 00:23:12 +01:00
|
|
|
(mbeq_1197) plugin.
|
2014-08-04 13:34:01 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}
|
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
%patch4 -p1
|
2018-02-26 00:23:12 +01:00
|
|
|
%patch5 -p1
|
|
|
|
%patch6
|
2015-04-29 23:14:20 +02:00
|
|
|
%patch7 -p1
|
|
|
|
%patch8 -p1
|
2018-02-26 00:23:12 +01:00
|
|
|
%patch9 -p1
|
|
|
|
sed -i '/^#!/s|env python$|python3|' .%{_datadir}/%{name}/%{name}.py
|
2014-08-04 13:34:01 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
# Nothing to build.
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_bindir}/ %{buildroot}%{_datadir}/%{name}/presets/
|
2018-02-26 00:23:12 +01:00
|
|
|
install -Dpm 0755 .%{_bindir}/%{name}* %{buildroot}%{_bindir}/
|
|
|
|
install -Dpm 0755 .%{_datadir}/%{name}/%{name}.py %{buildroot}%{_bindir}/%{name}-gtk
|
|
|
|
install -Dpm 0644 .%{_datadir}/%{name}/presets/* %{buildroot}%{_datadir}/%{name}/presets/
|
|
|
|
install -Dpm 0644 .%{_datadir}/applications/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
2014-08-04 13:34:01 +02:00
|
|
|
%suse_update_desktop_file %{name}
|
|
|
|
|
2018-02-26 00:23:12 +01:00
|
|
|
%if 0%{?suse_version} < 1500
|
2014-10-20 14:19:04 +02:00
|
|
|
%post
|
|
|
|
%desktop_database_post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%desktop_database_postun
|
2018-02-26 00:23:12 +01:00
|
|
|
%endif
|
2014-10-20 14:19:04 +02:00
|
|
|
|
2014-08-04 13:34:01 +02:00
|
|
|
%files
|
|
|
|
%{_bindir}/%{name}*
|
|
|
|
%{_datadir}/%{name}/
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
%changelog
|