gnomebaker-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. Name: gnomebaker
  2. Version: 0.6.4
  3. Release: 7%{?_dist_release}
  4. Summary: CD/DVD burning application for Gnome
  5. Summary(ja): GNOME デスクトップのための CD/DVD 作成アプリケーション
  6. Group: Applications/Multimedia
  7. License: GPLv3
  8. URL: http://sourceforge.net/projects/%{name}/
  9. Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
  10. Source1: gnomebaker_ja.po
  11. Patch0: 01_fix_get_msinfo.patch
  12. Patch1: 02_change_homepage_uri.patch
  13. Patch2: gnomebaker-0.6.4-mimetype.patch
  14. # from http://sourceforge.net/tracker/?func=detail&aid=2695023&group_id=127397&atid=708501
  15. Patch3: devices.c.566.patch
  16. Patch4: gnomebaker-0.6.4-nograce.patch
  17. Patch5: gnomebaker-0.6.4-seldata.patch
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  19. BuildRequires: libgnomeui-devel >= 2.10.0
  20. BuildRequires: libglade2-devel
  21. BuildRequires: gstreamer-devel
  22. BuildRequires: gettext
  23. BuildRequires: scrollkeeper
  24. BuildRequires: desktop-file-utils
  25. BuildRequires: perl-XML-Parser
  26. BuildRequires: intltool
  27. BuildRequires: libSM-devel
  28. Requires: dvd+rw-tools
  29. Requires: cdrtools-cdrecord
  30. Requires: cdrtools-mkisofs
  31. Requires: cdrtools-cdda2wav
  32. Requires: gstreamer-plugins >= 0.10
  33. Requires: gstreamer-plugins-base >= 0.10
  34. Requires: gstreamer-plugins-good >= 0.10
  35. Requires(post): scrollkeeper
  36. Requires(postun): scrollkeeper
  37. %description
  38. GnomeBaker is a CD/DVD burning application for the Gnome desktop.
  39. %description -l ja
  40. GnomeBaker は GNOME デスクトップのための CD/DVD 作成アプリケーションです。
  41. %prep
  42. %setup -q
  43. chmod 644 AUTHORS TODO
  44. %__cp -f %{SOURCE1} po/ja.po
  45. %patch0 -p1
  46. %patch1 -p1
  47. %patch2 -p1 -b .mimetype
  48. %patch3 -p1
  49. %patch4 -p1 -b .nograce
  50. %patch5 -p1 -b .seldata
  51. %build
  52. %configure
  53. make %{?_smp_mflags}
  54. %install
  55. rm -rf $RPM_BUILD_ROOT
  56. make install DESTDIR=$RPM_BUILD_ROOT
  57. %find_lang %{name}
  58. # Remove duplicate docs.
  59. rm -rf $RPM_BUILD_ROOT/usr/doc/%{name}/
  60. #menu
  61. desktop-file-install --vendor vine --delete-original \
  62. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  63. --add-category X-VineLinux-Multimedia \
  64. $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
  65. %clean
  66. rm -rf $RPM_BUILD_ROOT
  67. %post
  68. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  69. update-desktop-database %{_datadir}/applications
  70. scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
  71. %postun
  72. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  73. update-desktop-database %{_datadir}/applications
  74. scrollkeeper-update -q || :
  75. %files -f %{name}.lang
  76. %defattr(-,root,root,-)
  77. %doc AUTHORS COPYING TODO
  78. %{_bindir}/%{name}
  79. %{_datadir}/%{name}/
  80. %{_datadir}/applications/vine-%{name}.desktop
  81. %{_datadir}/omf/%{name}/
  82. %{_datadir}/gnome/help/%{name}/
  83. %{_datadir}/icons/*
  84. %changelog
  85. * Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-7
  86. - updated Source1
  87. - added Patch4,5 from Fedora development
  88. - run gtk-update-icon-cache in %post, %postun
  89. * Fri Sep 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-6
  90. - fixed using multibyte character in changelog (Thu Sep 24 2009)
  91. - updated Source1
  92. - added Patch3 from gnomebaker tracker
  93. * Thu Sep 24 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-5
  94. - added Patch0,1,2 (0/1:from Debian, 2:from Fedora)
  95. * Tue Jul 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-4
  96. - updated Source1
  97. - cleaned up spec
  98. - added BuildRequires: libSM-devel
  99. - added update-desktop-database %{_datadir}/applications in %post, %postun
  100. * Sun Jun 7 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-3
  101. - added Source1 to replace orginal ja.po
  102. * Sun May 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-2
  103. - added Summary(ja)
  104. - changed License to GPLv3
  105. - changed URL
  106. - added BuildRequires: perl-XML-Parser, intltool
  107. - fixed PreReq to Requires
  108. - added Requires: gstreamer-plugins-base, gstreamer-plugins-good
  109. - spec in UTF-8
  110. * Fri Apr 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-1
  111. - initial build for VineSeed
  112. * Tue Mar 7 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-4
  113. - Rebuild for FC5.
  114. - Add requires for gstreamer08-plugins.
  115. * Sat Feb 11 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-3
  116. - Rebuild.
  117. * Mon Feb 6 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-2
  118. - Bump release.
  119. * Sat Feb 4 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-1
  120. - Drop aclocal & autoconf calls.
  121. - Change gstreamer-devel to gstreamer08-devel for FC5.
  122. - Add dist tag.
  123. - Correct permissions on AUTHORS & TODO.
  124. - Drop help & desktop patchs.
  125. - Update 0.5.1.
  126. * Wed Oct 19 2005 Brian Pepple <bdpepple@ameritech.net> - 0.5.0-3
  127. - Edit configure.in to use RPM_OPT_FLAGS. (Thanks to Adrian Reber)
  128. * Mon Oct 17 2005 Brian Pepple <bdpepple@ameritech.net> - 0.5.0-2
  129. - Rebuild config. & make files w/ aclocal & autconf, so builds on FC5.
  130. * Sun Oct 16 2005 Brian Pepple <bdpepple@ameritech.net> - 0.5.0-1
  131. - Initial Fedora Extras spec file.