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
|
|
|
#
|
2012-12-03 09:42:35 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2007-01-16 00:19:58 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-10-12 16:12:37 +02:00
|
|
|
|
2007-01-16 00:19:58 +01:00
|
|
|
Name: kdiff3
|
2012-12-03 09:42:35 +01:00
|
|
|
Version: 0.9.97
|
|
|
|
Release: 0
|
2011-10-06 16:36:35 +02:00
|
|
|
Summary: Feature-Rich Code Comparison Utility
|
2012-12-03 09:42:35 +01:00
|
|
|
License: GPL-2.0+
|
2007-01-16 00:19:58 +01:00
|
|
|
Group: Development/Tools/Version Control
|
2012-12-03 09:42:35 +01:00
|
|
|
Url: http://kdiff3.sourceforge.net/
|
2011-10-12 16:12:37 +02:00
|
|
|
Source0: %{name}-%{version}.tar.gz
|
2011-10-06 16:36:35 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: kdebase4-workspace-devel
|
|
|
|
BuildRequires: libkonq-devel
|
|
|
|
Recommends: %{name}-lang = %{version}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-03-09 00:20:22 +01:00
|
|
|
%kde4_runtime_requires
|
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
|
|
|
|
comfortably solving merge conflicts
|
|
|
|
|
|
|
|
* Supports KIO on KDE (allows accessing ftp, sftp, fish, smb, etc.)
|
|
|
|
|
|
|
|
* Has an intuitive graphical user interface
|
|
|
|
|
2009-03-09 00:20:22 +01:00
|
|
|
%lang_package
|
2007-01-16 00:19:58 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2009-02-26 17:10:42 +01:00
|
|
|
%cmake_kde4 -d build
|
|
|
|
%make_jobs
|
2007-01-16 00:19:58 +01:00
|
|
|
|
|
|
|
%install
|
2009-02-26 17:10:42 +01:00
|
|
|
pushd build
|
2012-12-03 09:42:35 +01:00
|
|
|
make DESTDIR=%{buildroot} install
|
2009-02-26 17:10:42 +01:00
|
|
|
popd
|
2011-10-06 16:36:35 +02:00
|
|
|
%suse_update_desktop_file -r kdiff3 Qt KDE Utility TextEditor X-KDE-Utilities-File
|
|
|
|
%kde_post_install
|
|
|
|
%find_lang %{name} %{name}.lang
|
|
|
|
%find_lang kdiff3plugin %{name}.lang
|
2011-10-12 16:12:37 +02:00
|
|
|
%find_lang kdiff3fileitemactionplugin %{name}.lang
|
2011-10-06 16:36:35 +02:00
|
|
|
rm %{buildroot}%{_kde4_htmldir}/*/kdiff3/common
|
|
|
|
%fdupes -s %{buildroot}
|
2009-02-26 17:10:42 +01:00
|
|
|
|
2009-03-09 00:20:22 +01:00
|
|
|
%files
|
2007-01-16 00:19:58 +01:00
|
|
|
%defattr(-,root,root)
|
2009-02-26 17:10:42 +01:00
|
|
|
%doc COPYING
|
2011-10-06 16:36:35 +02:00
|
|
|
%{_kde4_applicationsdir}/kdiff3.desktop
|
|
|
|
%{_kde4_appsdir}/kdiff3/
|
2011-10-12 16:12:37 +02:00
|
|
|
%{_kde4_appsdir}/kdiff3part/
|
2011-10-06 16:36:35 +02:00
|
|
|
%{_kde4_bindir}/kdiff3
|
|
|
|
%{_kde4_iconsdir}/??color/*/apps/kdiff3.png
|
2011-10-12 16:12:37 +02:00
|
|
|
%{_kde4_modulesdir}/kdiff3fileitemaction.so
|
2011-10-06 16:36:35 +02:00
|
|
|
%{_kde4_servicesdir}/kdiff3part.desktop
|
2011-10-12 16:12:37 +02:00
|
|
|
%{_kde4_servicesdir}/kdiff3fileitemaction.desktop
|
2011-10-06 16:36:35 +02:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
2009-03-09 00:20:22 +01:00
|
|
|
|
2007-04-16 09:06:02 +02:00
|
|
|
%changelog
|