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