File kmix.spec of Package kmix.4440

#
# spec file for package kmix
#
# Copyright (c) 2013 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/
#


Name:           kmix
BuildRequires:  alsa-devel
BuildRequires:  glib2-devel
BuildRequires:  libcanberra-devel
BuildRequires:  libkde4-devel
BuildRequires:  libpulse-devel
BuildRequires:  xz
Summary:        Sound Mixer
License:        GPL-2.0+
Group:          Productivity/Multimedia/Sound/Mixers
Url:            http://www.kde.org
Version:        4.11.5
Release:        0
Source0:        %{name}-%{version}.tar.xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires

%description
KDE's full featured mini mixer

%prep
%setup -q

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  pushd build
  %kde4_makeinstall
  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_appsdir}/plasma/
%{_kde4_bindir}/kmix
%{_kde4_bindir}/kmixctrl
%{_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_modulesdir}/plasma_engine_mixer.so
%{_kde4_servicesdir}/kded/kmixd.desktop
%{_kde4_servicesdir}/kmixctrl_restore.desktop
%{_kde4_servicesdir}/plasma-engine-mixer.desktop

%changelog
openSUSE Build Service is sponsored by