- 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 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/unison?expand=0&rev=24
This commit is contained in:
parent
6311eef547
commit
50a9fa7905
61
_service
61
_service
@ -1,9 +1,66 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="exclude">.depend</param>
|
||||
<param name="exclude">.github</param>
|
||||
<param name="exclude">.gitignore</param>
|
||||
<param name="exclude">.travis.yml</param>
|
||||
<param name="exclude">Dockerfile</param>
|
||||
<param name="exclude">LICENSE</param>
|
||||
<param name="exclude">Makefile</param>
|
||||
<param name="exclude">README.md</param>
|
||||
<param name="exclude">doc</param>
|
||||
<param name="exclude">icons/.xvpics</param>
|
||||
<param name="exclude">icons/U.16x16x16m.png</param>
|
||||
<param name="exclude">icons/U.24x24x16m.png</param>
|
||||
<param name="exclude">icons/U.256x256x16m.png</param>
|
||||
<param name="exclude">icons/U.32x32x16.bmp</param>
|
||||
<param name="exclude">icons/U.32x32x16m.png</param>
|
||||
<param name="exclude">icons/U.32x32x256.bmp</param>
|
||||
<param name="exclude">icons/U.32x32x256.xpm</param>
|
||||
<param name="exclude">icons/U.48x48x16m.png</param>
|
||||
<param name="exclude">icons/U.ico</param>
|
||||
<param name="exclude">icons/Unison.gif</param>
|
||||
<param name="exclude">icons/Unison.xpm</param>
|
||||
<param name="exclude">icons/success.gif</param>
|
||||
<param name="exclude">icons/svg_to_data.ml</param>
|
||||
<param name="exclude">icons/unison-icon.ai</param>
|
||||
<param name="exclude">icons/unison-logo.gif</param>
|
||||
<param name="exclude">icons/unison.haruo.jpg</param>
|
||||
<param name="exclude">setup</param>
|
||||
<param name="exclude">src/.depend</param>
|
||||
<param name="exclude">src/CONTRIB</param>
|
||||
<param name="exclude">src/INSTALL.gtk2</param>
|
||||
<param name="exclude">src/INSTALL.win32-cygwin-gnuc</param>
|
||||
<param name="exclude">src/INSTALL.win32-msvc</param>
|
||||
<param name="exclude">src/INSTALL.win32</param>
|
||||
<param name="exclude">src/INSTALL</param>
|
||||
<param name="exclude">src/Makefile.OCaml</param>
|
||||
<param name="exclude">src/Makefile</param>
|
||||
<param name="exclude">src/README</param>
|
||||
<param name="exclude">src/ROADMAP.txt</param>
|
||||
<param name="exclude">src/TODO.txt</param>
|
||||
<param name="exclude">src/fsmonitor.py</param>
|
||||
<param name="exclude">src/fsmonitor/linux/Makefile</param>
|
||||
<param name="exclude">src/fsmonitor/solaris</param>
|
||||
<param name="exclude">src/fsmonitor/windows</param>
|
||||
<param name="exclude">src/lwt/META</param>
|
||||
<param name="exclude">src/lwt/Makefile</param>
|
||||
<param name="exclude">src/lwt/depend</param>
|
||||
<param name="exclude">src/lwt/example</param>
|
||||
<param name="exclude">src/lwt/win</param>
|
||||
<param name="exclude">src/system/system_win_stubs.c</param>
|
||||
<param name="exclude">src/system/win</param>
|
||||
<param name="exclude">src/ubase/META</param>
|
||||
<param name="exclude">src/ubase/Makefile</param>
|
||||
<param name="exclude">src/uimac</param>
|
||||
<param name="exclude">src/unison.hgr</param>
|
||||
<param name="exclude">src/win32rc</param>
|
||||
<param name="exclude">src/winmain.c</param>
|
||||
<param name="exclude">tests</param>
|
||||
<param name="exclude">unicode_utils</param>
|
||||
<param name="filename">unison</param>
|
||||
<param name="revision">f29b364cad83c71f5620c0df3b9b0049b62d2d60</param>
|
||||
<param name="revision">4ad8511150dee24e924f25247342b370e8b8b651</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="subdir">src</param>
|
||||
<param name="submodules">disable</param>
|
||||
<param name="url">https://github.com/bcpierce00/unison.git</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d4e3f75471425b75d951a12f277be38d05ec10b75e3cbe9a7bc54785162a7d40
|
||||
size 486696
|
3
unison-2.52.0.tar.xz
Normal file
3
unison-2.52.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a3a71e6f2213be6c2e2afbb91c027f94a1dd6c49719a581fe356fa8d559d899b
|
||||
size 349556
|
@ -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
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:87234ff28f298784cdf2dbe7e7887806ff348d30e1a8e8db92849c7fbb7b8c7f
|
||||
size 2586
|
30
unison.spec
30
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
|
||||
|
Loading…
Reference in New Issue
Block a user