]> git.pld-linux.org Git - packages/cdrdao.git/blob - cdrdao.spec
- Fixed %%install
[packages/cdrdao.git] / cdrdao.spec
1 #
2 # Conditional build:
3 %bcond_without  gnome   # without 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.8
10 Release:        0.3
11 License:        GPL v2+
12 Group:          Applications/System
13 Source0:        http://dl.sourceforge.net/cdrdao/%{name}-%{version}.tar.gz
14 # Source0-md5:  10cfd445fa628fb32dacf02e555fdbba
15 Source1:        %{name}.desktop
16 Source2:        gcdmaster.png
17 Patch0:         %{name}-nolibs.patch
18 Patch1:         %{name}-pccts-antlr.patch
19 URL:            http://cdrdao.sourceforge.net/
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  cdrtools-devel >= 3:2.01a25
23 %{?with_gnome:BuildRequires:    libgnomeuimm-devel >= 2.0.0}
24 %{?with_gnome:BuildRequires:    gtkmm-devel >= 2.2.8}
25 BuildRequires:  lame-libs-devel >= 3.92
26 BuildRequires:  libstdc++-devel
27 BuildRequires:  pccts >= 1.33MR33-8
28 BuildRequires:  sed >= 4.0
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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}-%{release}
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
72 sed -i -e 's#/usr/src/linux/include##g' scsilib/DEFAULT*/Defaults.linux
73 %if %{without gnome}
74 sed -i -e 's/^en_xdao=yes$/en_xdao=no/' configure.in
75 %endif
76
77 %build
78 %{__aclocal}
79 %{__autoconf}
80 %{__autoheader}
81 %{__automake}
82 %configure \
83         --with-pcctsbin=%{_bindir} \
84         --with-pcctsinc=/usr/lib/pccts/h \
85         --with-scglib-inc=/usr/include/schily \
86         --with-scglib-lib=/usr/lib 
87
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
93
94 %{__make} install \
95         DESTDIR=$RPM_BUILD_ROOT
96
97 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/gcdmaster.desktop
98 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %files
104 %defattr(644,root,root,755)
105 %doc CREDITS README README.PlexDAE 
106 %attr(755,root,root) %{_bindir}/cdrdao
107 %attr(755,root,root) %{_bindir}/toc2*
108 %attr(755,root,root) %{_bindir}/cue2toc
109 %{_mandir}/man1/cdrdao.1*
110 %{_mandir}/man1/cue2toc.1*
111
112 %if %{with gnome}
113 %files gcdmaster
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_bindir}/gcdmaster
116 %{_desktopdir}/gcdmaster.desktop
117 %{_pixmapsdir}/*
118 %{_mandir}/man1/gcdmaster.*
119 %endif
This page took 0.075285 seconds and 3 git commands to generate.