paprefs-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. Summary: Management tool for PulseAudio
  2. Summary(ja): PulseAudio 管理ツール
  3. Name: paprefs
  4. Version: 0.9.9
  5. Release: 1%{?_dist_release}
  6. Group: Applications/Multimedia
  7. License: GPLv2+
  8. URL: http://0pointer.de/lennart/projects/paprefs
  9. Source0: http://0pointer.de/lennart/projects/paprefs/paprefs-%{version}.tar.gz
  10. Source10: %{name}-0.9.9-ja.po
  11. Patch10: %{name}-0.9.6-ja.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. Requires: pulseaudio-module-gconf
  14. BuildRequires: gconfmm-devel libglademm2-devel desktop-file-utils
  15. %description
  16. PulseAudio Preferences (paprefs) is a simple GTK based configuration dialog
  17. for the PulseAudio sound server.
  18. %description -l ja
  19. PulseAudio 設定 (paprefs) は PulseAudio サウンドサーバ用の
  20. GTK ベースのシンプルな設定ダイアログです。
  21. %prep
  22. %setup -q
  23. %patch10 -p1 -b .ja
  24. cp -f %{SOURCE10} po/ja.po
  25. %build
  26. %configure --disable-lynx
  27. make %{?_smp_mflags}
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make install DESTDIR=$RPM_BUILD_ROOT
  31. desktop-file-install \
  32. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  33. --vendor= \
  34. --remove-category Application \
  35. --add-category HardwareSettings \
  36. $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc LICENSE doc/README
  42. %{_bindir}/paprefs
  43. %{_datadir}/paprefs/paprefs.glade
  44. %{_datadir}/applications/paprefs.desktop
  45. %{_datadir}/locale/*
  46. %changelog
  47. * Sun Sep 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.9-1
  48. - new upstream release
  49. * Sun Aug 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.8-1
  50. - new upstream release
  51. - add category HardwareSettings to desktop file.
  52. * Mon Sep 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.6-2
  53. - add ja.po
  54. * Sun Sep 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.6-1
  55. - initial build for Vine Linux
  56. * Thu Mar 27 2008 Christopher Aillon <caillon@redhat.com> - 0.9.6-3
  57. - Add compile patch for GCC 4.3
  58. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.6-2
  59. - Autorebuild for GCC 4.3
  60. * Wed Nov 28 2007 Julian Sikorski <belegdol[at]gmail[dot]com> 0.9.6-1
  61. - Update to 0.9.6
  62. * Thu Sep 25 2007 Lennart Poettering <lpoetter@redhat.com> 0.9.6-0.2.svn20070925
  63. - Update SVN snapshot
  64. * Thu Aug 16 2007 Lennart Poettering <lpoetter@redhat.com> 0.9.6-0.1.svn20070816
  65. - Get snapshot from SVN
  66. * Thu Jul 2 2007 Eric Moret <eric.moret@epita.fr> 0.9.5-2
  67. - Update license field
  68. * Wed Jan 10 2007 Eric Moret <eric.moret@epita.fr> 0.9.5-1
  69. - Initial package for Fedora