File kde3-kdvdramtools.spec of Package kde3-kdvdramtools
#
# spec file for package kdvdramtools (Version 0.4.99rc1)
#
# Copyright (c) 2009,2010 Kyrill Detinov
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
%define _prefix /opt/kde3
Name: kde3-kdvdramtools
Version: 0.4.99rc1
Release: 0
License: GPL-2.0
Summary: KDVD-RAM is a Tool Collection for DVD, DVD-RAM and Blu-ray
URL: http://www.multimedia4linux.de/dvd-ram/
Group: Productivity/Multimedia/CD/Record
Source0: kdvdramtools-0.5rc1.tar.bz2
# PATCH-FIX-OPENSUSE kde3-kdvdramtools-0.4.99rc1-kdedir.patch lazy.kent.suse@gmail.com
# -- use real KDE 3 directory
Patch0: kde3-kdvdramtools-0.4.99rc1-kdedir.patch
BuildRequires: kdelibs3-devel
BuildRequires: fdupes
Requires: kdebase3
Requires: kde3-kommander-runtime
Requires: udftools
Requires: dvd+rw-tools
Requires: hdparm
Requires: sdparm
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
You can format the disc, create UDF filesystems, change the DVD-RAM write
protection status and the mount point permission. You get also many information
about the media and drive.
The tools:
- Format DVD-RAM, DVD+/-RW and Blu-ray disc (KDE Front-end for dvd+rw-format).
- Create UDF filesystems at DVD-RAM, DVD, CD-RW, HD, Worm and MO (KDE Front-end
for mkudffs).
Authors:
--------
Holger Klemm <dvd-ram@multimedia4linux.de>
%prep
%setup -q -n kdvdramtools-0.5rc1
%patch -P 0
%build
%install
. /etc/opt/kde3/common_options
%{__mkdir_p} %{buildroot}{%{_bindir},%{_datadir}/apps/konqueror/servicemenus,%{_datadir}/apps/dolphin/servicemenus,%{_datadir}/templates/.source,%{_bindir},%{_datadir}/doc/HTML/en/kdvd-ram-tools,%{_datadir}/doc/HTML/de/kdvd-ram-tools,%{_datadir}/locale/de/LC_MESSAGES,%{_datadir}/icons/default.kde/32x32/devices,%{_datadir}/icons/default.kde/48x48/devices,%{_datadir}/icons/default.kde/64x64/devices}
%{__install} -pm 644 media_dvd*.desktop %{buildroot}%{_datadir}/apps/konqueror/servicemenus
%{__install} -pm 644 media_dvd*.desktop %{buildroot}%{_datadir}/apps/dolphin/servicemenus
%{__install} -pm 644 linkDVDRAMWRITER.desktop %{buildroot}%{_datadir}/templates
%{__install} -pm 644 DVDRAMWRITER-Device.desktop %{buildroot}%{_datadir}/templates/.source
%{__install} -pm 755 src/*.sh %{buildroot}%{_bindir}
%{__install} -pm 755 src/*.kmdr %{buildroot}%{_bindir}
%{__install} -pm 644 doc/uk/index.docbook %{buildroot}%{_datadir}/doc/HTML/en/kdvd-ram-tools
%{__install} -pm 644 doc/uk/index.cache.bz2 %{buildroot}%{_datadir}/doc/HTML/en/kdvd-ram-tools
%{__install} -pm 644 doc/uk/*.png %{buildroot}%{_datadir}/doc/HTML/en/kdvd-ram-tools
%{__install} -pm 644 doc/de/index.docbook %{buildroot}%{_datadir}/doc/HTML/de/kdvd-ram-tools
%{__install} -pm 644 doc/de/index.cache.bz2 %{buildroot}%{_datadir}/doc/HTML/de/kdvd-ram-tools
%{__install} -pm 644 doc/de/*.png %{buildroot}%{_datadir}/doc/HTML/de/kdvd-ram-tools
%{__install} -pm 644 po/de/*.mo %{buildroot}%{_datadir}/locale/de/LC_MESSAGES
%{__install} -pm 644 icons/32x32/*.png %{buildroot}%{_datadir}/icons/default.kde/32x32/devices
%{__install} -pm 644 icons/48x48/*.png %{buildroot}%{_datadir}/icons/default.kde/48x48/devices
%{__install} -pm 644 icons/64x64/*.png %{buildroot}%{_datadir}/icons/default.kde/64x64/devices
%fdupes -s %{buildroot}
kde_post_install
%find_lang kdvd-ram-tools
%clean
%{__rm} -rf %{buildroot}
%files -f kdvd-ram-tools.lang
%defattr(-,root,root)
%doc README
%{_bindir}/*
%dir %{_datadir}/apps/konqueror
%dir %{_datadir}/apps/dolphin
%dir %{_datadir}/apps/konqueror/servicemenus
%dir %{_datadir}/apps/dolphin/servicemenus
%dir %{_datadir}/templates
%{_datadir}/templates/*.*
%{_datadir}/templates/.source
%{_datadir}/apps/*/servicemenus/*
%{_datadir}/icons/default.kde/*/devices/*
%lang(de) %{_datadir}/locale/de/LC_MESSAGES/*
%changelog
# kate: space-indent on; indent-width 4;