summaryrefslogtreecommitdiff
path: root/cdbakeoven.spec
blob: 34c6f46b613d203178ca39ffb5a5a43dcfa1365a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84

Summary:	Intuitive tool for burning CDs
Summary(pl):	Intuicyjne narzędzie do wypalania CD
Name:		cdbakeoven
Version:	1.8.9
Release:	1
License:	GPL
Group:		X11/Applications
Source0:	ftp://ftp.sourceforge.net/pub/sourceforge/%{name}/%{name}-%{version}.tar.bz2
URL:		http://%{name}.sourceforge.net/
BuildRequires:	bzip2
BuildRequires:	kdelibs-devel >= 3.0
Requires:	kdelibs >= 3.0
Requires:	cdrtools
Requires:	cdrtools-cdda2wav
Requires:	cdrtools-mkisofs
Requires:	cdparanoia-III
Obsoletes:      kdeutils-%{name}
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%define		_prefix		/usr/X11R6
%define		_fontdir	/usr/share/fonts
%define		_htmldir	/usr/share/doc/kde/HTML

%description
CD Bake Oven was designed with one goal in mind: combine the power and
stability of great command line utilities with contemporary easy to
use user interface. CDBO enables you to create data or music CDs in
the most intuitive matter, allowing you to control every aspect of the
process. It is built on top of very well known 'cdrecord', 'mkisofs',
'cdda2wav' and 'cdparanoia' encapsulating most of the options those
utilities provide. This makes creating professional quality media as
easy as making a few mouse clicks.

%description -l pl
CD Bake Oven został zaprojektowany w jednym celu: połączyć
uniwersalność i stabilność doskonałych narzędzi linii poleceń z łatwym
w użyciu interfejsem. CDBO pozwala tworzyć CD z danymi lub muzyką w
najbardziej intuicyjny sposób, pozwalając kontrolować wszystkie
aspekty procesu. Został zbudowany na bazie doskonale znanych programów
,,cdrecord'', ,,mkisofs'', ,,cdda2wav'' oraz ,,cdparanoia'' dając
dostęp do większości ich opcji. Czyni to tworzenie nośników o
profesjonalnej jakości równie łatwym jak klikanie myszką.

%prep
%setup -q

%build
kde_htmldir="%{_htmldir}"; export kde_htmldir
kde_icondir="%{_pixmapsdir}"; export kde_icondir

CXXFLAGS="%{rpmcflags}" CFLAGS="%{rpmcflags}" ./configure \
	--prefix=%{_prefix}

%{__make}

%install
rm -rf $RPM_BUILD_ROOT

install -d \
    $RPM_BUILD_ROOT%{_applnkdir}/{Settings/KDE,Utilities/CD-RW}

%{__make} install DESTDIR=$RPM_BUILD_ROOT

ALD=$RPM_BUILD_ROOT%{_applnkdir}
mv -f $ALD/{Settings/[!K]*,Settings/KDE}
mv -f $ALD/Utilities/{[!C]*,CD-RW}
echo "[Desktop Entry]\nName=CDBakeOven\nIcon=cdbakeoven" \
    > $ALD/Settings/KDE/CDBakeOven/.directory

%clean
%{!?_without_clean:rm -rf $RPM_BUILD_ROOT}

%files
%defattr(644,root,root,755)
%doc AUTHORS COPYING
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_libdir}/kde3/*
%{_datadir}/apps/*
%{_datadir}/mimelnk/application/*
%{_datadir}/mimelnk/inode/*
%{_pixmapsdir}/*/*/*/*
%{_applnkdir}/Utilities/CD-RW/*
%{_applnkdir}/Settings/KDE/*