xcdroast-vl.spec 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. # To make nosrc.rpm
  2. # rpm -bs --define 'nosrc 1'
  3. #%{?nosrc:NoSource: 0}
  4. Summary: An X Window System based tool for creating CDs.
  5. Summary(ja): X 上で動作する CD-R ライターです。
  6. Name: xcdroast
  7. Version: 0.98alpha16
  8. Release: 1%{?_dist_release}
  9. License: GPLv2
  10. Group: Applications/Multimedia
  11. URL: http://www.xcdroast.org/
  12. Source: http://www.xcdroast.org/download/%{name}-%{version}.tar.gz
  13. Source10: xcdroast.desktop
  14. #import from Fedora
  15. Patch1: xcdroast-0.98alpha15-linebuffer.patch
  16. Patch2: xcdroast-0.98alpha15-nowarn.patch
  17. Patch3: xcdroast-0.98alpha15-scan.patch
  18. Patch4: xcdroast-0.98alpha15-13_cdrecord_to_wodim.patch
  19. Patch5: xcdroast-0.98alpha15-14_atapi_to_oldatapi.patch
  20. Patch6: xcdroast-0.98alpha15-15_no_readcd_version.patch
  21. Patch7: xcdroast-0.98alpha15-prodvd.patch
  22. Patch8: xcdroast-0.98alpha15-nogtk1.patch
  23. BuildRequires: gtk2-devel, desktop-file-utils
  24. Requires: cdrtools-cdda2wav
  25. Requires: cdrtools-cdrecord
  26. Requires: cdrtools-mkisofs
  27. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  28. Vendor: Project Vine
  29. Distribution: Vine Linux
  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. %patch1 -p1 -b .linebuffer
  44. %patch2 -p1 -b .nowarn
  45. %patch3 -p1 -b .scan
  46. %patch4 -p1 -b .p23
  47. %patch5 -p0 -b .p24
  48. %patch6 -p1 -b .p25
  49. %patch7 -p1 -b .cdrkit
  50. %patch8 -p1 -b .nogtk1
  51. # Fix char sets
  52. for file in doc/TRANSLATION.HOWTO ChangeLog; do
  53. iconv -f ISO-8859-1 -t UTF-8 -o $file.new $file && \
  54. touch -r $file $file.new && \
  55. mv $file.new $file
  56. done
  57. %build
  58. %configure \
  59. --enable-gtk2 \
  60. --disable-nonrootmode \
  61. --with-xcdroast-libdir-prefix=%{_libdir}/%{name} \
  62. make %{?_smp_mflags}
  63. %install
  64. rm -rf $RPM_BUILD_ROOT
  65. mkdir -p $RPM_BUILD_ROOT/{etc/{X11/applnk/Multimedia,pam.d,security/console.apps},usr/sbin}
  66. make DESTDIR=$RPM_BUILD_ROOT install
  67. # install icons
  68. mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/
  69. cp -p xpms/xcdricon.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps/
  70. cp -p lib/icons/xcdricon.* $RPM_BUILD_ROOT%{_datadir}/pixmaps/
  71. # install desktop files
  72. mkdir -p %{buildroot}%{_datadir}/applications
  73. desktop-file-install \
  74. --vendor=xcdroast \
  75. --dir %{buildroot}%{_datadir}/applications \
  76. --add-category System \
  77. --add-category DiscBurning \
  78. %{SOURCE10}
  79. %find_lang %{name}
  80. %clean
  81. rm -rf $RPM_BUILD_ROOT
  82. %post -p /sbin/ldconfig
  83. %postun -p /sbin/ldconfig
  84. %files -f %{name}.lang
  85. %defattr(-,root,root,-)
  86. %doc doc/* ChangeLog COPYING README
  87. %{_bindir}/*
  88. %{_datadir}/pixmaps/*
  89. %{_libdir}/%{name}/bin/*
  90. %{_libdir}/%{name}/icons/
  91. %{_libdir}/%{name}/sound/
  92. %{_datadir}/applications/xcdroast.desktop
  93. %{_mandir}/man1
  94. %changelog
  95. * Wed Jun 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.98alpha16-1
  96. - new upstream release
  97. - deleted all pathces
  98. - added Patch1-8 from Fedora
  99. - deleted BuildRequires: cdrtools-devel >= 2.01, pcre-devel
  100. * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 0.98alpha15-1vl5
  101. - applied new versioning policy, spec in utf-8
  102. * Fri Aug 31 2007 Shu KONNO <owa@bg.wakwak.com> 0.98alpha15-0vl8
  103. - added %%define xcdroast_libdir %%{_libdir}/%%{name}-0.98
  104. - added %%{_mandir}/man1 in %%files section
  105. - added Patch11: xcdroast-0.98alpha15-64bit_gsize.diff (from suse)
  106. - changed Multimedia to AudioVideo at desktop-file-install
  107. * Sat Sep 16 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.98alpha15-0vl7
  108. - import and modify nowarn.patch (patch0) to remove warning
  109. - add dev_cdrom.patch (patch1) to use /dev/cdrom* (<BTS:183>)
  110. - this patch is a part of FC's scan.patch
  111. * Fri Sep 10 2004 Harald Hoyer <harald@redhat.com> - 0.98a15-6
  112. - improved scanning and removed warnings
  113. * Fri Sep 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.98alpha15-0vl6
  114. - updare required version of cdrtools
  115. - drop setgid bit from xcdrwrap
  116. - drop %%pre,post,posun script
  117. - add --disable-nonrootmode to %%configure to burn as user
  118. * Mon Aug 15 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98alph15-0vl5
  119. - add -g option for groupadd to use lower gid.
  120. - add %%postun to remove cdwrite group.
  121. * Sat Jun 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98alph15-0vl4
  122. - add unofficial DVD support patch
  123. http://people.mandrakesoft.com/~warly/files/cdrtools/
  124. - add Requires: cdrtools-cdrecord >= 2.01-0.a31vl2
  125. * Sun Jun 6 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98alpha15-0vl3
  126. - build with gtk2
  127. - update desktop file
  128. - do not make sg devices in %%post script
  129. * Sat Jan 17 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.98alpha15-0vl2
  130. - rebuild for VineSeedPlus
  131. * Wed Jan 14 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.98alpha15-0vl1
  132. - source upgrade
  133. - remove patches
  134. - add BuildPrereq: gtk+-devel >= 1.2.3, gdk-pixbuf-devel >= 0.8.0
  135. * Tue Sep 23 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.98alpha14-0vl2
  136. - add URL tag
  137. - rebuild with cdrtools-2.01-0.a19vl1
  138. - fix applnk for Icon
  139. * Tue Jun 3 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.98alpha14-0vl1
  140. - source upgrade
  141. - add patch0 and patch1 for ONLY this source from xcdroast.org
  142. - SECURITY: Requires: cdrtools-* >= 2.01-0.a15
  143. * Sat May 24 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.98alpha13-0vl1
  144. - source upgrade
  145. - build with cdrtools-2.01-0.a14vl1
  146. * Wed Dec 4 2002 Tomoya TAKA <taka@vinelinux.org> 0.98alpha11-0vl2
  147. - remove Requires: cdrtools, PreReq: cdrtools-devel
  148. - add PreReq: cdrtools-cdrecord, cdrtools-cdda2wav
  149. - add BuildPreReq: cdrtools-devel
  150. * Mon Dec 2 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98alpha11-0vl1
  151. - new upstream release
  152. - rebuild with new environment.
  153. * Wed May 22 2002 Masaki Shinomiya <shino@pos.to>
  154. - 0vl8 for Vine-2.1.x, -0vl9 for VineSeed
  155. - set suid on cdda2wav, avoid checking suid of mkisofs
  156. - language.def
  157. * Mon Apr 22 2002 Masaki Shinomiya <shino@pos.to>
  158. - 0.98alpha9-0vl6 for Vine-2.1.x, -0vl7 for Vine-2.5
  159. - owner and permission of mkisofs and cdda2wav set to root:root 755.
  160. - prerequire cdrecord
  161. - applnk, application group
  162. * Sun Mar 31 2002 Jun Nishii <jun@vinelinux.org>0.98alpha9-0vl5
  163. - build for Vine Linux 2.5
  164. *Mon Jan 14 2002 Masaki Shinomiya <shino@pos.to>
  165. - 0.98alpha9-0vl4 for VineSeed
  166. - 0.98alpha9-0vl3 for VinePlus
  167. * Fri Jan 4 2002 Masaki Shinomiya <shino@pos.to>
  168. - 0.98alpha9-0vl2.2
  169. - modified menu text in create
  170. - proper defalt name of boot.cataloge
  171. - new japanese menu and help text
  172. * Thu Jul 26 2001 <sagami@vinelinux.org>
  173. - 0.98alpha9-0vl2: tweak spec and added more docs
  174. * Thu Jul 26 2001 Masaki Shinomiya <shino@pos.to>
  175. - 0.98alpha9-0vl1
  176. - eliminate link around xcdrgdk
  177. - eliminate no need requires of tcl/tk's
  178. * Sun Jun 24 2001 Masaki Shinomiya <shino@pos.to>
  179. - 0.98alpha8-1vl2
  180. - add group 'cdwrite' before installing
  181. - add some transration
  182. * Sun Jun 24 2001 Masaki Shinomiya <shino@pos.to>
  183. - rename for VinePlus as 0.98alpha8-1vl1
  184. - changed requires
  185. * Sat Jun 16 2001 Masaki Shinomiya <shino@pos.to>
  186. - 0.98alpha8-1
  187. - with Japanese panel
  188. * Mon Jun 12 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  189. - 0.96e-2vl3
  190. - included a patch for ppc (from 0.96e-1 of LinuxPPC/contrib)
  191. * Wed Apr 15 1999 Michael Maher <mike@redhat.com>
  192. - built package for 6.0
  193. - updated source
  194. * Tue Oct 13 1998 Michael Maher <mike@redhat.com>
  195. - rushed by wanger.. not updated
  196. * Wed May 20 1998 Michael Maher <mike@redhat.com>
  197. - built and updated package
  198. - added changelog
  199. - edited paths