xcdroast-vl.spec 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. # To make nosrc.rpm
  2. # rpm -bs --define 'nosrc 1'
  3. Summary: An X Window System based tool for creating CDs.
  4. Summary(ja): X上で動作するCD-Rライターです。
  5. Name: xcdroast
  6. Version: 0.98alpha15
  7. Release: 1%{?_dist_release}
  8. License: GPL
  9. Group: Applications/Multimedia
  10. URL: http://www.xcdroast.org/
  11. Source: http://www.xcdroast.org/download/%{name}-%{version}.tar.gz
  12. %{?nosrc:NoSource: 0}
  13. Source10: xcdroast.desktop
  14. Patch0: xcdroast-0.98alpha15-nowarn-2.patch
  15. Patch1: xcdroast-0.98alpha15-dev-cdrom.patch
  16. Patch10: xcdroast-0.98alpha15-dvd.patch.bz2
  17. Patch11: xcdroast-0.98alpha15-64bit_gsize.diff
  18. BuildPreReq: cdrtools-devel >= 2.01-0vl1
  19. BuildPrereq: gtk2-devel, desktop-file-utils, pcre-devel
  20. PreReq: cdrtools-cdda2wav >= 2.01-0vl1
  21. PreReq: cdrtools-cdrecord >= 2.01-0vl1
  22. Requires: cdrtools-mkisofs >= 2.01-0vl1
  23. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. %define icondir %{_datadir}/pixmaps
  27. # set where the utils/images of xcdroast should be installed
  28. # - default: /usr/lib/xcdroast-0.98
  29. %define xcdroast_libdir %{_libdir}/%{name}-0.98
  30. %description
  31. X-CD-Roast provides a GUI interface for commands like cdrecord and
  32. mkisofs. X-CD-Roast includes a self-explanatory X11 user interface,
  33. automatic SCSI hardware setup, support for mastering of new
  34. ISO9660 data CDs, support for production of new audio CDs, fast
  35. copying of CDs without hard disk buffering, and a logfile option.
  36. %description -l ja
  37. X 上で動作する CD-R ライターです。
  38. CD-R 焼き付けプログラムである "cdrecord" と
  39. CD イメージ作成プログラムである "mkisofs" の
  40. フロントエンドとして動作し、データ CD、音楽 CD の作成、コピーができます。
  41. %prep
  42. %setup -q
  43. %patch0 -p1 -b .nowarn
  44. %patch1 -p1 -b .dev_cdrom
  45. %patch10 -p1 -b .dvd
  46. %patch11 -p1 -b .64bit_gsize
  47. %build
  48. %configure \
  49. --enable-gtk2 \
  50. --disable-nonrootmode \
  51. --with-cdrtools-prefix=%{_prefix} \
  52. --with-xcdroast-libdir-prefix=%{xcdroast_libdir} \
  53. make %{?_smp_mflags}
  54. %install
  55. rm -rf $RPM_BUILD_ROOT
  56. make DESTDIR=$RPM_BUILD_ROOT install
  57. # install icons
  58. mkdir -p $RPM_BUILD_ROOT/%{icondir}
  59. cp -p xpms/xcdricon.xpm $RPM_BUILD_ROOT/%{icondir}
  60. cp -p lib/icons/xcdricon.* $RPM_BUILD_ROOT/%{icondir}
  61. # install desktop files
  62. mkdir -p %{buildroot}%{_datadir}/applications
  63. desktop-file-install \
  64. --vendor=xcdroast \
  65. --dir %{buildroot}%{_datadir}/applications \
  66. --add-category Application \
  67. --add-category AudioVideo \
  68. %{SOURCE10}
  69. %clean
  70. rm -rf $RPM_BUILD_ROOT
  71. %post -p /sbin/ldconfig
  72. %postun -p /sbin/ldconfig
  73. %files
  74. %defattr(-,root,root)
  75. %doc doc/* ChangeLog COPYING README
  76. %dir %{xcdroast_libdir}
  77. %dir %{xcdroast_libdir}/bin
  78. %{xcdroast_libdir}/bin/xcdrwrap
  79. %{xcdroast_libdir}/bin/*tool
  80. %{xcdroast_libdir}/bin/wavplay
  81. %{xcdroast_libdir}/icons
  82. %{xcdroast_libdir}/sound
  83. %{_bindir}/*
  84. %{_datadir}/locale/*/LC_MESSAGES/*.mo
  85. %{icondir}/*
  86. %{_datadir}/applications/xcdroast.desktop
  87. %{_mandir}/man1
  88. %changelog
  89. * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 0.98alpha15-1vl5
  90. - applied new versioning policy, spec in utf-8
  91. * Fri Aug 31 2007 Shu KONNO <owa@bg.wakwak.com> 0.98alpha15-0vl8
  92. - added %%define xcdroast_libdir %%{_libdir}/%%{name}-0.98
  93. - added %%{_mandir}/man1 in %%files section
  94. - added Patch11: xcdroast-0.98alpha15-64bit_gsize.diff (from suse)
  95. - changed Multimedia to AudioVideo at desktop-file-install
  96. * Sat Sep 16 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.98alpha15-0vl7
  97. - import and modify nowarn.patch (patch0) to remove warning
  98. - add dev_cdrom.patch (patch1) to use /dev/cdrom* (<BTS:183>)
  99. - this patch is a part of FC's scan.patch
  100. * Fri Sep 10 2004 Harald Hoyer <harald@redhat.com> - 0.98a15-6
  101. - improved scanning and removed warnings
  102. * Fri Sep 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.98alpha15-0vl6
  103. - updare required version of cdrtools
  104. - drop setgid bit from xcdrwrap
  105. - drop %%pre,post,posun script
  106. - add --disable-nonrootmode to %%configure to burn as user
  107. * Mon Aug 15 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98alph15-0vl5
  108. - add -g option for groupadd to use lower gid.
  109. - add %%postun to remove cdwrite group.
  110. * Sat Jun 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98alph15-0vl4
  111. - add unofficial DVD support patch
  112. http://people.mandrakesoft.com/~warly/files/cdrtools/
  113. - add Requires: cdrtools-cdrecord >= 2.01-0.a31vl2
  114. * Sun Jun 6 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98alpha15-0vl3
  115. - build with gtk2
  116. - update desktop file
  117. - do not make sg devices in %%post script
  118. * Sat Jan 17 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.98alpha15-0vl2
  119. - rebuild for VineSeedPlus
  120. * Wed Jan 14 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.98alpha15-0vl1
  121. - source upgrade
  122. - remove patches
  123. - add BuildPrereq: gtk+-devel >= 1.2.3, gdk-pixbuf-devel >= 0.8.0
  124. * Tue Sep 23 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.98alpha14-0vl2
  125. - add URL tag
  126. - rebuild with cdrtools-2.01-0.a19vl1
  127. - fix applnk for Icon
  128. * Tue Jun 3 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.98alpha14-0vl1
  129. - source upgrade
  130. - add patch0 and patch1 for ONLY this source from xcdroast.org
  131. - SECURITY: Requires: cdrtools-* >= 2.01-0.a15
  132. * Sat May 24 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.98alpha13-0vl1
  133. - source upgrade
  134. - build with cdrtools-2.01-0.a14vl1
  135. * Wed Dec 4 2002 Tomoya TAKA <taka@vinelinux.org> 0.98alpha11-0vl2
  136. - remove Requires: cdrtools, PreReq: cdrtools-devel
  137. - add PreReq: cdrtools-cdrecord, cdrtools-cdda2wav
  138. - add BuildPreReq: cdrtools-devel
  139. * Mon Dec 2 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98alpha11-0vl1
  140. - new upstream release
  141. - rebuild with new environment.
  142. * Wed May 22 2002 Masaki Shinomiya <shino@pos.to>
  143. - 0vl8 for Vine-2.1.x, -0vl9 for VineSeed
  144. - set suid on cdda2wav, avoid checking suid of mkisofs
  145. - language.def
  146. * Mon Apr 22 2002 Masaki Shinomiya <shino@pos.to>
  147. - 0.98alpha9-0vl6 for Vine-2.1.x, -0vl7 for Vine-2.5
  148. - owner and permission of mkisofs and cdda2wav set to root:root 755.
  149. - prerequire cdrecord
  150. - applnk, application group
  151. * Sun Mar 31 2002 Jun Nishii <jun@vinelinux.org>0.98alpha9-0vl5
  152. - build for Vine Linux 2.5
  153. *Mon Jan 14 2002 Masaki Shinomiya <shino@pos.to>
  154. - 0.98alpha9-0vl4 for VineSeed
  155. - 0.98alpha9-0vl3 for VinePlus
  156. * Fri Jan 4 2002 Masaki Shinomiya <shino@pos.to>
  157. - 0.98alpha9-0vl2.2
  158. - modified menu text in create
  159. - proper defalt name of boot.cataloge
  160. - new japanese menu and help text
  161. * Thu Jul 26 2001 <sagami@vinelinux.org>
  162. - 0.98alpha9-0vl2: tweak spec and added more docs
  163. * Thu Jul 26 2001 Masaki Shinomiya <shino@pos.to>
  164. - 0.98alpha9-0vl1
  165. - eliminate link around xcdrgdk
  166. - eliminate no need requires of tcl/tk's
  167. * Sun Jun 24 2001 Masaki Shinomiya <shino@pos.to>
  168. - 0.98alpha8-1vl2
  169. - add group 'cdwrite' before installing
  170. - add some transration
  171. * Sun Jun 24 2001 Masaki Shinomiya <shino@pos.to>
  172. - rename for VinePlus as 0.98alpha8-1vl1
  173. - changed requires
  174. * Sat Jun 16 2001 Masaki Shinomiya <shino@pos.to>
  175. - 0.98alpha8-1
  176. - with Japanese panel
  177. * Mon Jun 12 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  178. - 0.96e-2vl3
  179. - included a patch for ppc (from 0.96e-1 of LinuxPPC/contrib)
  180. * Wed Apr 15 1999 Michael Maher <mike@redhat.com>
  181. - built package for 6.0
  182. - updated source
  183. * Tue Oct 13 1998 Michael Maher <mike@redhat.com>
  184. - rushed by wanger.. not updated
  185. * Wed May 20 1998 Michael Maher <mike@redhat.com>
  186. - built and updated package
  187. - added changelog
  188. - edited paths