]> git.pld-linux.org Git - packages/cdbakeoven.git/blob - cdbakeoven.spec
- unified or fixed %clean section
[packages/cdbakeoven.git] / cdbakeoven.spec
1
2 %define         beta    beta2
3
4 Summary:        Intuitive tool for burning CDs
5 Summary(pl.UTF-8):      Intuicyjne narzędzie do wypalania CD
6 Name:           cdbakeoven
7 Version:        2.0
8 Release:        0.%{beta}.3
9 License:        GPL
10 Group:          X11/Applications
11 Source0:        http://dl.sourceforge.net/%{name}/%{name}-i18n-%{version}%{beta}.tar.bz2
12 # Source0-md5:  52c2e0af4764f13ede315b1a0373236c
13 URL:            http://cdbakeoven.sourceforge.net/
14 BuildRequires:  bzip2
15 BuildRequires:  kdelibs-devel >= 3.1
16 Requires:       cdrtools
17 Requires:       cdrtools-cdda2wav
18 Requires:       cdrtools-mkisofs
19 Requires:       cdparanoia-III
20 Requires:       kdelibs >= 3.1
21 Requires:       vorbis-tools >= 1.0
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Obsoletes:      kdeutils-%{name}
24
25 %define         _htmldir        /usr/share/doc/kde/HTML
26
27 %description
28 CD Bake Oven was designed with one goal in mind: combine the power and
29 stability of great command line utilities with contemporary easy to
30 use user interface. CDBO enables you to create data or music CDs in
31 the most intuitive matter, allowing you to control every aspect of the
32 process. It is built on top of very well known 'cdrecord', 'mkisofs',
33 'cdda2wav' and 'cdparanoia' encapsulating most of the options those
34 utilities provide. This makes creating professional quality media as
35 easy as making a few mouse clicks.
36
37 %description -l pl.UTF-8
38 CD Bake Oven został zaprojektowany w jednym celu: połączyć
39 uniwersalność i stabilność doskonałych narzędzi linii poleceń z łatwym
40 w użyciu interfejsem. CDBO pozwala tworzyć CD z danymi lub muzyką w
41 najbardziej intuicyjny sposób, pozwalając kontrolować wszystkie
42 aspekty procesu. Został zbudowany na bazie doskonale znanych programów
43 ,,cdrecord'', ,,mkisofs'', ,,cdda2wav'' oraz ,,cdparanoia'' dając
44 dostęp do większości ich opcji. Czyni to tworzenie nośników o
45 profesjonalnej jakości równie łatwym jak klikanie myszką.
46
47 %prep
48 %setup -q -n %{name}-i18n-%{version}%{beta}
49
50 %build
51 kde_htmldir="%{_htmldir}"; export kde_htmldir
52 kde_icondir="%{_pixmapsdir}"; export kde_icondir
53
54 CXXFLAGS="%{rpmcflags}" CFLAGS="%{rpmcflags}" ./configure \
55         --prefix=%{_prefix}
56
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT%{_applnkdir}/{Settings/KDE,Utilities/CD-RW}
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 ALD=$RPM_BUILD_ROOT%{_applnkdir}
67 mv -f $ALD/{Settings/[!K]*,Settings/KDE}
68 mv -f $ALD/Multimedia $ALD/Utilities/CD-RW
69 echo "[Desktop Entry]\nName=CDBakeOven\nIcon=cdbakeoven" \
70         > $ALD/Settings/KDE/CDBakeOven/.directory
71
72 %find_lang %{name}
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files -f %{name}.lang
78 %defattr(644,root,root,755)
79 %doc AUTHORS
80 %attr(755,root,root) %{_bindir}/*
81 %attr(755,root,root) %{_libdir}/kde3/*
82 %{_datadir}/apps/* # specify excplicit dirs here (to avoid packaging kde dirs)
83 %{_datadir}/mimelnk/application/*
84 %{_datadir}/mimelnk/inode/*
85 %{_pixmapsdir}/*/*/*/*
86 %{_applnkdir}/Utilities/CD-RW/*
87 %{_applnkdir}/Settings/KDE/*
This page took 0.088983 seconds and 3 git commands to generate.