File konversation.spec of Package konversation

#
# spec file for package konversation (Version 1.2.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           konversation
BuildRequires:  libkdepimlibs4-devel libqca2-devel
Url:            http://konversation.kde.org/
License:        GPL v2 or later
Group:          Productivity/Networking/IRC
Summary:        A User-Friendly IRC Client for KDE
Version:        1.2.0
Release:        1.<RELEASE1>
%define rversion 1.2
Source0:        konversation-%rversion.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_pimlibs_requires
%if %suse_version > 1110
Provides:       kde4-konversation = 1.1.77
Obsoletes:      kde4-konversation < 1.1.77
%endif
%kde4_runtime_requires
Requires:       %{name}-lang = %{version}

%description
Konversation is a user-friendly IRC client for KDE



Authors:
--------
    Dario Abatianni <eisfuchs@tigress.com>
    Matthias Gierlings <gismore@users.sourceforge.net>
    Alex Zepeda <garbanzo@hooked.net>
    Stanislav Karchebny <berkus@users.sourceforge.net>
    Mickael Marchand <marchand@kde.org>
    Peter Simonsson <psn@linux.se>
    Christian Muehlhaeuser <chris@chris.de>
    John Tapsell <johnflux@gmail.com>
    Shintaro Matsuoka <shin@shoegazed.org>
    İsmail Dönmez <ismail@kde.org.tr>
    Eike Hein <sho@eikehein.com>

%lang_package
%prep
%setup -q -n konversation-%rversion

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  pushd build
  %makeinstall
  %if %suse_version < 1120
  mkdir $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/en/common
  mkdir $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/et/common
  mkdir $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/uk/common
  mkdir $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/sv/common
  mkdir $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/it/common
  %endif
  popd
  %suse_update_desktop_file konversation IRCClient
  %find_lang konversation

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files lang -f konversation.lang

%files
%defattr(-,root,root)
%if %suse_version < 1120
%dir /usr/share/doc/kde/HTML/et
%dir /usr/share/doc/kde/HTML/it
%dir /usr/share/doc/kde/HTML/sv
%dir /usr/share/doc/kde/HTML/uk
%endif
/usr/bin/konversation
/usr/share/applications/kde4/konversation.desktop
/usr/share/kde4/apps/konversation
/usr/share/icons/hicolor/*/actions/kimproxyaway.*
/usr/share/icons/hicolor/*/actions/kimproxyoffline.*
/usr/share/icons/hicolor/*/actions/kimproxyonline.*
/usr/share/icons/hicolor/*/actions/konv_message.*
/usr/share/icons/hicolor/*/apps/konversation.*
/usr/share/kde4/services/konvirc.protocol
/usr/share/kde4/services/konvirc6.protocol
/usr/share/kde4/apps/kconf_update/*

%changelog
openSUSE Build Service is sponsored by