diff --git a/_service b/_service index 0dc4f70..17b9e02 100644 --- a/_service +++ b/_service @@ -1,9 +1,66 @@ + .depend + .github + .gitignore + .travis.yml + Dockerfile + LICENSE + Makefile + README.md + doc + icons/.xvpics + icons/U.16x16x16m.png + icons/U.24x24x16m.png + icons/U.256x256x16m.png + icons/U.32x32x16.bmp + icons/U.32x32x16m.png + icons/U.32x32x256.bmp + icons/U.32x32x256.xpm + icons/U.48x48x16m.png + icons/U.ico + icons/Unison.gif + icons/Unison.xpm + icons/success.gif + icons/svg_to_data.ml + icons/unison-icon.ai + icons/unison-logo.gif + icons/unison.haruo.jpg + setup + src/.depend + src/CONTRIB + src/INSTALL.gtk2 + src/INSTALL.win32-cygwin-gnuc + src/INSTALL.win32-msvc + src/INSTALL.win32 + src/INSTALL + src/Makefile.OCaml + src/Makefile + src/README + src/ROADMAP.txt + src/TODO.txt + src/fsmonitor.py + src/fsmonitor/linux/Makefile + src/fsmonitor/solaris + src/fsmonitor/windows + src/lwt/META + src/lwt/Makefile + src/lwt/depend + src/lwt/example + src/lwt/win + src/system/system_win_stubs.c + src/system/win + src/ubase/META + src/ubase/Makefile + src/uimac + src/unison.hgr + src/win32rc + src/winmain.c + tests + unicode_utils unison - f29b364cad83c71f5620c0df3b9b0049b62d2d60 + 4ad8511150dee24e924f25247342b370e8b8b651 git - src disable https://github.com/bcpierce00/unison.git @PARENT_TAG@ diff --git a/unison-2.51.4.tar.xz b/unison-2.51.4.tar.xz deleted file mode 100644 index 82334b9..0000000 --- a/unison-2.51.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d4e3f75471425b75d951a12f277be38d05ec10b75e3cbe9a7bc54785162a7d40 -size 486696 diff --git a/unison-2.52.0.tar.xz b/unison-2.52.0.tar.xz new file mode 100644 index 0000000..bc71994 --- /dev/null +++ b/unison-2.52.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3a71e6f2213be6c2e2afbb91c027f94a1dd6c49719a581fe356fa8d559d899b +size 349556 diff --git a/unison.changes b/unison.changes index 7d13a74..73391e2 100644 --- a/unison.changes +++ b/unison.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Apr 4 04:04:04 UTC 2022 - olaf@aepfle.de + +- Update to version 2.52.0 + * wireprotocol is now independent from OCaml version + * see included changelog for details +- Build with dune +- Provide unison-text binary + ------------------------------------------------------------------- Thu Jun 24 15:15:15 UTC 2021 - olaf@aepfle.de diff --git a/unison.png b/unison.png deleted file mode 100644 index daf0dc0..0000000 --- a/unison.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:87234ff28f298784cdf2dbe7e7887806ff348d30e1a8e8db92849c7fbb7b8c7f -size 2586 diff --git a/unison.spec b/unison.spec index 747711e..cab9f6e 100644 --- a/unison.spec +++ b/unison.spec @@ -1,7 +1,7 @@ # # spec file for package unison # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: unison -Version: 2.51.4 +Version: 2.52.0 Release: 0 %{?ocaml_preserve_bytecode} Summary: File synchronization tool @@ -29,12 +29,11 @@ Source0: %name-%version.tar.xz #https://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html Source1: unison-2.48.4-manual.html Source2: %name.desktop -Source3: %name.png -BuildRequires: ocaml-lablgtk2-devel > 2.18.5 -BuildRequires: ocaml-rpm-macros >= 20210409 +BuildRequires: ocaml(ocaml_base_version) >= 4.08 +BuildRequires: ocaml-dune >= 2.3 +BuildRequires: ocaml-rpm-macros >= 20220222 BuildRequires: ocamlfind(findlib) -BuildRequires: ocamlfind(ppx_bin_prot) -BuildRequires: pkgconfig(gdk-2.0) +BuildRequires: ocamlfind(lablgtk2) BuildRequires: pkgconfig(ncursesw) %if 0%{?suse_version} > 0 BuildRequires: update-desktop-files @@ -51,12 +50,18 @@ replica to the other. %setup -q %build -make UISTYLE=gtk2 NATIVE=true +dune_release_pkgs='unison,unison-gui,unison-fsmonitor' +%ocaml_dune_setup +%ocaml_dune_build %install -install -m 755 -D %name %buildroot%_bindir/%name -install -m 755 -D %name-fsmonitor %buildroot%_bindir/%name-fsmonitor -install -m 644 -D %{SOURCE3} %buildroot%_datadir/pixmaps/%name.png +%ocaml_dune_install +%ocaml_create_file_list +rm -rfv %buildroot%ocaml_standard_library + +mv %buildroot%_bindir/%name %buildroot%_bindir/%name-text +mv %buildroot%_bindir/%name-gui %buildroot%_bindir/%name +install -m 644 -D icons/U.svg %buildroot%_datadir/pixmaps/%name.svg install -m 644 %{SOURCE1} unison-manual.html %if %{defined suse_update_desktop_file} %suse_update_desktop_file -i %name Utility SyncUtility @@ -66,10 +71,11 @@ install -m 644 -D %{SOURCE2} %buildroot/%_datadir/applications/%name.desktop %files %defattr(-,root,root,-) -%doc COPYING NEWS README unison-manual.html +%doc src/COPYING unison-manual.html %_datadir/applications/* %_datadir/pixmaps/* %_bindir/%name +%_bindir/%name-text %_bindir/%name-fsmonitor %changelog