automatic version update by autodist [release 0.9.97-1mamba;Wed Jan 02 2013]
This commit is contained in:
parent
5bf168a80e
commit
c4a4d8ea78
16
README.md
16
README.md
@ -1,2 +1,18 @@
|
|||||||
# kdiff3
|
# 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).
|
||||||
|
|
||||||
|
103
kdiff3.spec
Normal file
103
kdiff3.spec
Normal file
@ -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 <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: 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 <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
|
Loading…
Reference in New Issue
Block a user