cdrdao-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. Name: cdrdao
  2. Summary: Writes audio CD-Rs in disk-at-once (DAO) mode.
  3. Summary(ja): ディスクアットワンス(DAO)モードでオーディオデータを CD-R へ書き込むツール
  4. Version: 1.2.3
  5. Release: 2%{?_dist_release}
  6. Group: Applications/Multimedia
  7. License: GPLv2+
  8. URL: http://cdrdao.sourceforge.net/
  9. Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
  10. # Missing includes causes failure build
  11. Patch1: cdrdao-1.2.3-stat.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: gtkmm2-devel
  14. BuildRequires: libgnomeuimm-devel
  15. BuildRequires: libsigc++-devel
  16. BuildRequires: libao-devel
  17. BuildRequires: libvorbis-devel >= 1.0
  18. BuildRequires: libSM-devel
  19. BuildRequires: libICE-devel
  20. #BuildRequires: pccts >= 1.33mr33
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. %description
  24. Cdrdao records audio CD-Rs in disk-at-once (DAO) mode, based on a
  25. textual description of the CD contents. Recording in DAO mode writes
  26. the complete disc (lead-in, one or more tracks, and lead-out) in a
  27. single step.
  28. %description -l ja
  29. Cdrdaoはディスクアットワンス(DAO)モードでaudioをCD-Rへ記録します。
  30. CD中身の原文の説明に基づきます。DAOモードのレコーディングは、一回のステップに完全なディスク(lead-in、一つ以上のトラックとlead-out)を書きます。
  31. %package -n gcdmaster
  32. Summary: Graphical front end to cdrdao for composing audio CDs
  33. Group: Applications/Multimedia
  34. Requires: %{name} = %{version}
  35. Requires(post): shared-mime-info
  36. Requires(postun): shared-mime-info
  37. %description -n gcdmaster
  38. gcdmaster allows the creation of toc-files for cdrdao and can control
  39. the recording process. Its main application is the composition of
  40. audio CDs from one or more audio files. It supports PQ-channel editing,
  41. entry of meta data like ISRC codes/CD-TEXT and non destructive cut of
  42. the audio data.
  43. %prep
  44. %setup -q
  45. %patch1 -p1 -b .stat
  46. %build
  47. %configure \
  48. --with-xdao \
  49. --without-scglib \
  50. --without-mp3-support \
  51. --without-lame
  52. # --with-pcctsinc=%{_includedir}/pccts \
  53. # --without-lame \
  54. # --without-mp3-support
  55. make %{?_smp_mflags}
  56. %install
  57. rm -rf $RPM_BUILD_ROOT
  58. make install DESTDIR=$RPM_BUILD_ROOT
  59. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  60. %pre -n gcdmaster
  61. if [ $1 -gt 1 ]; then
  62. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  63. gconftool-2 --makefile-uninstall-rule \
  64. %{_sysconfdir}/gconf/schemas/gcdmaster.schemas >& /dev/null ||:
  65. fi
  66. %post -n gcdmaster
  67. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  68. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gcdmaster.schemas >& /dev/null ||:
  69. %posttrans -n gcdmaster
  70. update-mime-database %{_datadir}/mime >& /dev/null ||:
  71. %preun -n gcdmaster
  72. if [ $1 -eq 0 ]; then
  73. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  74. gconftool-2 --makefile-uninstall-rule \
  75. %{_sysconfdir}/gconf/schemas/gcdmaster.schemas >& /dev/null ||:
  76. fi
  77. %postun -n gcdmaster
  78. if [ $1 -eq 0 ] ; then
  79. update-mime-database %{_datadir}/mime >& /dev/null ||:
  80. fi
  81. %clean
  82. rm -rf $RPM_BUILD_ROOT
  83. %files
  84. %defattr(-,root,root)
  85. %{_bindir}/cdrdao
  86. %{_datadir}/cdrdao/*
  87. %{_bindir}/toc2*
  88. %{_bindir}/cue2toc
  89. %{_mandir}/man1/*.gz
  90. %doc AUTHORS COPYING CREDITS ChangeLog README NEWS README.PlexDAE README.Win32
  91. %files -n gcdmaster
  92. %defattr(-,root,root)
  93. %doc AUTHORS COPYING README
  94. %{_sysconfdir}/gconf/schemas/gcdmaster.schemas
  95. %{_bindir}/gcdmaster
  96. %{_datadir}/application-registry/*
  97. %{_datadir}/applications/*
  98. %{_datadir}/gcdmaster
  99. %{_datadir}/mime-info/*
  100. %{_datadir}/mime/packages/*
  101. %{_datadir}/pixmaps/*
  102. %changelog
  103. * Tue Apr 19 2011 Ryoichi INAGAKI <daisuke@linux.or.jp> 1.2.3-2
  104. - fixed %%changelog
  105. - added BR: libSM-devel and libICE-devel
  106. * Sat Apr 16 2011 Ryoichi INAGAKI <daisuke@linux.or.jp> 1.2.3-1
  107. - updated to 1.2.3
  108. - rebuilt with current VineSeed
  109. * Tue Apr 14 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-4
  110. - add --without-mp3-support
  111. * Tue Mar 24 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-3
  112. - add --without-lame
  113. - remove BR: libmad-devel
  114. * Sat Oct 4 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.2-2vl5
  115. - added BuildRequires: libao-devel, libmad-devel
  116. * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.2-1vl5
  117. - applied new versioning policy, spec in utf-8
  118. - added cdrdao-1.2.2-sigc.patch from mdv
  119. * Tue Sep 11 2007 Adam Williamson <awilliamson@mandriva.com> 1.2.2-5mdv2008.0
  120. + Revision: 84331
  121. - add patch0 to fix compilation issue caused by use of old sigc++ API
  122. * Sat Nov 4 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.2-0vl1
  123. - update to 1.2.2
  124. - fixed BuildRequires and Prereq
  125. * Mon May 22 2006 TOSHI <vine-jp@mail.goo.ne.jp> 1.1.9-0vl1
  126. - update to 1.1.9
  127. - added Requires -> libstdc++2_10,libstdc++2_10-compat
  128. * Mon Jun 10 2002 Tomoya TAKA <taka@vinelinux.org> 1.1.5-7vl2
  129. - separate gcdmaster into subpackage
  130. - add /etc/profile.d/gcdmaster.{sh,csh} to exec gcdmaster on C locale
  131. # end of file