]> 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.5
10 Release:        4
11 License:        GPL
12 Group:          Applications/System
13 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/cdrdao/%{name}-%{version}.src.tar.gz
14 Patch0:         %{name}-destdir.patch
15 Patch1:         %{name}-opt.patch
16 Patch2:         %{name}-acfix.patch
17 Patch3:         %{name}-gcdmaster-paths.patch
18 Patch4:         %{name}-gcc3.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:  libstdc++-devel
26 BuildRequires:  libsigc++1-devel
27 BuildRequires:  pccts-devel
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %define         _xprefix        /usr/X11R6
31 %define         _xbindir        %{_xprefix}/bin
32 %define         _xmandir        %{_xprefix}/man
33
34 %description
35 Cdrdao records audio and data CD-Rs in Disk At Once mode. This mode
36 gives much better control over contents of CD.
37
38 %description -l pl
39 Cdrdao zapisuje p³ytki audio i z danymi w trybie Disk At Once. W tym
40 trybie masz znacznie wiêksz± kontrolê nad zawarto¶ci± p³ytki.
41
42 %description -l pt_BR
43 Escreve CD-Rs de áudio em modo "disk-at-once" (DAO) permitindo
44 controle sobre pre-gaps (tamanho reduzido a 0, dados não zerados de
45 áudio) e informações de sub-canais como códigos ISRC. Todos os dados
46 que são escritos no disco devem ser especificados através de um
47 arquivo texto. Dados de áudio também podem estar no formato WAVE ou
48 raw.
49
50 %package gcdmaster
51 Summary:        GNOME frontend to cdrdao for composing audio CDs
52 Summary(pl):    Frontend GNOME do cdrdao do sk³adania p³yt CD-Audio
53 Group:          X11/Applications
54 Requires:       %{name} = %{version}
55
56 %description gcdmaster
57 gcdmaster allows the creation of toc-files for cdrdao and can control
58 the recording process. Its main application is the composition of
59 audio CDs from one or more audio files. It supports PQ-channel
60 editing, entry of meta data like ISRC codes/CD-TEXT and non
61 destructive cut of the audio data.
62
63 %description gcdmaster -l pl
64 gcdmaster pozwala na tworzenie plików toc dla cdrdao oraz mo¿e
65 kontrolowaæ proces nagrywania. G³ównym celem jest sk³adanie p³yt
66 CD-Audio z jednego lub wiêcej plików z d¼wiêkiem. Obs³uguje edycjê
67 kana³u PQ, wpisy meta-danych takich jak kody ISRC/CD-TEXT oraz
68 niedestruktywne ciêcie danych audio.
69
70 %prep
71 %setup -q
72 %patch0 -p1
73 %patch1 -p1
74 %patch2 -p1
75 %patch3 -p1
76 %patch4 -p1
77
78 %build
79 cd paranoia
80 %{__autoconf}
81 cd ..
82 cp -f /usr/share/automake/config.* .
83 %{__autoconf}
84 # false gtkmm-config path can be used to disable building of GNOME frontend
85 %configure \
86         --with-pcctsbin=%{_bindir} \
87         --with-pcctsinc=%{_includedir}/pccts \
88         %{?_without_gnome:--with-gtkmm-exec-prefix=/}
89
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 %{__make} install \
96         DESTDIR=$RPM_BUILD_ROOT
97
98 %clean
99 rm -rf $RPM_BUILD_ROOT
100
101 %files
102 %defattr(644,root,root,755)
103 %doc CREDITS README README.PlexDAE Release*
104 %attr(755,root,root) %{_bindir}/*
105 %{_mandir}/*/*
106
107 %if %{?_without_gnome:0}%{!?_without_gnome:1}
108 %files gcdmaster
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_xbindir}/*
111 %{_xmandir}/man1/*
112 %{_pixmapsdir}/*
113 %{_applnkdir}/Applications/gcdmaster.desktop
114 %endif
This page took 0.069038 seconds and 3 git commands to generate.