soundconverter-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. Name: soundconverter
  2. Version: 1.5.0
  3. Release: 2%{?_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. * Sun Feb 19 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.5.0-2
  73. - rebuild
  74. * Sat Jun 05 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.5.0-1
  75. - initial build for Vine Linux based on fedora development
  76. - souce update
  77. - add japanese description and summary
  78. - add patch0: make some menu items translatable
  79. - add source1: updated japanese translation
  80. * Wed May 12 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 1.4.4-2
  81. - Update .desktop file patch.
  82. - Minor spec adjustments in explicit deps and files section.
  83. * Sat Jan 23 2010 Xavier Lamien <laxathom@fedoraproject.org> - 1.4.4-1
  84. - Update release.
  85. * Sun Sep 27 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.3.2-4
  86. - Update desktop file according to F-12 FedoraStudio feature
  87. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-3
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  89. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
  90. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  91. * Mon Aug 25 2008 Denis Leroy <denis@poolshark.org> - 1.3.2-1
  92. - Update to upstream 1.3.2
  93. - Fixed gnome-python2 BR
  94. * Tue May 13 2008 Denis Leroy <denis@poolshark.org> - 1.2.0-1
  95. - Update to upstream 1.2.0
  96. * Fri Jan 11 2008 Denis Leroy <denis@poolshark.org> - 0.9.8-1
  97. - Update to upstream 0.9.8, bugfix release
  98. * Thu Aug 16 2007 Denis Leroy <denis@poolshark.org> - 0.9.7-1
  99. - Update to 0.9.7
  100. - Updated License tag
  101. - Added patch to fix desktop file
  102. * Sun Apr 29 2007 Denis Leroy <denis@poolshark.org> - 0.9.6-1
  103. - Update to 0.9.6
  104. - Removed some icon-related hacks, fixed upstream
  105. * Thu Mar 1 2007 Denis Leroy <denis@poolshark.org> - 0.9.4-1
  106. - Update to 0.9.4
  107. - Removed taglib patch, is upstream
  108. - Moved desktop icon into /usr/share/icons/
  109. * Wed Nov 8 2006 Denis Leroy <denis@poolshark.org> - 0.9.3-2
  110. - Added patch to detect missing id3v2mux gst plugin
  111. * Thu Oct 19 2006 Denis Leroy <denis@poolshark.org> - 0.9.3-1
  112. - Update to 0.9.3
  113. * Tue Oct 17 2006 Denis Leroy <denis@poolshark.org> - 0.9.2-1
  114. - Update to 0.9.2
  115. * Fri Sep 8 2006 Denis Leroy <denis@poolshark.org> - 0.9.1-3
  116. - Fixed desktop install
  117. * Fri Sep 8 2006 Denis Leroy <denis@poolshark.org> - 0.9.1-2
  118. - Added intltool BRs
  119. * Fri Sep 8 2006 Denis Leroy <denis@poolshark.org> - 0.9.1-1
  120. - Update to 0.9.1
  121. - Uses gstreamer 1.0
  122. - Some cleanup, use upstream configure and desktop
  123. * Mon Sep 4 2006 Denis Leroy <denis@poolshark.org> - 0.8.3-2
  124. - FE6 Rebuild
  125. * Sun Feb 12 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.3-1
  126. - Upstream update
  127. - Updated to use gstreamer08
  128. * Tue Nov 15 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.1-2
  129. - Added gnome-python2-gconf to Requires (#173290)
  130. * Mon Nov 14 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.1-1
  131. - Upstream update
  132. * Sun Oct 2 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.0-1
  133. - Initial RPM release