File konversation.spec of Package konversation
#
# spec file for package konversation
#
# Copyright (c) 2017 SUSE LINUX 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/
#
%define kf5_version 5.25.0
Name: konversation
Version: 1.7.2
Release: 0
Summary: A User-Friendly IRC Client by KDE
License: GPL-2.0+
Group: Productivity/Networking/IRC
Url: http://konversation.kde.org/
Source0: http://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz
BuildRequires: extra-cmake-modules
BuildRequires: karchive-devel >= %{kf5_version}
BuildRequires: kbookmarks-devel >= %{kf5_version}
BuildRequires: kconfig-devel >= %{kf5_version}
BuildRequires: kconfigwidgets-devel >= %{kf5_version}
BuildRequires: kcoreaddons-devel >= %{kf5_version}
BuildRequires: kcrash-devel >= %{kf5_version}
BuildRequires: kdbusaddons-devel >= %{kf5_version}
BuildRequires: kdoctools-devel >= %{kf5_version}
BuildRequires: kemoticons-devel >= %{kf5_version}
BuildRequires: kf5-filesystem
BuildRequires: kglobalaccel-devel >= %{kf5_version}
BuildRequires: ki18n-devel >= %{kf5_version}
BuildRequires: kiconthemes-devel >= %{kf5_version}
BuildRequires: kidletime-devel >= %{kf5_version}
BuildRequires: kio-devel >= %{kf5_version}
BuildRequires: kitemviews-devel >= %{kf5_version}
BuildRequires: knotifications-devel >= %{kf5_version}
BuildRequires: knotifyconfig-devel >= %{kf5_version}
BuildRequires: kparts-devel >= %{kf5_version}
BuildRequires: kwallet-devel >= %{kf5_version}
BuildRequires: kwidgetsaddons-devel >= %{kf5_version}
BuildRequires: kwindowsystem-devel >= %{kf5_version}
BuildRequires: libqca-qt5-devel
BuildRequires: phonon4qt5-devel
BuildRequires: solid-devel >= %{kf5_version}
BuildRequires: xz
BuildRequires: pkgconfig(Qt5Core) >= 5.5.0
BuildRequires: pkgconfig(Qt5Gui) >= 5.5.0
BuildRequires: pkgconfig(Qt5Widgets) >= 5.5.0
Recommends: %{name}-lang = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Konversation is a user-friendly Internet Relay Chat (IRC) client built on the
KDE Platform.
Features:
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
%lang_package
%prep
%setup -q
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%find_lang %{name}
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING COPYING-DOCS ChangeLog NEWS README
%{_kf5_applicationsdir}/org.kde.konversation.desktop
%{_kf5_bindir}/konversation
%doc %{_kf5_htmldir}/en/konversation/
%{_kf5_iconsdir}/hicolor/*/actions/konv_message.*
%{_kf5_iconsdir}/hicolor/*/apps/konversation.*
%{_kf5_notifydir}/konversation.notifyrc
%dir %{_kf5_sharedir}/kconf_update/
%{_kf5_sharedir}/kconf_update/konversation*
%{_kf5_sharedir}/konversation/
%{_kf5_sharedir}/kxmlgui5/konversation/
%dir %{_kf5_appstreamdir}
%{_kf5_appstreamdir}/org.kde.konversation.appdata.xml
%files lang -f %{name}.lang
%defattr(-,root,root,-)
%dir %{_kf5_htmldir}/pt_BR/
%doc %{_kf5_htmldir}/*/konversation/
%exclude %{_kf5_htmldir}/en/konversation
%changelog