soundconverter-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. Name: soundconverter
  2. Version: 1.5.0
  3. Release: 1%{?_dist_release}
  4. Summary: A simple sound converter application for GNOME
  5. Summary(ja): GNOME 向けのシンプルなオーディオファイルの変換ツール
  6. Group: Applications/Multimedia
  7. License: GPLv3
  8. URL: http://soundconverter.berlios.de/
  9. Source0: http://download.berlios.de/soundconverter/%{name}-%{version}.tar.gz
  10. Source1: soundconverter-1.5.0-ja.po
  11. Patch0: soundconverter-1.5.0-glade-label.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  13. BuildArch: noarch
  14. BuildRequires: desktop-file-utils
  15. BuildRequires: intltool gettext
  16. BuildRequires: pygtk2
  17. BuildRequires: gnome-python
  18. Requires: pygtk2
  19. Requires: gnome-python
  20. Requires: gstreamer-python
  21. Requires: gstreamer-plugins-base
  22. Requires: gstreamer-plugins-good
  23. %description
  24. A simple sound converter application for the GNOME environment.
  25. It reads and writes anything the GStreamer library can.
  26. You should install self-build-gstreamer-plugins-plugins-bad
  27. or -ugly to handle some restricted format (ex. mp3, aac...).
  28. %description -l ja
  29. GNOME デスクトップ向けのシンプルなオーディオファイルの変換ツール
  30. です。Gstreamer ライブラリが扱うことのできるオーディオフォーマット
  31. であれば自由に変換できます。
  32. mp3 や aac 等のプロプラエタリなフォーマットを利用する時は、
  33. self-build-gstreamer-plugins-bad や -ugly を必要によりインス
  34. トールしてください。
  35. %prep
  36. %setup -q
  37. # make some menu items translatable
  38. %patch0 -p1 -b .label
  39. # install update ja.po
  40. %{__cp} %{SOURCE1} po/ja.po
  41. %build
  42. %configure
  43. make %{?_smp_mflags}
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. make install DESTDIR=${RPM_BUILD_ROOT}
  47. %find_lang %{name}
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %post
  51. touch --no-create %{_datadir}/icons/hicolor || :
  52. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  53. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  54. fi
  55. update-desktop-database &> /dev/null ||:
  56. %postun
  57. touch --no-create %{_datadir}/icons/hicolor || :
  58. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  59. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  60. fi
  61. update-desktop-database &> /dev/null ||:
  62. %files -f %{name}.lang
  63. %defattr(-,root,root,-)
  64. %doc ChangeLog COPYING README TODO
  65. %{_mandir}/man1/%{name}*
  66. %{_bindir}/%{name}
  67. %{_datadir}/%{name}/
  68. %{_datadir}/applications/*%{name}.desktop
  69. %{_datadir}/icons/hicolor/48x48/apps/*.png
  70. %{_datadir}/icons/hicolor/scalable/apps/*.svg
  71. %changelog
  72. * Sat Jun 05 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.5.0-1
  73. - initial build for Vine Linux based on fedora development
  74. - souce update
  75. - add japanese description and summary
  76. - add patch0: make some menu items translatable
  77. - add source1: updated japanese translation
  78. * Wed May 12 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 1.4.4-2
  79. - Update .desktop file patch.
  80. - Minor spec adjustments in explicit deps and files section.
  81. * Sat Jan 23 2010 Xavier Lamien <laxathom@fedoraproject.org> - 1.4.4-1
  82. - Update release.
  83. * Sun Sep 27 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.3.2-4
  84. - Update desktop file according to F-12 FedoraStudio feature
  85. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-3
  86. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  87. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  89. * Mon Aug 25 2008 Denis Leroy <denis@poolshark.org> - 1.3.2-1
  90. - Update to upstream 1.3.2
  91. - Fixed gnome-python2 BR
  92. * Tue May 13 2008 Denis Leroy <denis@poolshark.org> - 1.2.0-1
  93. - Update to upstream 1.2.0
  94. * Fri Jan 11 2008 Denis Leroy <denis@poolshark.org> - 0.9.8-1
  95. - Update to upstream 0.9.8, bugfix release
  96. * Thu Aug 16 2007 Denis Leroy <denis@poolshark.org> - 0.9.7-1
  97. - Update to 0.9.7
  98. - Updated License tag
  99. - Added patch to fix desktop file
  100. * Sun Apr 29 2007 Denis Leroy <denis@poolshark.org> - 0.9.6-1
  101. - Update to 0.9.6
  102. - Removed some icon-related hacks, fixed upstream
  103. * Thu Mar 1 2007 Denis Leroy <denis@poolshark.org> - 0.9.4-1
  104. - Update to 0.9.4
  105. - Removed taglib patch, is upstream
  106. - Moved desktop icon into /usr/share/icons/
  107. * Wed Nov 8 2006 Denis Leroy <denis@poolshark.org> - 0.9.3-2
  108. - Added patch to detect missing id3v2mux gst plugin
  109. * Thu Oct 19 2006 Denis Leroy <denis@poolshark.org> - 0.9.3-1
  110. - Update to 0.9.3
  111. * Tue Oct 17 2006 Denis Leroy <denis@poolshark.org> - 0.9.2-1
  112. - Update to 0.9.2
  113. * Fri Sep 8 2006 Denis Leroy <denis@poolshark.org> - 0.9.1-3
  114. - Fixed desktop install
  115. * Fri Sep 8 2006 Denis Leroy <denis@poolshark.org> - 0.9.1-2
  116. - Added intltool BRs
  117. * Fri Sep 8 2006 Denis Leroy <denis@poolshark.org> - 0.9.1-1
  118. - Update to 0.9.1
  119. - Uses gstreamer 1.0
  120. - Some cleanup, use upstream configure and desktop
  121. * Mon Sep 4 2006 Denis Leroy <denis@poolshark.org> - 0.8.3-2
  122. - FE6 Rebuild
  123. * Sun Feb 12 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.3-1
  124. - Upstream update
  125. - Updated to use gstreamer08
  126. * Tue Nov 15 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.1-2
  127. - Added gnome-python2-gconf to Requires (#173290)
  128. * Mon Nov 14 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.1-1
  129. - Upstream update
  130. * Sun Oct 2 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.0-1
  131. - Initial RPM release