File xfce4-mixer.spec of Package xfce4-mixer
#
# spec file for package xfce4-mixer
#
# Copyright (c) 2014 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 panel_version 4.10.0
Name: xfce4-mixer
Version: 4.11.0
Release: 0
Summary: Volume Control Application for the Xfce Desktop Environment
License: GPL-2.0+
Group: Productivity/Multimedia/Sound/Mixers
Url: http://www.xfce.org/
Source: http://archive.xfce.org/src/apps/xfce4-mixer/4.11/xfce4-mixer-%{version}.tar.bz2
Source100: %{name}-rpmlintrc
BuildRequires: intltool
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(keybinder)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libxfce4panel-1.0)
BuildRequires: pkgconfig(libxfce4ui-1)
BuildRequires: pkgconfig(libxfce4util-1.0)
BuildRequires: pkgconfig(libxfconf-0)
BuildRequires: pkgconfig(unique-1.0)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: gstreamer-0_10-plugins-base
Recommends: %{name}-lang = %{version}
Suggests: xfce4-panel-plugin-mixer
%description
xfce4-mixer is a volume control application for the Xfce desktop
environment.
%package -n xfce4-panel-plugin-mixer
Summary: Volume Control Plugin for the Xfce Panel
Group: Productivity/Multimedia/Sound/Mixers
Requires: %{name} = %{version}
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-mixer
This package contains the xfce4-mixer Xfce panel plugin.
%lang_package
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%make_install
rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,tl_PH,ur_PK}
rm -f %{buildroot}%{_libdir}/xfce4/panel/plugins/libmixer.la
%find_lang %{name} %{?no_lang_C}
%suse_update_desktop_file -i xfce4-mixer Settings DesktopSettings
%post
%desktop_database_post
%postun
%desktop_database_postun
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/xfce4-mixer
%{_datadir}/applications/*.desktop
%dir %{_datadir}/xfce4-mixer
%{_datadir}/xfce4-mixer/icons
%{_datadir}/pixmaps/xfce4-mixer/
%{_mandir}/man1/xfce4-mixer.1*
%files -n xfce4-panel-plugin-mixer
%defattr(-,root,root)
%{_libdir}/xfce4/panel/plugins/libmixer.so
%{_datadir}/xfce4/panel/plugins/mixer.desktop
%files lang -f %{name}.lang
%changelog