File konversation.spec of Package konversation

# spec file for package konversation
# Copyright (c) 2011 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

# norootforbuild

Name:           konversation
Version:        1.3.1
Release:        7.<RELEASE2>
Summary:        A User-Friendly IRC Client for KDE

License:        GPLv2+
Group:          Productivity/Networking/IRC
# PATCH-FIX-OPENSUSE enable-kde41.diff -- Try building against KDE older than 4.3
Patch0:         enable-kde41.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

BuildRequires:  libkde4-devel
BuildRequires:  libkdepimlibs4-devel
BuildRequires:  libqca2-devel
%if 0%{?suse_version}
BuildRequires:  update-desktop-files
Requires:       kdepim4-runtime
Recommends:     %{name}-lang = %{version}
%if 0%{?suse_version} > 1110
Provides:       kde4-konversation = 1.1.77
Obsoletes:      kde4-konversation < 1.1.77

Konversation is a user-friendly Internet Relay Chat (IRC) client built on the
KDE Platform.


 Standard IRC features
 SSL server support
 Bookmarking support
 Easy to use graphical user interface
 Multiple servers and channels in one single window
 DCC file transfer
 Multiple identities for different servers
 Text decorations and colors
 OnScreen Display for notifications
 Automatic UTF-8 detection
 Per channel encoding support
 Theme support for nick icons
 Highly configurable

    Dario Abatianni <>
    Matthias Gierlings <>
    Alex Zepeda <>
    Stanislav Karchebny <>
    Mickael Marchand <>
    Peter Simonsson <>
    Christian Muehlhaeuser <>
    John Tapsell <>
    Shintaro Matsuoka <>
    İsmail Dönmez <>
    Eike Hein <>

%setup -q

%cmake_kde4 -d build

pushd build

%if 0%{?suse_version}
%suse_update_desktop_file %{name} Qt KDE Network IRCClient

%if 0%{?suse_version} < 1120
 for i in en et it pt_BR sv uk; do mkdir %{buildroot}%{_kde4_htmldir}/$i/common;done

# Removed unneeded locales
%if 0%{?suse_version} < 1130
rm -rf %{buildroot}%{_datadir}/locale/sr@ijekavian/
rm -rf %{buildroot}%{_datadir}/locale/sr@ijekavianlatin/

%find_lang %{name}


rm -rf %{buildroot}

%doc %{_kde4_htmldir}/en/konversation/

%files lang -f %{name}.lang
%exclude %{_kde4_docdir}/HTML/en/konversation

openSUSE Build Service is sponsored by