Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Matthew Krupcale
da79c9410a Update to v2.54.0
Update to latest upstream version 2.54.0. Also remove the custom desktop file
and manual installation of icons and the desktop file in favor of the upstream
installation. Finally, use the name unison-gui for icons, desktop, and metainfo
files, consistent with upstream.

 * .gitignore: ignore v2.54.0 source archive
 * sources: add v2.54.0 source archive hash
 * unison.desktop: remove
 * unison.metainfo.xml: rename as unison-gui.metainfo.xml, consistent with
   upstream desktop GUI naming
 * unison.spec:
   - update to v2.54.0
   - remove unison.desktop source
   - %install: remove custom icon and desktop file installation
   - use unison-gui for file names
2026-05-24 21:00:26 -04:00
5 changed files with 15 additions and 31 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
/unison-2.53.7.tar.gz
/unison-2.54.0.tar.gz

View file

@ -1 +1 @@
SHA512 (unison-2.53.7.tar.gz) = 11bd1d2792fb84fa2b29426516d7b91a2295febcb84052118d492a29d9ddaa23265b66cc88113019ec6782f3edcf596f7a37c8637e673b2928188248b9d63d60
SHA512 (unison-2.54.0.tar.gz) = 7d1fea12b11e7a4bf2a5dbd9064d3c5104ca21df88fae0ead098f1ec8b7b935abcc7cdff74799fd2d9f5b23cc06eaa7f262bb71270511fb9c2ff4aac74c7ff11

View file

@ -1,10 +0,0 @@
[Desktop Entry]
Type=Application
Exec=unison-gui
Name=Unison File Synchronizer
GenericName=File Synchronizer
Comment=Multi-master File synchronization tool
Terminal=false
Icon=unison
StartupNotify=true
Categories=Utility;

View file

@ -11,8 +11,8 @@
ExcludeArch: %{ix86}
Name: unison
Version: 2.53.7
Release: 3%{?dist}
Version: 2.54.0
Release: 1%{?dist}
Summary: File Synchronizer
%global forgeurl https://github.com/bcpierce00/%{name}/
@ -31,8 +31,7 @@ Summary: File Synchronizer
License: GPL-3.0-or-later AND LGPL-2.0-only AND LGPL-2.1-only AND LGPL-2.1-or-later
URL: %{forgeurl}
Source0: %{forgesource}
Source1: %{name}.desktop
Source2: %{name}.metainfo.xml
Source1: %{name}-gui.metainfo.xml
BuildRequires: ocaml
BuildRequires: ocaml-findlib
@ -104,16 +103,8 @@ BuildArch: noarch
PREFIX=%{_prefix}
%if %{with gtk}
# Install the various icons according to the "Icon Theme Specification"
# https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
for size in 16 24 32 48 256; do
format="${size}x${size}"
install -Dpm0644 icons/U.${format}x16m.png \
%{buildroot}%{_datadir}/icons/hicolor/${format}/apps/%{name}.png
done
install -Dpm0644 icons/U.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE1}
install -Dpm0644 -t %{buildroot}%{_metainfodir} %{SOURCE2}
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-gui.desktop
install -Dpm0644 -t %{buildroot}%{_metainfodir} %{SOURCE1}
%endif
%if %{with doc}
@ -124,7 +115,7 @@ install -Dpm0644 -t %{buildroot}%{_docdir}/%{name} doc/%{name}-manual.{html,pdf,
make test \
NATIVE=%{native}
%if %{with gtk}
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.metainfo.xml
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}-gui.metainfo.xml
%endif
%files
@ -138,10 +129,10 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.metain
%files gtk
%license LICENSE
%{_bindir}/%{name}-gui
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_metainfodir}/%{name}.metainfo.xml
%{_datadir}/applications/%{name}-gui.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}-gui.png
%{_datadir}/icons/hicolor/scalable/apps/%{name}-gui.svg
%{_metainfodir}/%{name}-gui.metainfo.xml
%endif
%if %{with doc}
@ -151,6 +142,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.metain
%endif
%changelog
* Sun May 24 2026 Matthew Krupcale <mkrupcale@gmail.com> - 2.54.0-1
- Update to v2.54.0
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.53.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild