]> git.pld-linux.org Git - packages/cdrdao.git/blob - cdrdao.spec
- updated to 1.1.7
[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:        1
11 License:        GPL
12 Group:          Applications/System
13 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/cdrdao/%{name}-%{version}.src.tar.bz2
14 Patch0:         %{name}-destdir.patch
15 Patch1:         %{name}-opt.patch
16 Patch3:         %{name}-gcdmaster-paths.patch
17 URL:            http://cdrdao.sourceforge.net/
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 %{!?_without_gnome:BuildRequires:       gnome-libs-devel >= 1.2.3}
21 %{!?_without_gnome:BuildRequires:       gnomemm-devel >= 1.1.17}
22 %{!?_without_gnome:BuildRequires:       gtkmm-devel >= 1.2.5}
23 BuildRequires:  libstdc++-devel
24 BuildRequires:  libsigc++1-devel
25 BuildRequires:  pccts-devel
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _xprefix        /usr/X11R6
29 %define         _xbindir        %{_xprefix}/bin
30 %define         _xmandir        %{_xprefix}/man
31
32 %description
33 Cdrdao records audio and data CD-Rs in Disk At Once mode. This mode
34 gives much better control over contents of CD.
35
36 %description -l pl
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.
39
40 %description -l pt_BR
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
46 raw.
47
48 %package gcdmaster
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}
53
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.
60
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.
67
68 %prep
69 %setup -q
70 %patch0 -p1
71 %patch1 -p1
72 %patch3 -p1
73
74 %build
75 cd paranoia
76 %{__autoconf}
77 cd ..
78 cp -f /usr/share/automake/config.* .
79 %{__autoconf}
80 # false gtkmm-config path can be used to disable building of GNOME frontend
81 %configure \
82         --with-pcctsbin=%{_bindir} \
83         --with-pcctsinc=%{_includedir}/pccts \
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}/*
101 %{_mandir}/*/*
102
103 %if %{?_without_gnome:0}%{!?_without_gnome:1}
104 %files gcdmaster
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_xbindir}/*
107 %{_xmandir}/man1/*
108 %{_pixmapsdir}/*
109 %{_applnkdir}/Applications/gcdmaster.desktop
110 %endif
This page took 0.033033 seconds and 3 git commands to generate.