2012-10-08 20:32:35 +02:00
|
|
|
#
|
|
|
|
# spec file for package kmix
|
|
|
|
#
|
2015-02-11 16:43:29 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-10-08 20:32:35 +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
|
2012-11-08 07:44:53 +01:00
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
2012-10-08 20:32:35 +02:00
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: kmix
|
|
|
|
BuildRequires: alsa-devel
|
2012-11-08 07:44:53 +01:00
|
|
|
BuildRequires: glib2-devel
|
2012-10-08 20:32:35 +02:00
|
|
|
BuildRequires: libcanberra-devel
|
|
|
|
BuildRequires: libkde4-devel
|
|
|
|
BuildRequires: libpulse-devel
|
|
|
|
BuildRequires: xz
|
2012-11-08 07:44:53 +01:00
|
|
|
Summary: Sound Mixer
|
2012-10-08 20:32:35 +02:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Multimedia/Sound/Mixers
|
|
|
|
Url: http://www.kde.org
|
2015-03-11 09:50:13 +01:00
|
|
|
Version: 14.12.3
|
2012-11-08 07:44:53 +01:00
|
|
|
Release: 0
|
2012-10-08 20:32:35 +02:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2013-09-26 11:46:25 +02:00
|
|
|
# PATCH-FIX-OPENSUSE Who-needs-event-slider.patch -- since KNotify will no longer be able pretending it can
|
|
|
|
# control volume, also remove the Event slider within KMix
|
|
|
|
Patch0: Who-needs-event-slider.patch
|
2014-11-29 08:39:43 +01:00
|
|
|
Patch1: kmix-4.14.3-fix-bashisms.patch
|
2012-10-08 20:32:35 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%kde4_runtime_requires
|
|
|
|
|
|
|
|
%description
|
|
|
|
KDE's full featured mini mixer
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2013-12-02 12:33:12 +01:00
|
|
|
%if 0%{?suse_version} >= 1310
|
2013-09-26 11:46:25 +02:00
|
|
|
%patch0 -p1
|
2013-12-02 12:33:12 +01:00
|
|
|
%endif
|
2014-11-29 08:39:43 +01:00
|
|
|
%patch1 -p1
|
2012-10-08 20:32:35 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kde4 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
pushd build
|
2012-12-07 14:30:14 +01:00
|
|
|
%kde4_makeinstall
|
2012-10-08 20:32:35 +02:00
|
|
|
popd
|
|
|
|
%suse_update_desktop_file kmix AudioVideo Mixer
|
|
|
|
%kde_post_install
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_kde4_applicationsdir}/kmix.desktop
|
|
|
|
%{_kde4_appsdir}/kmix/
|
|
|
|
%{_kde4_bindir}/kmix
|
|
|
|
%{_kde4_bindir}/kmixctrl
|
2014-03-18 16:39:24 +01:00
|
|
|
%{_kde4_bindir}/kmixremote
|
2012-10-08 20:32:35 +02:00
|
|
|
%{_kde4_datadir}/autostart/kmix_autostart.desktop
|
|
|
|
%{_kde4_datadir}/autostart/restore_kmix_volumes.desktop
|
|
|
|
%{_kde4_datadir}/dbus-1/interfaces/org.kde.kmix.*
|
|
|
|
%{_kde4_htmldir}/en/kmix/
|
|
|
|
%{_kde4_iconsdir}/hicolor/*/apps/kmix.*
|
|
|
|
%{_kde4_libdir}/libkdeinit4_kmix.so
|
|
|
|
%{_kde4_libdir}/libkdeinit4_kmixctrl.so
|
|
|
|
%{_kde4_modulesdir}/kded_kmixd.so
|
|
|
|
%{_kde4_servicesdir}/kded/kmixd.desktop
|
|
|
|
%{_kde4_servicesdir}/kmixctrl_restore.desktop
|
|
|
|
|
|
|
|
%changelog
|