gnomebaker-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. Name: gnomebaker
  2. Version: 0.6.4
  3. Release: 9%{?_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. * Fri Jun 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-9
  94. - updated Source1
  95. - improved action in desktop-file-install
  96. * Tue Aug 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-8
  97. - added Pacth6,7,8
  98. - Patch6,7 from upstream tracker
  99. - Patch8 from Fedora
  100. - deleted category on desktopfile
  101. * Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-7
  102. - updated Source1
  103. - added Patch4,5 from Fedora development
  104. - run gtk-update-icon-cache in %post, %postun
  105. * Fri Sep 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-6
  106. - fixed using multibyte character in changelog (Thu Sep 24 2009)
  107. - updated Source1
  108. - added Patch3 from gnomebaker tracker
  109. * Thu Sep 24 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-5
  110. - added Patch0,1,2 (0/1:from Debian, 2:from Fedora)
  111. * Tue Jul 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-4
  112. - updated Source1
  113. - cleaned up spec
  114. - added BuildRequires: libSM-devel
  115. - added update-desktop-database %{_datadir}/applications in %post, %postun
  116. * Sun Jun 7 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-3
  117. - added Source1 to replace orginal ja.po
  118. * Sun May 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-2
  119. - added Summary(ja)
  120. - changed License to GPLv3
  121. - changed URL
  122. - added BuildRequires: perl-XML-Parser, intltool
  123. - fixed PreReq to Requires
  124. - added Requires: gstreamer-plugins-base, gstreamer-plugins-good
  125. - spec in UTF-8
  126. * Fri Apr 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-1
  127. - initial build for VineSeed
  128. * Tue Mar 7 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-4
  129. - Rebuild for FC5.
  130. - Add requires for gstreamer08-plugins.
  131. * Sat Feb 11 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-3
  132. - Rebuild.
  133. * Mon Feb 6 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-2
  134. - Bump release.
  135. * Sat Feb 4 2006 Brian Pepple <bdpepple@ameritech.net> - 0.5.1-1
  136. - Drop aclocal & autoconf calls.
  137. - Change gstreamer-devel to gstreamer08-devel for FC5.
  138. - Add dist tag.
  139. - Correct permissions on AUTHORS & TODO.
  140. - Drop help & desktop patchs.
  141. - Update 0.5.1.
  142. * Wed Oct 19 2005 Brian Pepple <bdpepple@ameritech.net> - 0.5.0-3
  143. - Edit configure.in to use RPM_OPT_FLAGS. (Thanks to Adrian Reber)
  144. * Mon Oct 17 2005 Brian Pepple <bdpepple@ameritech.net> - 0.5.0-2
  145. - Rebuild config. & make files w/ aclocal & autconf, so builds on FC5.
  146. * Sun Oct 16 2005 Brian Pepple <bdpepple@ameritech.net> - 0.5.0-1
  147. - Initial Fedora Extras spec file.