d397a88
# Review at https://bugzilla.redhat.com/show_bug.cgi?id=722914
d397a88
d397a88
Name:           volumeicon
1b8093c
Version:        0.4.6
aeddc05
Release:        6%{?dist}
d397a88
Summary:        Lightweight volume control for the system tray
d397a88
d397a88
License:        GPLv3
d397a88
URL:            http://www.softwarebakery.com/maato/volumeicon.html
d397a88
Source0:        http://www.softwarebakery.com/maato/files/volumeicon/volumeicon-%{version}.tar.gz
d397a88
# Source1 was borrowed from gnome-media package and adjusted for our needs
d397a88
Source1:        %{name}.desktop
c8923b9
# Use pavucontrol by default in Fedora. Not upstreamed.
c8923b9
# Do not hardcode card hw:0. Submitted upstream by mail on 2012-01-14. Accepted.
c8923b9
Patch0:         %{name}-0.4.5-default-config.patch
8c71401
# Fix build error on Fedora. Received by mail from upstream on 2012-01-19.
8c71401
Patch1:         %{name}-0.4.6-fedora.patch
d397a88
d397a88
BuildRequires:  alsa-lib-devel
d397a88
BuildRequires:  desktop-file-utils
d397a88
BuildRequires:  gtk2-devel
d397a88
BuildRequires:  keybinder-devel
c8923b9
BuildRequires:  libnotify-devel >= 0.5.0
d397a88
d397a88
%description
d397a88
Volume Icon aims to be a lightweight volume control that sits in your system
d397a88
tray.
d397a88
d397a88
Features:
d397a88
* Change volume by scrolling on the systray icon
d397a88
* Ability to choose which channel to control
d397a88
* Configurable stepsize
d397a88
* Several icon themes
d397a88
* Configurable external mixer
d397a88
* Volume slider
d397a88
* Hotkey support
d397a88
d397a88
%prep
d397a88
%setup -q
8c71401
%patch0 -p1 -b .default
8c71401
%patch1 -p1 -b .default
d397a88
d397a88
d397a88
%build
c8923b9
%configure --enable-notify
d397a88
make %{?_smp_mflags}
d397a88
d397a88
d397a88
%install
d397a88
rm -rf %{buildroot}
d397a88
make install DESTDIR=%{buildroot} INSTALL='install -p'
d397a88
d397a88
desktop-file-install --dir=%{buildroot}%{_sysconfdir}/xdg/autostart %{SOURCE1}
d397a88
d397a88
%clean
d397a88
rm -rf %{buildroot}
d397a88
d397a88
d397a88
%files
d397a88
%defattr(-,root,root,-)
d397a88
%doc AUTHORS ChangeLog COPYING 
d397a88
%config(noreplace) %{_sysconfdir}/xdg/autostart/%{name}.desktop
d397a88
%{_bindir}/%{name}
d397a88
%{_datadir}/%{name}/
d397a88
d397a88
%changelog
aeddc05
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.6-6
aeddc05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
aeddc05
51f2db0
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.6-5
51f2db0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
51f2db0
eafde90
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.6-4
eafde90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
eafde90
6d01276
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.6-3
6d01276
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6d01276
e309787
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.6-2
e309787
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e309787
1b8093c
* Sat Jan 28 2012 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.6-1
1b8093c
- Update to 0.4.6. Uses 'default' ALSA device now
1b8093c
0c20de3
* Sat Jan 28 2012 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.5-3
0c20de3
- Temporarily revert "Use default ALSA device rather than hardcoded 'hw:0'"
0c20de3
  for we don't want this in F16
0c20de3
8c71401
* Sat Jan 28 2012 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.5-2
8c71401
- Fix build error on rawhide
8c71401
c8923b9
* Sat Jan 14 2012 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.5-1
c8923b9
- Update ot 0.4.5 (#781649)
c8923b9
- Enable libnotify support (#781642)
c8923b9
- Drop upstreamed DSO fix
0c20de3
- Use default ALSA device rather than hardcoded 'hw:0'
c8923b9
fec713d
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-5
fec713d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
fec713d
63666f6
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.4.1-4
63666f6
- Rebuild for new libpng
63666f6
c574290
* Thu Aug 11 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.1-3
c574290
- Fix application name in desktop file
c574290
d397a88
* Wed Jul 20 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.1-2
d397a88
- Fixes as per package review: Fix license tag, add defattr, drop README, fix
d397a88
  typo and add some comments (#722914)
d397a88
d397a88
* Fri Jul 01 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.1-1
d397a88
- Inital package