xfce4-pulseaudio-plugin-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. %global xfceversion 4.12
  2. %global versnum 0.2
  3. Name: xfce4-pulseaudio-plugin
  4. Version: 0.2.3
  5. Release: 1%{?_dist_release}
  6. Summary: Pulseaudio plugin for Xfce4
  7. Summary(ja): Xfce 用の Pulseaudio プラグイン
  8. Group: User Interface/Desktops
  9. License: GPLv2+
  10. URL: https://github.com/andrzej-r/xfce4-pulseaudio-plugin
  11. Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{versnum}/%{name}-%{version}.tar.bz2
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: intltool
  14. BuildRequires: libxfce4ui-devel >= %{xfceversion}
  15. BuildRequires: libxfce4util-devel >= %{xfceversion}
  16. BuildRequires: xfce4-panel-devel >= %{xfceversion}
  17. BuildRequires: pulseaudio-libs-devel >= 0.9.19
  18. BuildRequires: glib2-devel >= 2.24.0
  19. BuildRequires: gtk3-devel >= 3.6.0
  20. BuildRequires: xfconf-devel >= 4.6.0
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. Packager: inagaki
  24. %description
  25. Pulseaudio panel plugin for Xfce Desktop Environment
  26. %prep
  27. %setup -q
  28. # remove empty files
  29. rm -f AUTHORS README
  30. %build
  31. %configure
  32. make %{?_smp_mflags} V=1
  33. %install
  34. rm -rf %{buildroot}
  35. make install DESTDIR=%{buildroot}
  36. # remove libtool archives
  37. find %{buildroot} -name '*.la' -exec rm -f {} ';'
  38. # remove zero-length files
  39. rm -f %{buildroot}/%{defaultdocdir}/AUTHORS
  40. rm -f %{buildroot}/%{defaultdocdir}/README
  41. %clean
  42. rm -rf %{buildroot}
  43. %post
  44. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  45. %postun
  46. if [ $1 -eq 0 ] ; then
  47. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  48. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  49. fi
  50. %posttrans
  51. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  52. %files
  53. %defattr(-,root,root,-)
  54. %doc COPYING ChangeLog
  55. %{_datadir}/xfce4/panel/plugins/*.desktop
  56. %{_libdir}/xfce4/panel/plugins/libpulseaudio-plugin.so
  57. %{_datadir}/icons/hicolor/48x48/apps/%{name}*
  58. %{_datadir}/icons/hicolor/scalable/apps/%{name}*
  59. %{_datadir}/icons/hicolor/scalable/status/*
  60. %changelog
  61. * Thu Jun 11 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.2.3-1
  62. - new upstream release
  63. * Fri Apr 3 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.2.2-1
  64. - new upstream release
  65. * Sun Mar 15 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.2.1-2
  66. - Initial build for Vine Linux
  67. * Sun Mar 08 2015 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.2.1-1
  68. - Update to 0.2.1
  69. - Bug fix update
  70. * Fri Mar 06 2015 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.2.0-1
  71. - Update to 0.2.0
  72. * Sun Mar 01 2015 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.1.0-1
  73. - New package