gnomebaker-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. Name: gnomebaker
  2. Version: 0.6.4
  3. Release: 10%{?_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 \
  68. --delete-original \
  69. --add-category "GTK;" \
  70. --add-category "Application;" \
  71. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  72. $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
  73. %clean
  74. rm -rf $RPM_BUILD_ROOT
  75. %post
  76. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  77. update-desktop-database %{_datadir}/applications
  78. scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
  79. %postun
  80. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  81. update-desktop-database %{_datadir}/applications
  82. scrollkeeper-update -q || :
  83. %files -f %{name}.lang
  84. %defattr(-,root,root,-)
  85. %doc AUTHORS COPYING TODO
  86. %{_bindir}/%{name}
  87. %{_datadir}/%{name}/
  88. %{_datadir}/applications/vine-%{name}.desktop
  89. %{_datadir}/omf/%{name}/
  90. %{_datadir}/gnome/help/%{name}/
  91. %{_datadir}/icons/*
  92. %changelog
  93. * Sat Feb 08 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-10
  94. - rebuilt with new toolchain
  95. * Fri Jun 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-9
  96. - updated Source1
  97. - improved action in desktop-file-install
  98. * Mon Aug 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-8
  99. - added Pacth6,7,8
  100. - Patch6,7 from upstream tracker
  101. - Patch8 from Fedora
  102. - deleted category on desktopfile
  103. * Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-7
  104. - updated Source1
  105. - added Patch4,5 from Fedora development
  106. - run gtk-update-icon-cache in %post, %postun
  107. * Fri Sep 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-6
  108. - fixed using multibyte character in changelog (Thu Sep 24 2009)
  109. - updated Source1
  110. - added Patch3 from gnomebaker tracker
  111. * Thu Sep 24 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-5
  112. - added Patch0,1,2 (0/1:from Debian, 2:from Fedora)
  113. * Tue Jul 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-4
  114. - updated Source1
  115. - cleaned up spec
  116. - added BuildRequires: libSM-devel
  117. - added update-desktop-database %{_datadir}/applications in %post, %postun
  118. * Sun Jun 7 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-3
  119. - added Source1 to replace orginal ja.po
  120. * Sun May 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-2
  121. - added Summary(ja)
  122. - changed License to GPLv3
  123. - changed URL
  124. - added BuildRequires: perl-XML-Parser, intltool
  125. - fixed PreReq to Requires
  126. - added Requires: gstreamer-plugins-base, gstreamer-plugins-good
  127. - spec in UTF-8
  128. * Fri Apr 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-1
  129. - initial build for VineSeed
  130. * Tue Mar 7 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-4
  131. - Rebuild for FC5.
  132. - Add requires for gstreamer08-plugins.
  133. * Sat Feb 11 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-3
  134. - Rebuild.
  135. * Mon Feb 6 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-2
  136. - Bump release.
  137. * Sat Feb 4 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-1
  138. - Drop aclocal & autoconf calls.
  139. - Change gstreamer-devel to gstreamer08-devel for FC5.
  140. - Add dist tag.
  141. - Correct permissions on AUTHORS & TODO.
  142. - Drop help & desktop patchs.
  143. - Update 0.5.1.
  144. * Wed Oct 19 2005 Brian Pepple <bdpepple@ameritech.net> - 0.5.0-3
  145. - Edit configure.in to use RPM_OPT_FLAGS. (Thanks to Adrian Reber)
  146. * Mon Oct 17 2005 Brian Pepple <bdpepple@ameritech.net> - 0.5.0-2
  147. - Rebuild config. & make files w/ aclocal & autconf, so builds on FC5.
  148. * Sun Oct 16 2005 Brian Pepple <bdpepple@ameritech.net> - 0.5.0-1
  149. - Initial Fedora Extras spec file.