2007-01-16 00:19:58 +01:00
|
|
|
#
|
2011-10-12 16:12:37 +02:00
|
|
|
# spec file for package kdiff3
|
2007-01-16 00:19:58 +01:00
|
|
|
#
|
2024-01-25 10:04:59 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2007-01-16 00:19:58 +01:00
|
|
|
#
|
2008-11-17 17:09:01 +01:00
|
|
|
# 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.
|
|
|
|
|
2019-05-14 14:49:21 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:19:58 +01:00
|
|
|
#
|
|
|
|
|
2011-10-12 16:12:37 +02:00
|
|
|
|
2024-05-21 09:45:10 +02:00
|
|
|
%define kf6_version 6.0.0
|
|
|
|
%define qt6_version 6.6.0
|
|
|
|
|
2023-01-17 14:25:32 +01:00
|
|
|
%bcond_without released
|
2007-01-16 00:19:58 +01:00
|
|
|
Name: kdiff3
|
2024-05-21 09:45:10 +02:00
|
|
|
Version: 1.11.1
|
2012-12-03 09:42:35 +01:00
|
|
|
Release: 0
|
2019-05-14 14:49:21 +02:00
|
|
|
Summary: Code Comparison Utility
|
|
|
|
License: GPL-2.0-or-later
|
2021-05-05 08:11:27 +02:00
|
|
|
URL: https://apps.kde.org/kdiff3
|
2021-05-28 14:47:00 +02:00
|
|
|
Source0: https://download.kde.org/stable/%{name}/%{name}-%{version}.tar.xz
|
2023-01-17 14:25:32 +01:00
|
|
|
%if %{with released}
|
2021-05-28 14:47:00 +02:00
|
|
|
Source1: https://download.kde.org/stable/%{name}/%{name}-%{version}.tar.xz.sig
|
|
|
|
Source2: kdiff3.keyring
|
2023-01-17 14:25:32 +01:00
|
|
|
%endif
|
2024-05-21 09:45:54 +02:00
|
|
|
BuildRequires: boost-devel >= 1.71
|
2024-05-21 09:45:10 +02:00
|
|
|
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
2011-10-06 16:36:35 +02:00
|
|
|
BuildRequires: fdupes
|
2019-05-14 14:49:21 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2024-05-21 09:45:10 +02:00
|
|
|
BuildRequires: cmake(KF6Config) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6Crash) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6DocTools) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6WidgetsAddons) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6XmlGui) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Core5Compat) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6PrintSupport) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
|
2007-01-16 00:19:58 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
KDiff3 is a program that:
|
|
|
|
|
|
|
|
* Compares or merges two or three text input files or directories
|
|
|
|
* Shows the differences line-by-line and character-by-character
|
|
|
|
* Provides an automatic merge facility and an integrated editor for
|
2019-05-14 14:49:21 +02:00
|
|
|
solving merge conflicts
|
|
|
|
* Supports KDE's KIO framework (allows accessing ftp, sftp, fish, smb, etc.)
|
2007-01-16 00:19:58 +01:00
|
|
|
|
2009-03-09 00:20:22 +01:00
|
|
|
%lang_package
|
2019-05-14 14:49:21 +02:00
|
|
|
|
2007-01-16 00:19:58 +01:00
|
|
|
%prep
|
2021-05-28 14:47:00 +02:00
|
|
|
%autosetup -p1
|
2007-01-16 00:19:58 +01:00
|
|
|
|
|
|
|
%build
|
2024-05-21 09:45:10 +02:00
|
|
|
%cmake_kf6 -DBUILD_WITH_QT6:BOOL=TRUE
|
|
|
|
|
|
|
|
%kf6_build
|
2007-01-16 00:19:58 +01:00
|
|
|
|
|
|
|
%install
|
2024-05-21 09:45:10 +02:00
|
|
|
%kf6_install
|
|
|
|
|
2021-05-03 09:39:18 +02:00
|
|
|
%suse_update_desktop_file -r org.kde.kdiff3 Qt KDE Utility TextEditor X-KDE-Utilities-File
|
|
|
|
|
2024-05-21 09:45:10 +02:00
|
|
|
%find_lang %{name} --all-name --with-man --with-html
|
2023-01-17 14:25:32 +01:00
|
|
|
|
2021-05-03 09:39:18 +02:00
|
|
|
%fdupes %{buildroot}
|
2009-02-26 17:10:42 +01:00
|
|
|
|
2009-03-09 00:20:22 +01:00
|
|
|
%files
|
2021-05-03 09:39:18 +02:00
|
|
|
%license LICENSES/*
|
2024-05-21 09:45:10 +02:00
|
|
|
%doc %lang(en) %{_kf6_htmldir}/en/kdiff3/
|
|
|
|
%doc %lang(en) %{_kf6_mandir}/man1/kdiff3.1%{?ext_man}
|
|
|
|
%{_kf6_applicationsdir}/org.kde.kdiff3.desktop
|
|
|
|
%{_kf6_appstreamdir}/org.kde.kdiff3.appdata.xml
|
|
|
|
%{_kf6_bindir}/kdiff3
|
|
|
|
%{_kf6_iconsdir}/hicolor/*/apps/kdiff3.png
|
|
|
|
%{_kf6_iconsdir}/hicolor/scalable/apps/kdiff3.svgz
|
|
|
|
%dir %{_kf6_plugindir}/kf6/kfileitemaction
|
|
|
|
%{_kf6_plugindir}/kf6/kfileitemaction/kdiff3fileitemaction.so
|
2011-10-06 16:36:35 +02:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
2024-05-21 09:45:10 +02:00
|
|
|
%exclude %{_kf6_htmldir}/en/kdiff3
|
2009-03-09 00:20:22 +01:00
|
|
|
|
2007-04-16 09:06:02 +02:00
|
|
|
%changelog
|