xfce4-volumed-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. Name: xfce4-volumed
  2. Version: 0.1.13
  3. Release: 1%{?_dist_release}
  4. Summary: Daemon to add additional functionality to the volume keys of the keyboard
  5. Group: User Interface/Desktops
  6. License: GPLv3+
  7. URL: https://launchpad.net/xfce4-volumed
  8. Source0: http://archive.xfce.org/src/apps/%{name}/0.1/%{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildRequires: xfconf-devel
  11. BuildRequires: keybinder-devel
  12. BuildRequires: libnotify-devel
  13. BuildRequires: gstreamer-plugins-base-devel
  14. BuildRequires: desktop-file-utils
  15. Requires: xfce4-mixer
  16. %description
  17. The xfce4-volumed adds additional functionality to the volume up/down and mute
  18. keys of the keyboard. It makes the keys work without configuration and uses
  19. the XFCE 4 mixer's defined card and track for choosing which track to act on.
  20. The volume level is shown in a notification.
  21. %prep
  22. %setup -q
  23. echo "Icon=multimedia-volume-control" >> data/%{name}.desktop
  24. %build
  25. %configure
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. make install DESTDIR=$RPM_BUILD_ROOT
  30. desktop-file-install \
  31. --add-category="Utility" \
  32. --dir=$RPM_BUILD_ROOT/%{_datadir}/applications \
  33. $RPM_BUILD_ROOT/%{_sysconfdir}/xdg/autostart/%{name}.desktop
  34. # one launcher is enough, we don't want to have a daemon in the menu
  35. rm -rf $RPM_BUILD_ROOT/%{_datadir}/applications/
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc AUTHORS ChangeLog COPYING README THANKS
  41. %config %{_sysconfdir}/xdg/autostart/%{name}.desktop
  42. %{_bindir}/%{name}
  43. %changelog
  44. * Sun Nov 04 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.13-1
  45. - initial build for Vine Linux
  46. * Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.13-4
  47. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  48. * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.13-3
  49. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  50. * Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.1.13-2
  51. - Rebuild for new libpng
  52. * Fri May 27 2011 Orion Poplawski <orion@cora.nwra.com> - 0.1.13-1
  53. - Update to 0.1.13
  54. - Drop libnotify patch fixed upstream
  55. - Upstream now accepts CFLAGS environment variable in configure
  56. * Sun Mar 06 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.12-1
  57. - Update to 0.1.12 (fixes #680111)
  58. * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.11-2
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  60. * Sat Nov 27 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.11-1
  61. - Update to 0.1.11
  62. * Sat Nov 06 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.10-2
  63. - Fix for libnotify 0.7.0
  64. * Wed Nov 03 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.10-1
  65. - Update to 0.1.10 (#631199)
  66. - Build requirements change: Require keybinder-devel instead of xcb-util-devel
  67. * Tue Nov 17 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.8-1
  68. - Update to 0.1.8
  69. * Sun Nov 01 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.7-1
  70. - Update to 0.1.7
  71. * Wed Oct 28 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.5-1
  72. - Update to 0.1.5
  73. * Sat Sep 05 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.4-1
  74. - Initial Fedora package