File ksvnupdater.spec of Package ksvnupdater

#
# spec file for package ksvnupdater
#
# Copyright (c) 2014 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/
#

%define cmake_version 3.20.0
%define qt6_version 6.6.0
%define kf6_version 6.0.0

Name:           ksvnupdater
Version:        3.1.0
Release:        0
Summary:        A tool to manage local copies of the KDE repository
License:        GPL-2.0-or-later
Group:          Development/Tools/Other
Url:            https://eloihr.net/ksvnupdater/
Source0:        %{name}-%{version}.tar.bz2
BuildRequires:  cmake >= %{cmake_version}
BuildRequires:  kf6-extra-cmake-modules
BuildRequires:  fdupes
BuildRequires:  update-desktop-files
BuildRequires:  kf6-karchive-devel
BuildRequires:  kf6-kconfig-devel
BuildRequires:  kf6-kcrash-devel
BuildRequires:  kf6-kdoctools-devel
BuildRequires:  kf6-ki18n-devel
BuildRequires:  kf6-kiconthemes-devel
BuildRequires:  kf6-kio-devel
BuildRequires:  kf6-kitemviews-devel
BuildRequires:  kf6-knotifications-devel
BuildRequires:  kf6-ktextwidgets-devel
BuildRequires:  kf6-kwallet-devel
BuildRequires:  kf6-kxmlgui-devel
BuildRequires:  qt6-base-devel >= %{qt6_version}
BuildRequires:  qt6-core-devel >= %{qt6_version}
BuildRequires:  qt6-gui-devel >= %{qt6_version}
BuildRequires:  qt6-widgets-devel >= %{qt6_version}
BuildRequires:  kf6-filesystem
Recommends:     lokalize
Recommends:     subversion
Recommends:     git
Recommends:     kdiff3
Recommends:     kwrite
Recommends:     gettext-tools
Recommends:     kf6-kdoctools
Recommends:     kde-l10n-devel
Recommends:     hashdeep
Recommends:     jq
Recommends:     openssh
Provides:       %{name} = %{version}
Obsoletes:      %{name} < %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This package contains KSvnUpdater for Plasma 6, a graphic tool intended to be used by KDE translation teams that allows you to manage local copies of the KDE repository containing translations. You can organize your work in projects and launch additional tools to perform your work (Subversion, Git, Lokalize, Pology, KDiff3).

%lang_package

%prep
%autosetup -p1

%build
%cmake_kf6 -DBUILD_WITH_QT6:BOOL=TRUE

%kf6_build

%install
%kf6_install

%find_lang %{name} --with-html --all-name

%files
%license LICENSES/*
%doc README.md AUTHORS.md CHANGELOG.md
%doc %lang(en) %{_kf6_htmldir}/en/%{name}/
%{_kf6_applicationsdir}/org.kde.%{name}.desktop
%{_kf6_appstreamdir}/org.kde.%{name}.appdata.xml
%{_kf6_bindir}/%{name}
%{_kf6_bindir}/%{name}askpass
%{_kf6_iconsdir}/hicolor/*/apps/%{name}.png
%{_kf6_sharedir}/config.kcfg/%{name}.kcfg
%{_kf6_sharedir}/%{name}/
%{_kf6_sharedir}/%{name}/icons/hicolor/*/*/*.png

%files lang -f %{name}.lang
%exclude %{_kf6_htmldir}/en/%{name}/

%changelog
openSUSE Build Service is sponsored by