]> git.pld-linux.org Git - packages/cdrdao.git/blob - cdrdao.spec
- updated to 1.1.8
[packages/cdrdao.git] / cdrdao.spec
1 # TODO:
2 # - .desktop and icon file for gcdmaster
3 # Conditional build:
4 %bcond_without  gnome   # without gcdmaster
5 #
6 Summary:        Tools for burning CDRs in Disk At Once mode
7 Summary(pl):    Narzêdzia do wypalania p³yt w trybie Disk At Once
8 Summary(pt_BR): Cdrdao - Escreve CD-Rs de áudio em modo "disk-at-once"
9 Name:           cdrdao
10 Version:        1.1.8
11 Release:        0.1
12 License:        GPL v2+
13 Group:          Applications/System
14 Source0:        http://dl.sourceforge.net/cdrdao/%{name}-%{version}.tar.gz
15 # Source0-md5:  10cfd445fa628fb32dacf02e555fdbba
16 Patch1:         %{name}-opt.patch
17 Patch2:         %{name}-nolibs.patch
18 Patch3:         %{name}-pccts-antlr.patch
19 URL:            http://cdrdao.sourceforge.net/
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  cdrtools-devel >= 3:2.01a25
23 %{?with_gnome:BuildRequires:    libgnomeuimm-devel >= 2.0.0}
24 %{?with_gnome:BuildRequires:    gtkmm-devel >= 2.2.8}
25 BuildRequires:  lame-libs-devel
26 BuildRequires:  libstdc++-devel
27 BuildRequires:  pccts >= 1.33MR33-8
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 Cdrdao records audio and data CD-Rs in Disk At Once mode. This mode
32 gives much better control over contents of CD.
33
34 %description -l pl
35 Cdrdao zapisuje p³ytki audio i z danymi w trybie Disk At Once. W tym
36 trybie masz znacznie wiêksz± kontrolê nad zawarto¶ci± p³ytki.
37
38 %description -l pt_BR
39 Escreve CD-Rs de áudio em modo "disk-at-once" (DAO) permitindo
40 controle sobre pre-gaps (tamanho reduzido a 0, dados não zerados de
41 áudio) e informações de sub-canais como códigos ISRC. Todos os dados
42 que são escritos no disco devem ser especificados através de um
43 arquivo texto. Dados de áudio também podem estar no formato WAVE ou
44 raw.
45
46 %package gcdmaster
47 Summary:        GNOME frontend to cdrdao for composing audio CDs
48 Summary(pl):    Frontend GNOME do cdrdao do sk³adania p³yt CD-Audio
49 Group:          X11/Applications
50 Requires:       %{name} = %{version}
51
52 %description gcdmaster
53 gcdmaster allows the creation of toc-files for cdrdao and can control
54 the recording process. Its main application is the composition of
55 audio CDs from one or more audio files. It supports PQ-channel
56 editing, entry of meta data like ISRC codes/CD-TEXT and non
57 destructive cut of the audio data.
58
59 %description gcdmaster -l pl
60 gcdmaster pozwala na tworzenie plików toc dla cdrdao oraz mo¿e
61 kontrolowaæ proces nagrywania. G³ównym celem jest sk³adanie p³yt
62 CD-Audio z jednego lub wiêcej plików z d¼wiêkiem. Obs³uguje edycjê
63 kana³u PQ, wpisy meta-danych takich jak kody ISRC/CD-TEXT oraz
64 niedestruktywne ciêcie danych audio.
65
66 %prep
67 %setup -q
68 #%%patch1 -p1
69 %patch2 -p1
70 %patch3 -p1
71
72 %build
73 %if %{without gnome}
74 sed -i -e 's/^en_xdao=yes$/en_xdao=no/' configure.in
75 %endif
76 %{__autoconf}
77 sed -i -e 's#/usr/src/linux/include##g' scsilib/DEFAULT*/Defaults.linux
78 PIXMAPS_DIR="%{_pixmapsdir}/gcdmaster"; export PIXMAPS_DIR
79 %configure \
80         --with-pcctsbin=%{_bindir} \
81         --with-pcctsinc=/usr/lib/pccts/h \
82         --with-scglib-inc=/usr/include/schily \
83         --with-scglib-lib=/usr/lib 
84
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %files
97 %defattr(644,root,root,755)
98 %doc CREDITS README README.PlexDAE 
99 %attr(755,root,root) %{_bindir}/cdrdao
100 %attr(755,root,root) %{_bindir}/toc2*
101 %attr(755,root,root) %{_bindir}/cue2toc
102 #%dir %{_datadir}/cdrdao
103 #%{_datadir}/cdrdao/drivers
104 #%{_mandir}/man1/cdrdao.*
105 %{_mandir}/man1/cdrdao.1*
106 %{_mandir}/man1/cue2toc.1*
107
108 %if %{with gnome}
109 %files gcdmaster
110 %defattr(644,root,root,755)
111 %attr(755,root,root) %{_bindir}/gcdmaster
112 #%{_desktopdir}/gcdmaster.desktop
113 #%{_pixmapsdir}/*
114 %{_mandir}/man1/gcdmaster.*
115 %endif
This page took 0.079673 seconds and 4 git commands to generate.