%define githash a2e7ac496766216372487817814ac6b33eba966e Name: diffuse Version: 0.7.7 Release: 4git%{?dist} Summary: Graphical tool for merging and comparing text files License: GPLv2+ URL: https://mightycreak.github.io/diffuse/ Source0: https://github.com/MightyCreak/diffuse/archive/%{githash}.tar.gz BuildArch: noarch BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: autoconf BuildRequires: meson BuildRequires: python3-devel BuildRequires: python3-gobject BuildRequires: python3-cairo BuildRequires: gtk-update-icon-cache Requires: hicolor-icon-theme Requires: gnome-icon-theme Requires: gnome-icon-theme-legacy Provides: mergetool Provides: difftool %description Diffuse is a graphical tool for merging and comparing text files. Diffuse is able to compare an arbitrary number of files side-by-side and gives users the ability to manually adjust line-matching and directly edit files. Diffuse can also retrieve revisions of files from Bazaar, CVS, Darcs, Git, Mercurial, Monotone, RCS, Subversion, and SVK repositories for comparison and merging. This is the Python 3 fork of Diffuse. %prep %autosetup -n diffuse-%{githash} %build %meson %meson_build %install %meson_install %find_lang %{name} %check desktop-file-validate %{buildroot}%{_datadir}/applications/io.github.mightycreak.Diffuse.desktop %meson_test %files -f %{name}.lang %license COPYING %doc AUTHORS CHANGELOG.md README.md %config(noreplace) %{_sysconfdir}/diffuserc %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/io.github.mightycreak* %{_datadir}/gnome/help/%{name}/*/%{name}.xml %{_datadir}/icons/hicolor/symbolic/apps/io.github.mightycreak* %{_datadir}/icons/hicolor/scalable/apps/io.github.mightycreak* %{_datadir}/appdata/io.github.mightycreak* %{_datadir}/omf/%{name}/%{name}-*.omf %{_mandir}/man*/* %{_mandir}/*/man*/* %{_datadir}/omf/%{name} %{_datadir}/gnome/help/%{name} %changelog * Tue Nov 29 2022 niohiani 0.7.7-4git - based on latest 0.7.7 commits. * Thu Nov 10 2022 niohiani 0.7.7-3git - based on latest 0.7.7 commits. * Mon Oct 24 2022 niohiani 0.7.7-2git - based on latest 0.7.7 commits. * Fri Apr 15 2022 niohiani 0.7.5-1git - based on latest 0.7.5 commits. * Tue Apr 12 2022 niohiani 0.7.4-2git - based on latest 0.7.4 commits. * Tue Nov 23 2021 niohiani 0.7.3-1 - based on 0.7.3 commits. * Thu Nov 18 2021 niohiani 0.7.2-1 - Based on 0.7.2 commits. * Wed Nov 17 2021 niohiani 0.7.1-1 - Based on 0.7.1 commits. * Tue Nov 16 2021 niohiani 0.7.0-1 - Based on 0.7.0 commits. * Tue Nov 16 2021 niohiani 0.6.1-2 - Based on newer commits prior to the in-progress 0.7.0 work. * Fri Jul 23 2021 niohiani 0.6.1-1 - Initial build of version pulled directly from git. * Wed May 26 2021 niohiani 0.6.0-1 - Packaging of this application is now up to par for inclusion in the default repos. Upon successfully importing the package, the COPR repository for test builds will become defunct. * Mon Dec 7 2020 niohiani 0.6.0 - Updated to 0.6.0. Mainly under the hood changes in this release, so nothing really visible to the users in this version. That said, I figured it was a long time since the last release (4 months ago) and, as promised, I want Diffuse development to be a bit more active and iterative. Replace old install.py with the more standard Meson. Remove u string prefixes since Python 3 is in UTF-8 by default. Replaced some interpolation operators (%) for the f string prefix. Use the window scale factor for the icons generation * Tue Nov 3 2020 niohiani 0.5.9 - Fedora Packaging of Python 3 Fork and Initial upload to COPR of said fork