2024-01-06 01:19:30 +01:00
|
|
|
Name: kdiff3
|
2024-01-06 01:19:30 +01:00
|
|
|
Version: 0.9.98
|
2024-01-06 01:19:30 +01:00
|
|
|
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 <stefano.cotta@openmamba.org>
|
|
|
|
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: 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
|
2024-01-06 01:19:30 +01:00
|
|
|
* Sat Jul 05 2014 Automatic Build System <autodist@mambasoft.it> 0.9.98-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:19:30 +01:00
|
|
|
* Wed Jan 02 2013 Automatic Build System <autodist@mambasoft.it> 0.9.97-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Sep 11 2011 Automatic Build System <autodist@mambasoft.it> 0.9.96-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jan 22 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.9.95-1mamba
|
|
|
|
- package created by autospec
|