diff --git a/.gitignore b/.gitignore index 738473e..fde32e5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/unison-2.54.0.tar.gz +/unison-2.53.7.tar.gz diff --git a/sources b/sources index cb01947..2b7b429 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (unison-2.54.0.tar.gz) = 7d1fea12b11e7a4bf2a5dbd9064d3c5104ca21df88fae0ead098f1ec8b7b935abcc7cdff74799fd2d9f5b23cc06eaa7f262bb71270511fb9c2ff4aac74c7ff11 +SHA512 (unison-2.53.7.tar.gz) = 11bd1d2792fb84fa2b29426516d7b91a2295febcb84052118d492a29d9ddaa23265b66cc88113019ec6782f3edcf596f7a37c8637e673b2928188248b9d63d60 diff --git a/unison.desktop b/unison.desktop new file mode 100644 index 0000000..e80f331 --- /dev/null +++ b/unison.desktop @@ -0,0 +1,10 @@ +[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; diff --git a/unison-gui.metainfo.xml b/unison.metainfo.xml similarity index 100% rename from unison-gui.metainfo.xml rename to unison.metainfo.xml diff --git a/unison.spec b/unison.spec index 6efd125..36f7b44 100644 --- a/unison.spec +++ b/unison.spec @@ -11,8 +11,8 @@ ExcludeArch: %{ix86} Name: unison -Version: 2.54.0 -Release: 3%{?dist} +Version: 2.53.7 +Release: 1%{?dist} Summary: File Synchronizer %global forgeurl https://github.com/bcpierce00/%{name}/ @@ -31,7 +31,8 @@ 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}-gui.metainfo.xml +Source1: %{name}.desktop +Source2: %{name}.metainfo.xml BuildRequires: ocaml BuildRequires: ocaml-findlib @@ -46,7 +47,6 @@ BuildRequires: ocaml-cairo-devel %if %{with doc} BuildRequires: hevea BuildRequires: lynx -BuildRequires: texlive-ec BuildRequires: tex-latex %endif @@ -103,8 +103,16 @@ BuildArch: noarch PREFIX=%{_prefix} %if %{with gtk} -desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-gui.desktop -install -Dpm0644 -t %{buildroot}%{_metainfodir} %{SOURCE1} +# 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} %endif %if %{with doc} @@ -115,7 +123,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}-gui.metainfo.xml +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.metainfo.xml %endif %files @@ -129,10 +137,10 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}-gui.me %files gtk %license LICENSE %{_bindir}/%{name}-gui -%{_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 +%{_datadir}/applications/%{name}.desktop +%{_datadir}/icons/hicolor/*/apps/%{name}.png +%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg +%{_metainfodir}/%{name}.metainfo.xml %endif %if %{with doc} @@ -142,48 +150,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}-gui.me %endif %changelog -* Fri Jul 17 2026 Fedora Release Engineering - 2.54.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild - -* Thu Jul 09 2026 Jerry James - 2.54.0-2 -- OCaml 5.5.0 rebuild - -* Sun May 24 2026 Matthew Krupcale - 2.54.0-1 -- Update to v2.54.0 - -* Fri Feb 20 2026 Richard W.M. Jones - 2.53.7-7 -- Bump release and rebuild - -* Fri Feb 20 2026 Richard W.M. Jones - 2.53.7-6 -- OCaml 5.4.1 rebuild - -* Sat Jan 17 2026 Fedora Release Engineering - 2.53.7-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Mon Oct 13 2025 Richard W.M. Jones - 2.53.7-4 -- OCaml 5.4.0 rebuild - -* Fri Jul 25 2025 Fedora Release Engineering - 2.53.7-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sat Jul 12 2025 Jerry James - 2.53.7-2 -- Rebuild to fix OCaml dependencies - * Sat Feb 22 2025 Matthew Krupcale - 2.53.7-1 - Update to v2.53.7 -* Sun Jan 19 2025 Fedora Release Engineering - 2.53.5-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Thu Jan 9 2025 Jerry James - 2.53.5-4 -- OCaml 5.3.0 rebuild for Fedora 42 - -* Fri Sep 20 2024 Matthew Krupcale - 2.53.5-3 -- Add package Requires for GDK Pixbuf XPM image loader module - -* Sat Jul 20 2024 Fedora Release Engineering - 2.53.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - * Sat May 18 2024 Matthew Krupcale - 2.53.5-1 - Re-package latest upstream v2.53.5