Files
volumeicon/volumeicon.spec

72 lines
2.1 KiB
RPMSpec

#
# spec file for package volumeicon
#
# 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: volumeicon
Version: 0.5.1
Release: 0
License: GPL-3.0
Summary: Lightweight volume control for the system tray
Url: http://www.softwarebakery.com/maato/volumeicon.html
Group: Productivity/Multimedia/Sound/Mixers
Source: %{name}-%{version}.tar.gz
Source1: %{name}.desktop
BuildRequires: alsa-devel
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: keybinder-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libnotify) >= 0.5.0
%description
Volume Icon aims to be a lightweight volume control that sits in your system
tray.
Features:
* Change volume by scrolling on the systray icon
* Ability to choose which channel to control
* Configurable stepsize
* Several icon themes
* Configurable external mixer
* Volume slider
* Hotkey support
%prep
%setup -q
%build
%configure --enable-notify
make %{?_smp_mflags}
%install
%make_install
mkdir -p %{buildroot}/%{_sysconfdir}/xdg/autostart
install %{SOURCE1} %{buildroot}/%{_sysconfdir}/xdg/autostart/
%suse_update_desktop_file %{buildroot}/%{_sysconfdir}/xdg/autostart/%{name}.desktop
%find_lang %{name}
%fdupes %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING
%{_bindir}/%{name}
%{_datadir}/%{name}
%config(noreplace) %{_sysconfdir}/xdg/autostart/%{name}.desktop
%changelog