2024-01-05 19:58:45 +01:00
|
|
|
%define gittag %(echo %version | cut -d. -f4)
|
2024-01-05 19:58:45 +01:00
|
|
|
Name: xxdiff
|
2024-01-05 19:58:45 +01:00
|
|
|
Version: 5.1.20230111git.604300e
|
2024-01-05 19:58:45 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Graphical File And Directories Comparator And Merge Tool
|
|
|
|
Group: Graphical Desktop/Applications/Utilities
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 19:58:45 +01:00
|
|
|
URL: https://furius.ca/xxdiff/
|
|
|
|
Source: https://github.com/blais/xxdiff.git/master@%{gittag}/xxdiff-%{version}.tar.bz2
|
|
|
|
#Source: https://sourceforge.net/projects/xxdiff/files/xxdiff/%{version}/xxdiff-%{version}.tar.bz2
|
2024-01-05 19:58:45 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 19:58:45 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglvnd-devel
|
|
|
|
BuildRequires: libpython3-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: qt6-qtbase-devel
|
2024-01-05 19:58:45 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
xxdiff is a Graphical File And Directories Comparator And Merge Tool.
|
|
|
|
Features:
|
|
|
|
* Comparing two files, three files, or two directories (shallow and recursive);
|
|
|
|
* Horizontal diffs highlighting;
|
|
|
|
* Files can be merged interactively and resulting output visualized and saved;
|
|
|
|
* Has features to assist in performing merge reviews/policing;
|
|
|
|
* Can unmerge CVS conflicts in automatically merged file and display them as two files, to help resolve conflicts;
|
|
|
|
* Uses external diff program to compute differences: works with GNU diff, SGI diff and ClearCase's cleardiff, and any other diff whose output is similar to those;
|
|
|
|
* Fully customizable with a resource file;
|
|
|
|
* Look-and-feel similar to Rudy Wortel's/SGI xdiff, it is desktop agnostic (i.e. will work equall well with KDE or Gnome);
|
|
|
|
* Features and output that ease integration with scripts.
|
|
|
|
|
2024-01-05 19:58:45 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 19:58:45 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-05 19:58:45 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python3} setup.py build
|
|
|
|
|
|
|
|
cd src
|
|
|
|
make -f Makefile.bootstrap QMAKE=qmake-qt6
|
|
|
|
%make
|
2024-01-05 19:58:45 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 19:58:45 +01:00
|
|
|
%{__python3} setup.py install \
|
2024-01-05 19:58:45 +01:00
|
|
|
--root=%{buildroot} \
|
2024-01-05 19:58:45 +01:00
|
|
|
--install-headers=%{python3_inc} \
|
|
|
|
--install-lib=%{python3_sitearch}
|
|
|
|
|
|
|
|
install -D -m 755 bin/xxdiff %{buildroot}%{_bindir}/xxdiff
|
|
|
|
install -D -m 644 src/xxdiff.1 %{buildroot}%{_mandir}/man1/xxdiff.1
|
2024-01-05 19:58:45 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/svn-foreign
|
2024-01-05 19:58:45 +01:00
|
|
|
%{_bindir}/termdiff
|
|
|
|
%{_bindir}/xxdiff
|
2024-01-05 19:58:45 +01:00
|
|
|
%{_bindir}/xx-*
|
2024-01-05 19:58:45 +01:00
|
|
|
%dir %{python3_sitearch}/xxdiff_scripts-*-py*.egg-info
|
|
|
|
%{python3_sitearch}/xxdiff_scripts-*-py*.egg-info/*
|
|
|
|
%dir %{python3_sitearch}/xxdiff
|
|
|
|
%{python3_sitearch}/xxdiff/*
|
|
|
|
%{_mandir}/man1/xxdiff.1*
|
|
|
|
%doc COPYING
|
2024-01-05 19:58:45 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 19:58:45 +01:00
|
|
|
* Mon Mar 06 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1.20230111git.604300e-1mamba
|
|
|
|
- update to 5.1.20230111git.604300e
|
|
|
|
|
|
|
|
* Mon Mar 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.1-1mamba
|
|
|
|
- update to 4.0.1
|
|
|
|
|
2024-01-05 19:58:45 +01:00
|
|
|
* Thu Aug 15 2013 Automatic Build System <autodist@mambasoft.it> 4.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 11 2013 Automatic Build System <autodist@mambasoft.it> 3.2-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Fri Apr 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2-1mamba
|
|
|
|
- package created by autospec
|