3 %bcond_with gnome # with gnome1
5 Summary: Tools for burning CDRs in Disk At Once mode
6 Summary(pl): Narzêdzia do wypalania p³yt w trybie Disk At Once
7 Summary(pt_BR): Cdrdao - Escreve CD-Rs de áudio em modo "disk-at-once"
12 Group: Applications/System
13 Source0: http://dl.sourceforge.net/cdrdao/%{name}-%{version}.src.tar.bz2
14 # Source0-md5: a85c0fa006ad3af64b76fd86b10b2ad4
15 Patch0: %{name}-destdir.patch
16 Patch1: %{name}-opt.patch
17 Patch2: %{name}-nolibs.patch
18 Patch3: %{name}-gcdmaster-paths.patch
19 Patch4: %{name}-pccts-antlr.patch
20 Patch5: %{name}-5-debian.patch.gz
21 URL: http://cdrdao.sourceforge.net/
22 BuildRequires: autoconf
23 BuildRequires: automake
24 %{?with_gnome:BuildRequires: gnome-libs-devel >= 1.2.3}
25 %{?with_gnome:BuildRequires: gnomemm-devel >= 1.1.17}
26 %{?with_gnome:BuildRequires: gtkmm-devel >= 1.2.5}
27 BuildRequires: lame-libs-devel
28 BuildRequires: libstdc++-devel
29 BuildRequires: pccts >= 1.33MR33-8
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Cdrdao records audio and data CD-Rs in Disk At Once mode. This mode
34 gives much better control over contents of CD.
37 Cdrdao zapisuje p³ytki audio i z danymi w trybie Disk At Once. W tym
38 trybie masz znacznie wiêksz± kontrolê nad zawarto¶ci± p³ytki.
41 Escreve CD-Rs de áudio em modo "disk-at-once" (DAO) permitindo
42 controle sobre pre-gaps (tamanho reduzido a 0, dados não zerados de
43 áudio) e informações de sub-canais como códigos ISRC. Todos os dados
44 que são escritos no disco devem ser especificados através de um
45 arquivo texto. Dados de áudio também podem estar no formato WAVE ou
49 Summary: GNOME frontend to cdrdao for composing audio CDs
50 Summary(pl): Frontend GNOME do cdrdao do sk³adania p³yt CD-Audio
51 Group: X11/Applications
52 Requires: %{name} = %{version}
54 %description gcdmaster
55 gcdmaster allows the creation of toc-files for cdrdao and can control
56 the recording process. Its main application is the composition of
57 audio CDs from one or more audio files. It supports PQ-channel
58 editing, entry of meta data like ISRC codes/CD-TEXT and non
59 destructive cut of the audio data.
61 %description gcdmaster -l pl
62 gcdmaster pozwala na tworzenie plików toc dla cdrdao oraz mo¿e
63 kontrolowaæ proces nagrywania. G³ównym celem jest sk³adanie p³yt
64 CD-Audio z jednego lub wiêcej plików z d¼wiêkiem. Obs³uguje edycjê
65 kana³u PQ, wpisy meta-danych takich jak kody ISRC/CD-TEXT oraz
66 niedestruktywne ciêcie danych audio.
82 sed -i -e 's#/usr/src/linux/include##g' scsilib/DEFAULT*/Defaults.linux
83 # false gtkmm-config path can be used to disable building of GNOME frontend
84 applnkdir=%{_applnkdir}; export applnkdir
85 PIXMAPS_DIR="%{_pixmapsdir}/gcdmaster"; export PIXMAPS_DIR
87 --with-pcctsbin=%{_bindir} \
88 --with-pcctsinc=/usr/lib/pccts/h \
89 %{?without_gnome:--with-gtkmm-exec-prefix=/}
94 rm -rf $RPM_BUILD_ROOT
97 DESTDIR=$RPM_BUILD_ROOT
100 rm -rf $RPM_BUILD_ROOT
103 %defattr(644,root,root,755)
104 %doc CREDITS README README.PlexDAE Release*
105 %attr(755,root,root) %{_bindir}/cdrdao
106 %attr(755,root,root) %{_bindir}/toc2*
107 %dir %{_datadir}/cdrdao
108 %{_datadir}/cdrdao/drivers
109 %{_mandir}/man1/cdrdao.*
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_bindir}/gcdmaster
115 %{_mandir}/man1/gcdmaster.*
117 %{_applnkdir}/Utilities/CD-RW/gcdmaster.desktop