# # spec file for package kdiff3 (Version 0.9.95) # # Copyright (c) 2009 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/ # # norootforbuild Name: kdiff3 BuildRequires: kdebase4-workspace-devel %if %suse_version < 1010 BuildRequires: update-desktop-files %endif %if %suse_version > 1020 BuildRequires: fdupes %endif License: GPL v2 or later Url: http://kdiff3.sourceforge.net/ Group: Development/Tools/Version Control Summary: Feature-Rich Code Comparison Utility Version: 0.9.95 Release: 2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}.tar.bz2 %kde4_runtime_requires Requires: %{name}-lang = %{version} %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 Authors: -------- Joachim Eibl %lang_package %prep %setup -q %build %cmake_kde4 -d build %make_jobs %install pushd build %makeinstall popd %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 rm $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/*/kdiff3/common %files %defattr(-,root,root) %doc COPYING /usr/bin/kdiff3 %_kde4_modules/libkdiff3part.so %_datadir/applications/kde4/kdiff3.desktop %_datadir/icons/hicolor/*/apps/kdiff3.png %_datadir/icons/locolor/*/apps/kdiff3.png %_datadir/kde4/apps/kdiff3/kdiff3_shell.rc %_datadir/kde4/apps/kdiff3/kdiff3_part.rc %_datadir/kde4/services/kdiff3part.desktop %_datadir/kde4/apps/kdiff3 %_datadir/doc/kde/HTML/* %files lang -f %name.lang %changelog * Wed May 20 2009 beineri@opensuse.org - require kdiff3-lang * Fri Mar 06 2009 wstephenson@suse.de - update to 0.9.95: * Show line end style for each file * Translation update * Bugfixes * Fri Feb 20 2009 dmueller@suse.de - update to 0.9.94: * ported to KDE4 * various smaller fixes * Sat Feb 14 2009 coolo@suse.de - call kde_post_install * Mon Nov 17 2008 stbinner@suse.de - install translations for kdiff3 menu plugin (bnc#442527) * Wed Jun 13 2007 stbinner@suse.de - running fdupes makes kdiff3.rpm 348KB smaller * Sun Apr 15 2007 stbinner@suse.de - update to version 0.9.92: * KDE-Konqueror plugin: Launch KDiff3 from Konqueror. * Temp file names use process id in file name for several instances. * New File comparison mode: Trust the size and date, but use binary comparison if date doesn't match (unsafe) * Open dialog also shows current dirs in directory comparison mode. * New option for history merge: Max number of history entries * New option "Auto save and quit on merge without conflicts" * Several Bugfixes * Sun Nov 05 2006 stbinner@suse.de - update to version 0.9.91: * Unicode autodetection based on byte-order-mark. * Fix for crash after double click below last line * Saving of maximized window-state (Patch by Robert Vock) * Separated Merge-options in own tab * When pasting multiple lines into openfile dialog only first line is kept * Drawing in directory view fixed. * When specifying a separate output dir then for equal files a copy operation will also be offered. * Wed May 24 2006 adrian@suse.de - fix build for < 10.1 * Tue May 16 2006 stbinner@suse.de - update to version 0.9.90 * Fixed KIO-problems of type "File exists" with tempfiles. * Fix for manual alignment with 3 files which caused crash. * Preserve executable bit when overwriting an existing file. * Documentation and translations updated. * Mon Apr 10 2006 stbinner@suse.de - update to version 0.9.89 * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Tue Oct 25 2005 stbinner@suse.de - update to version 0.9.88 (unicode support) * Thu Feb 17 2005 adrian@suse.de - menu entry moved to xdg dir * Sat Sep 04 2004 coolo@suse.de - fixing Makefile problems * Sat Aug 28 2004 adrian@suse.de - initial package of version 0.9.86