cdrdao-vl.spec 4.6 KB

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