]> git.pld-linux.org Git - packages/cdrdao.git/blob - cdrdao.spec
- refreshing config.sub no longer necessary
[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:        2
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:  pccts >= 1.33MR33-4
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %define         _xprefix        /usr/X11R6
28 %define         _xbindir        %{_xprefix}/bin
29 %define         _xmandir        %{_xprefix}/man
30
31 %description
32 Cdrdao records audio and data CD-Rs in Disk At Once mode. This mode
33 gives much better control over contents of CD.
34
35 %description -l pl
36 Cdrdao zapisuje p³ytki audio i z danymi w trybie Disk At Once. W tym
37 trybie masz znacznie wiêksz± kontrolê nad zawarto¶ci± p³ytki.
38
39 %description -l pt_BR
40 Escreve CD-Rs de áudio em modo "disk-at-once" (DAO) permitindo
41 controle sobre pre-gaps (tamanho reduzido a 0, dados não zerados de
42 áudio) e informações de sub-canais como códigos ISRC. Todos os dados
43 que são escritos no disco devem ser especificados através de um
44 arquivo texto. Dados de áudio também podem estar no formato WAVE ou
45 raw.
46
47 %package gcdmaster
48 Summary:        GNOME frontend to cdrdao for composing audio CDs
49 Summary(pl):    Frontend GNOME do cdrdao do sk³adania p³yt CD-Audio
50 Group:          X11/Applications
51 Requires:       %{name} = %{version}
52
53 %description gcdmaster
54 gcdmaster allows the creation of toc-files for cdrdao and can control
55 the recording process. Its main application is the composition of
56 audio CDs from one or more audio files. It supports PQ-channel
57 editing, entry of meta data like ISRC codes/CD-TEXT and non
58 destructive cut of the audio data.
59
60 %description gcdmaster -l pl
61 gcdmaster pozwala na tworzenie plików toc dla cdrdao oraz mo¿e
62 kontrolowaæ proces nagrywania. G³ównym celem jest sk³adanie p³yt
63 CD-Audio z jednego lub wiêcej plików z d¼wiêkiem. Obs³uguje edycjê
64 kana³u PQ, wpisy meta-danych takich jak kody ISRC/CD-TEXT oraz
65 niedestruktywne ciêcie danych audio.
66
67 %prep
68 %setup -q
69 %patch0 -p1
70 %patch1 -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 %configure \
80         --with-pcctsbin=%{_bindir} \
81         --with-pcctsinc=/usr/lib/pccts/h \
82         %{?_without_gnome:--with-gtkmm-exec-prefix=/}
83
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} install \
90         DESTDIR=$RPM_BUILD_ROOT
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %files
96 %defattr(644,root,root,755)
97 %doc CREDITS README README.PlexDAE Release*
98 %attr(755,root,root) %{_bindir}/*
99 %{_datadir}/cdrdao
100 %{_mandir}/*/*
101
102 %if %{?_without_gnome:0}%{!?_without_gnome:1}
103 %files gcdmaster
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_xbindir}/*
106 %{_xmandir}/man1/*
107 %{_pixmapsdir}/*
108 %{_applnkdir}/Applications/gcdmaster.desktop
109 %endif
This page took 0.099042 seconds and 4 git commands to generate.