File kiso.spec of Package kiso

#
# spec file for package kiso (Version 0.8.3)
#
# Copyright 2006 Carlos Gonçalves <carlos@pinguix.com>
# Copyright 2009 Buschmann <buschmann23@opensuse.org>
# Copyright (c) 2010 Kyrill Detinov
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#

%define _prefix /opt/kde3

Name:           kiso
Version:        0.8.3
Release:        0
License:        GPL-2.0
Summary:        CD Image Files Creator, Manipulator and Extractor
URL:            http://kiso.sourceforge.net
Group:          Productivity/Multimedia/Other
Source0:        %name-%{version}.tar.bz2
Patch0:         libcdio077.diff
# PATCH-FIX-UPSTREAM kiso-0.8.3-mount_option.patch lazy.kent.suse@gmail.com
# -- fix test mount options
Patch1:         kiso-0.8.3-mount_option.patch
# PATCH-FEATURE-OPENSUSE kiso-0.8.3-message.patch lazy.kent.suse@gmail.com
# -- expand first run message
Patch2:         kiso-0.8.3-message.patch
Patch3:         kiso-deprecate-update-desktop-files.patch
BuildRequires:  kdelibs3-devel
BuildRequires:  libcdio-devel
Requires:       mcrypt
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
KIso is a program for KDE to make it as easy as possible to create manipulate
and extract CD Image files.



Authors:
--------
    Stephan Gans <mephistoki@users.sourceforge.net>

%prep
%setup -q
%patch -P 0
%patch -P 1
%patch -P 2
%patch -P 3 -p1
%{__chmod} -x ChangeLog
%{__mv} "Thanks to" THANKS
. /etc/opt/kde3/common_options
update_admin --no-unsermake

%build
. /etc/opt/kde3/common_options
./configure $configkde --disable-final
%{__make} %{?_smp_mflags}

%install
. /etc/opt/kde3/common_options
%{makeinstall}
%find_lang %{name}
kde_post_install

%clean
%{__rm} -rf %{buildroot}

%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING THANKS
%{_bindir}/*
%{_datadir}/apps/*
%{_datadir}/appl*/*/*.desktop
%{_datadir}/mimelnk/*/*
%{_datadir}/icons/hicolor
%dir %{_datadir}/locale/zh_CN.GB2312
%dir %{_datadir}/locale/zh_CN.GB2312/LC_MESSAGES

%changelog

# kate: space-indent on; indent-width 4;
openSUSE Build Service is sponsored by