]> git.pld-linux.org Git - packages/cdrdao.git/blob - cdrdao.spec
- massive attack, adding Source-md5
[packages/cdrdao.git] / cdrdao.spec
1 #
2 # Conditional build:
3 # _without_gnome        - without GNOME frontend (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.7
10 Release:        3
11 License:        GPL
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 URL:            http://cdrdao.sourceforge.net/
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 %{!?_without_gnome:BuildRequires:       gnome-libs-devel >= 1.2.3}
23 %{!?_without_gnome:BuildRequires:       gnomemm-devel >= 1.1.17}
24 %{!?_without_gnome:BuildRequires:       gtkmm-devel >= 1.2.5}
25 BuildRequires:  lame-libs-devel
26 BuildRequires:  libstdc++-devel
27 BuildRequires:  pccts >= 1.33MR33-4
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 %patch0 -p1
69 %patch1 -p1
70 %patch2 -p1
71 %patch3 -p1
72
73 %build
74 cd paranoia
75 %{__autoconf}
76 cd ..
77 %{__autoconf}
78 # false gtkmm-config path can be used to disable building of GNOME frontend
79 applnkdir=%{_applnkdir}; export applnkdir
80 PIXMAPS_DIR="%{_pixmapsdir}/gcdmaster"; export PIXMAPS_DIR
81 %configure \
82         --with-pcctsbin=%{_bindir} \
83         --with-pcctsinc=/usr/lib/pccts/h \
84         %{?_without_gnome:--with-gtkmm-exec-prefix=/}
85
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %files
98 %defattr(644,root,root,755)
99 %doc CREDITS README README.PlexDAE Release*
100 %attr(755,root,root) %{_bindir}/cdrdao
101 %attr(755,root,root) %{_bindir}/toc2*
102 %dir %{_datadir}/cdrdao
103 %{_datadir}/cdrdao/drivers
104 %{_mandir}/man1/cdrdao.*
105
106 %if %{?_without_gnome:0}%{!?_without_gnome:1}
107 %files gcdmaster
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_bindir}/gcdmaster
110 %{_mandir}/man1/gcdmaster.*
111 %{_pixmapsdir}/*
112 %{_applnkdir}/Utilities/CD-RW/gcdmaster.desktop
113 %endif
This page took 0.057541 seconds and 4 git commands to generate.