gnomebaker-vl.spec 5.0 KB

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