File okteta.spec of Package okteta

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

Name:           okteta
BuildRequires:  attica-qt5-devel
BuildRequires:  cmake
BuildRequires:  extra-cmake-modules
BuildRequires:  fdupes
BuildRequires:  kcmutils-devel
BuildRequires:  kdoctools-devel
BuildRequires:  kf5-filesystem
BuildRequires:  knewstuff-devel
BuildRequires:  kparts-devel
BuildRequires:  kiconthemes-devel
BuildRequires:  kdbusaddons-devel
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(Qt5Designer)
BuildRequires:  pkgconfig(Qt5PrintSupport)
BuildRequires:  pkgconfig(Qt5ScriptTools)
Requires(post):     shared-mime-info
Requires(postun):   shared-mime-info
Obsoletes:      okteta5 < %{version}
Summary:        Hex Editor
License:        GPL-2.0 and GFDL-1.2
Group:          Development/Tools/Other
Version:        16.08.2
Release:        0
Source0:        okteta-%{version}.tar.xz
Obsoletes:      %{name}5 < %{version}
Provides:       %{name}5 = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Okteta is a hex editor for the KDE desktop.

%package devel
Summary:        Development files for the Okteta Hex Editor
Group:          Development/Tools/Other
Requires:       %{name} = %{version}
Obsoletes:      okteta5-devel

%description devel
Contains the development files for the Okteta Hex Editor

%setup -q

  %cmake_kf5 -d build

  %kf5_makeinstall -C build
  %suse_update_desktop_file    org.kde.okteta         Utility Editor



%config %{_kf5_configdir}/okteta-structures.knsrc
%dir %{_kf5_htmldir}/en
%dir %{_kf5_htmldir}
%doc %{_kf5_htmldir}/en/okteta/

%files devel

openSUSE Build Service is sponsored by