]> git.pld-linux.org Git - packages/cdrdao.git/blob - cdrdao.spec
- merge translations from CNV.
[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:        1
11 License:        GPL
12 Group:          Applications/System
13 Group(de):      Applikationen/System
14 Group(pl):      Aplikacje/System
15 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/cdrdao/%{name}-%{version}.src.tar.gz
16 Patch0:         %{name}-destdir.patch
17 Patch1:         %{name}-opt.patch
18 Patch2:         %{name}-acfix.patch
19 Patch3:         %{name}-gcdmaster-paths.patch
20 URL:            http://cdrdao.sourceforge.net/
21 BuildRequires:  autoconf
22 BuildRequires:  libstdc++-devel
23 BuildRequires:  libsigc++-devel
24 BuildRequires:  pccts-devel
25 %{!?_without_gnome:BuildRequires:       gtkmm-devel >= 1.2.5}
26 %{!?_without_gnome:BuildRequires:       gnome-libs-devel >= 1.2.3}
27 %{!?_without_gnome:BuildRequires:       gnomemm-devel >= 1.1.17}
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %define         _xprefix        /usr/X11R6
31 %define         _xmandir        %{_xprefix}/man
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 Group(de):      X11/Applikationen
54 Group(pl):      X11/Aplikacje
55 Requires:       %{name} = %{version}
56
57 %description gcdmaster
58 gcdmaster allows the creation of toc-files for cdrdao and can control
59 the recording process. Its main application is the composition of
60 audio CDs from one or more audio files. It supports PQ-channel
61 editing, entry of meta data like ISRC codes/CD-TEXT and non
62 destructive cut of the audio data.
63
64 %description gcdmaster -l pl
65 gcdmaster pozwala na tworzenie plików toc dla cdrdao oraz mo¿e
66 kontrolowaæ proces nagrywania. G³ównym celem jest sk³adanie p³yt
67 CD-Audio z jednego lub wiêcej plików z d¼wiêkiem. Obs³uguje edycjê
68 kana³u PQ, wpisy meta-danych takich jak kody ISRC/CD-TEXT oraz
69 niedestruktywne ciêcie danych audio.
70
71 %prep
72 %setup -q
73 %patch0 -p1
74 %patch1 -p1
75 %patch2 -p1
76 %patch3 -p1
77
78 %build
79 (cd paranoia ; autoconf)
80 autoconf
81 # false gtkmm-config path can be used to disable building of GNOME frontend
82 %configure \
83         --with-pcctsbin=%{_bindir} \
84         --with-pcctsinc=%{_includedir}/pccts \
85         %{?_without_gnome:--with-gtkmm-exec-prefix=/}
86
87 #       --x-includes=%{_prefix}/X11R6/includes \
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92
93 %{__make} install \
94         DESTDIR=$RPM_BUILD_ROOT
95
96 gzip -9nf CREDITS README README.PlexDAE Release*
97
98 %clean
99 rm -rf $RPM_BUILD_ROOT
100
101 %files
102 %defattr(644,root,root,755)
103 %doc *.gz
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.035857 seconds and 3 git commands to generate.