X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=cdrdao.spec;h=b2d1903c325cc39298af0c290352405cfd6e20fa;hb=ef7a3f916e5bc03c60e436faf72113f2a09145e3;hp=31044d3c5429465c53a8b68b96519ba80d01b858;hpb=636391b9bf1689f4f6dd849ef42663a1c4c5600a;p=packages%2Fcdrdao.git diff --git a/cdrdao.spec b/cdrdao.spec index 31044d3..b2d1903 100644 --- a/cdrdao.spec +++ b/cdrdao.spec @@ -1,29 +1,34 @@ -# NOTE: -# Currently this package does not contain X interface. This is due to -# the fact, that it doesn't compile with current version of gtkmm. I -# have asked author if he is going to update this program, but I've got -# no answer yet. +# +# Conditional build: +# _without_gnome - without GNOME frontend (gcdmaster) +# Summary: Tools for burning CDRs in Disk At Once mode Summary(pl): Narzêdzia do wypalania p³yt w trybie Disk At Once +Summary(pt_BR): Cdrdao - Escreve CD-Rs de áudio em modo "disk-at-once" Name: cdrdao -Version: 1.1.3 -Release: 2 +Version: 1.1.7 +Release: 1 License: GPL Group: Applications/System -Group(de): Applikationen/System -Group(pl): Aplikacje/System -Source0: http://www.ping.de/sites/daneb/%{name}-%{version}.src.tar.gz +Source0: ftp://ftp.sourceforge.net/pub/sourceforge/cdrdao/%{name}-%{version}.src.tar.bz2 Patch0: %{name}-destdir.patch Patch1: %{name}-opt.patch +Patch3: %{name}-gcdmaster-paths.patch +URL: http://cdrdao.sourceforge.net/ BuildRequires: autoconf +BuildRequires: automake +%{!?_without_gnome:BuildRequires: gnome-libs-devel >= 1.2.3} +%{!?_without_gnome:BuildRequires: gnomemm-devel >= 1.1.17} +%{!?_without_gnome:BuildRequires: gtkmm-devel >= 1.2.5} BuildRequires: libstdc++-devel -BuildRequires: libsigc++-devel +BuildRequires: libsigc++1-devel BuildRequires: pccts-devel -# Required by frontend. -#BuildRequires: gtk+-devel -#BuildRequires: gtkmm-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +%define _xprefix /usr/X11R6 +%define _xbindir %{_xprefix}/bin +%define _xmandir %{_xprefix}/man + %description Cdrdao records audio and data CD-Rs in Disk At Once mode. This mode gives much better control over contents of CD. @@ -32,18 +37,52 @@ gives much better control over contents of CD. Cdrdao zapisuje p³ytki audio i z danymi w trybie Disk At Once. W tym trybie masz znacznie wiêksz± kontrolê nad zawarto¶ci± p³ytki. +%description -l pt_BR +Escreve CD-Rs de áudio em modo "disk-at-once" (DAO) permitindo +controle sobre pre-gaps (tamanho reduzido a 0, dados não zerados de +áudio) e informações de sub-canais como códigos ISRC. Todos os dados +que são escritos no disco devem ser especificados através de um +arquivo texto. Dados de áudio também podem estar no formato WAVE ou +raw. + +%package gcdmaster +Summary: GNOME frontend to cdrdao for composing audio CDs +Summary(pl): Frontend GNOME do cdrdao do sk³adania p³yt CD-Audio +Group: X11/Applications +Requires: %{name} = %{version} + +%description gcdmaster +gcdmaster allows the creation of toc-files for cdrdao and can control +the recording process. Its main application is the composition of +audio CDs from one or more audio files. It supports PQ-channel +editing, entry of meta data like ISRC codes/CD-TEXT and non +destructive cut of the audio data. + +%description gcdmaster -l pl +gcdmaster pozwala na tworzenie plików toc dla cdrdao oraz mo¿e +kontrolowaæ proces nagrywania. G³ównym celem jest sk³adanie p³yt +CD-Audio z jednego lub wiêcej plików z d¼wiêkiem. Obs³uguje edycjê +kana³u PQ, wpisy meta-danych takich jak kody ISRC/CD-TEXT oraz +niedestruktywne ciêcie danych audio. + %prep -%setup -q +%setup -q %patch0 -p1 %patch1 -p1 +%patch3 -p1 %build -(cd paranoia ; autoconf) -%configure2_13 \ +cd paranoia +%{__autoconf} +cd .. +cp -f /usr/share/automake/config.* . +%{__autoconf} +# false gtkmm-config path can be used to disable building of GNOME frontend +%configure \ --with-pcctsbin=%{_bindir} \ --with-pcctsinc=%{_includedir}/pccts \ - --x-includes=%{_prefix}/X11R6/includes \ - --with-gtkmm-exec-prefix=/usr + %{?_without_gnome:--with-gtkmm-exec-prefix=/} + %{__make} %install @@ -52,13 +91,20 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -gzip -9nf CREDITS README* Release* - %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc *.gz +%doc CREDITS README README.PlexDAE Release* %attr(755,root,root) %{_bindir}/* %{_mandir}/*/* + +%if %{?_without_gnome:0}%{!?_without_gnome:1} +%files gcdmaster +%defattr(644,root,root,755) +%attr(755,root,root) %{_xbindir}/* +%{_xmandir}/man1/* +%{_pixmapsdir}/* +%{_applnkdir}/Applications/gcdmaster.desktop +%endif