update to 5.1.20230111git.604300e [release 5.1.20230111git.604300e-1mamba;Mon Mar 06 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 19:58:45 +01:00
parent 92d6c1a556
commit 86f5c1a09e

View File

@ -1,18 +1,24 @@
%define gittag %(echo %version | cut -d. -f4)
Name: xxdiff Name: xxdiff
Version: 4.0 Version: 5.1.20230111git.604300e
Release: 1mamba Release: 1mamba
Summary: Graphical File And Directories Comparator And Merge Tool Summary: Graphical File And Directories Comparator And Merge Tool
Group: Graphical Desktop/Applications/Utilities Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://furius.ca/xxdiff/ URL: https://furius.ca/xxdiff/
Source: http://downloads.sourceforge.net/sourceforge/xxdiff/xxdiff-%{version}.tar.bz2 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
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libpython3-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
xxdiff is a Graphical File And Directories Comparator And Merge Tool. xxdiff is a Graphical File And Directories Comparator And Merge Tool.
@ -27,18 +33,27 @@ Features:
* Look-and-feel similar to Rudy Wortel's/SGI xdiff, it is desktop agnostic (i.e. will work equall well with KDE or Gnome); * 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. * Features and output that ease integration with scripts.
%debug_package
%prep %prep
%setup -q %setup -q
%build %build
CFLAGS="%{optflags}" %{__python} setup.py build CFLAGS="%{optflags}" %{__python3} setup.py build
cd src
make -f Makefile.bootstrap QMAKE=qmake-qt6
%make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \ %{__python3} setup.py install \
--root=%{buildroot} \ --root=%{buildroot} \
--install-headers=%{_includedir}/python \ --install-headers=%{python3_inc} \
--install-lib=%{python_sitearch} --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
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -46,17 +61,23 @@ CFLAGS="%{optflags}" %{__python} setup.py build
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/svn-foreign %{_bindir}/svn-foreign
%{_bindir}/termdiff
%{_bindir}/xxdiff
%{_bindir}/xx-* %{_bindir}/xx-*
%{python_sitearch}/xxdiff/*.py %dir %{python3_sitearch}/xxdiff_scripts-*-py*.egg-info
%{python_sitearch}/xxdiff/*.pyc %{python3_sitearch}/xxdiff_scripts-*-py*.egg-info/*
%{python_sitearch}/xxdiff/scm/*.py %dir %{python3_sitearch}/xxdiff
%{python_sitearch}/xxdiff/scm/*.pyc %{python3_sitearch}/xxdiff/*
%{python_sitearch}/xxdiff/scripts/*.py %{_mandir}/man1/xxdiff.1*
%{python_sitearch}/xxdiff/scripts/*.pyc %doc COPYING
%{python_sitearch}/xxdiff_scripts-%{version}-py*.egg-info
%doc CHANGES COPYING README README.build TODO
%changelog %changelog
* 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
* Thu Aug 15 2013 Automatic Build System <autodist@mambasoft.it> 4.0-1mamba * Thu Aug 15 2013 Automatic Build System <autodist@mambasoft.it> 4.0-1mamba
- automatic update by autodist - automatic update by autodist