From c4a4d8ea7854ca9c50b79450d3bc233c01adf7fc Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 01:19:30 +0100 Subject: [PATCH] automatic version update by autodist [release 0.9.97-1mamba;Wed Jan 02 2013] --- README.md | 16 ++++++++ kdiff3.spec | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 119 insertions(+) create mode 100644 kdiff3.spec diff --git a/README.md b/README.md index 9272db6..bf6a02b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,18 @@ # kdiff3 +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 comfortable solving of merge-conflicts, +* supports Unicode, UTF-8 and other codecs, autodetection via byte-order-mark "BOM" +* supports KIO on KDE (allows accessing ftp, sftp, fish, smb etc.), +* Printing of differences, +* Manual alignment of lines, +* Automatic merging of version control history ($Log$), +* and has an intuitive graphical user interface. +* Windows-Explorer integration Diff-Ext-for-KDiff3 - shell extension included in installer (originally by Sergey Zorin: see also Diff Ext) +* KDE-Konqueror service menu plugin +* Simplified integration with IBM-Rational-Clearcase for Windows (Details). +* Read what else is special in a short abstract (PDF). + diff --git a/kdiff3.spec b/kdiff3.spec new file mode 100644 index 0000000..984816c --- /dev/null +++ b/kdiff3.spec @@ -0,0 +1,103 @@ +Name: kdiff3 +Version: 0.9.97 +Release: 1mamba +Summary: A graphical text difference analyzer for up to 3 input files +Group: Graphical Desktop/Applications/Development +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://kdiff3.sourceforge.net/ +Source: http://downloads.sourceforge.net/project/kdiff3/kdiff3/%{version}/kdiff3-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: kdebase4-devel +BuildRequires: kdelibs4-devel +BuildRequires: libgcc +BuildRequires: libqt4-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: desktop-file-utils +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 comfortable solving of merge-conflicts, +* supports Unicode, UTF-8 and other codecs, autodetection via byte-order-mark "BOM" +* supports KIO on KDE (allows accessing ftp, sftp, fish, smb etc.), +* Printing of differences, +* Manual alignment of lines, +* Automatic merging of version control history ($Log$), +* and has an intuitive graphical user interface. +* Windows-Explorer integration Diff-Ext-for-KDiff3 - shell extension included in installer (originally by Sergey Zorin: see also Diff Ext) +* KDE-Konqueror service menu plugin +* Simplified integration with IBM-Rational-Clearcase for Windows (Details). +* Read what else is special in a short abstract (PDF). + +%prep +%setup -q + +%build +%cmake_kde4 -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +# install desktop file +desktop-file-install \ + --vendor="" \ + --add-category="Qt" \ + --add-category="KDE" \ + --add-category="Development" \ + --dir %{buildroot}%{_kde4_xdgappsdir} \ + %{buildroot}%{_kde4_xdgappsdir}/kdiff3.desktop + +%find_lang %{name} \ + --all-name + +# replace absolute symlinks with relative ones +if [ -d %{buildroot}%{_kde4_docdir}/HTML ]; then +for langdir in %{buildroot}%{_kde4_docdir}/HTML/* ; do + if [ -d $langdir ]; then + lang=$(basename $langdir) + echo "%lang($lang) %{_kde4_docdir}/HTML/$lang/*" >> %{name}.lang + for link in $langdir/*; do + [ -d $link -a -L $link/common ] && rm -f $link/common && ln -sf ../common $link/common + done + fi +done +fi + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_kde4_bindir}/kdiff3 +#%{_kde4_libdir}/kde4/libkdiff3*.so +%{_kde4_libdir}/kde4/kdiff3fileitemaction.so +%{_kde4_xdgappsdir}/kdiff3.desktop +%{_kde4_datadir}/kdiff3 +%{_kde4_datadir}/kdiff3part/kdiff3_part.rc +%{_kde4_icondir}/hicolor/*/apps/kdiff3.png +%{_kde4_icondir}/locolor/*/apps/kdiff3.png +%{_kde4_servicesdir}/kdiff3*.desktop +%{_kde4_htmldir}/*/kdiff3 +%doc AUTHORS COPYING +#ChangeLog NEWS README TODO + +%changelog +* Wed Jan 02 2013 Automatic Build System 0.9.97-1mamba +- automatic version update by autodist + +* Sun Sep 11 2011 Automatic Build System 0.9.96-1mamba +- automatic version update by autodist + +* Fri Jan 22 2010 Stefano Cotta Ramusino 0.9.95-1mamba +- package created by autospec