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