File konversation.spec of Package konversation

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

Name:           konversation
Version:        1.5~rc1
Release:        0
%define tar_version 1.5-rc1
Summary:        A User-Friendly IRC Client for KDE
License:        GPL-2.0+
Group:          Productivity/Networking/IRC
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  libkde4-devel
BuildRequires:  libkdepimlibs4-devel
BuildRequires:  libqca2-devel
BuildRequires:  xz
%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

%setup -q -n %{name}-%{tar_version}

%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