b57ac00
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
b57ac00
ExcludeArch: %{ix86}
b57ac00
2547372
%ifnarch %{ocaml_native_compiler}
2547372
%global debug_package %{nil}
2547372
%endif
8978192
2547372
Name:           ocaml-zed
b3b094e
Version:        3.2.3
efd15b9
Release:        7%{?dist}
2547372
Summary:        Abstract engine for text editing in OCaml
8978192
2547372
License:        BSD-3-Clause
a8cb310
URL:            https://github.com/ocaml-community/zed
2547372
Source0:        https://github.com/ocaml-community/zed/archive/%{version}/zed-%{version}.tar.gz
2547372
# We don't need the uchar forwards compatibility package
2547372
Patch0:         %{name}-uchar.patch
8978192
2547372
BuildRequires:  ocaml >= 4.02.3
2547372
BuildRequires:  ocaml-alcotest-devel
2547372
BuildRequires:  ocaml-dune >= 3.0
8978192
BuildRequires:  ocaml-react-devel
2547372
BuildRequires:  ocaml-result-devel
2547372
BuildRequires:  ocaml-uucp-devel >= 2.0.0
2547372
BuildRequires:  ocaml-uuseg-devel
2547372
BuildRequires:  ocaml-uutf-devel
8978192
8978192
%description
2547372
Zed is an abstract engine for text editing.  It can be used to
2547372
write text editors, editing widgets, readlines, ...  You just
8978192
have to connect an engine to your inputs and rendering functions
8978192
to get an editor.
8978192
2547372
Zed provides: editing state management, multiple cursor support,
8978192
key-binding helpers, and general purpose unicode rope
8978192
manipulation functions.
8978192
8978192
%package        devel
8978192
Summary:        Development files for %{name}
8978192
Requires:       %{name} = %{version}-%{release}
a8cb310
Requires:       ocaml-react-devel%{_isa}
2547372
Requires:       ocaml-result-devel%{_isa}
2547372
Requires:       ocaml-uucp-devel%{_isa}
2547372
Requires:       ocaml-uuseg-devel%{_isa}
2547372
Requires:       ocaml-uutf-devel%{_isa}
8978192
8978192
%description    devel
8978192
The %{name}-devel package contains libraries and signature files for
8978192
developing applications that use %{name}.
8978192
8978192
%prep
2547372
%autosetup -n zed-%{version} -p1
8978192
8978192
%build
2547372
%dune_build
8978192
8978192
%install
2547372
%dune_install
a8cb310
2547372
%check
2547372
%dune_check
8978192
2547372
%files -f .ofiles
8978192
%license LICENSE
8978192
%doc README.md CHANGES.md
8978192
2547372
%files devel -f .ofiles-devel
8978192
8978192
%changelog
efd15b9
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-7
efd15b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
efd15b9
914281b
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-6
914281b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
914281b
1bda0f1
* Mon Dec 18 2023 Richard W.M. Jones <rjones@redhat.com> - 3.2.3-5
1bda0f1
- Bump release and rebuild
1bda0f1
7effa6f
* Mon Dec 18 2023 Richard W.M. Jones <rjones@redhat.com> - 3.2.3-4
7effa6f
- OCaml 5.1.1 + s390x code gen fix for Fedora 40
7effa6f
69e9eb7
* Tue Dec 12 2023 Richard W.M. Jones <rjones@redhat.com> - 3.2.3-3
69e9eb7
- OCaml 5.1.1 rebuild for Fedora 40
69e9eb7
91cab15
* Thu Oct 05 2023 Richard W.M. Jones <rjones@redhat.com> - 3.2.3-2
91cab15
- OCaml 5.1 rebuild for Fedora 40
91cab15
b3b094e
* Mon Sep 11 2023 Jerry James <loganjerry@gmail.com> - 3.2.3-1
b3b094e
- Version 3.2.3
b3b094e
c780858
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-3
c780858
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
c780858
d61d25f
* Tue Jul 11 2023 Richard W.M. Jones <rjones@redhat.com> - 3.2.2-2
d61d25f
- OCaml 5.0 rebuild for Fedora 39
d61d25f
2547372
* Mon Jul 10 2023 Jerry James <loganjerry@gmail.com> - 3.2.2-1
2547372
- Version 3.2.2
2547372
- Convert License tag to SPDX
2547372
- Use new dune macros
2547372
40849b4
* Tue Jan 24 2023 Richard W.M. Jones <rjones@redhat.com> - 3.1.0-14
40849b4
- Rebuild OCaml packages for F38
40849b4
3d96f37
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-13
3d96f37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
3d96f37
75c3041
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-12
75c3041
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
75c3041
b5dfb1b
* Sat Jun 18 2022 Richard W.M. Jones <rjones@redhat.com> - 3.1.0-11
b5dfb1b
- OCaml 4.14.0 rebuild
b5dfb1b
8f3e051
* Fri Feb 04 2022 Richard W.M. Jones <rjones@redhat.com> - 3.1.0-10
8f3e051
- OCaml 4.13.1 rebuild to remove package notes
8f3e051
dee5dbe
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-9
dee5dbe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
dee5dbe
62fee52
* Mon Oct 04 2021 Richard W.M. Jones <rjones@redhat.com> - 3.1.0-8
62fee52
- OCaml 4.13.1 build
62fee52
2f90551
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-7
2f90551
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2f90551
329b17b
* Mon Mar  1 16:58:00 GMT 2021 Richard W.M. Jones <rjones@redhat.com> - 3.1.0-6
329b17b
- OCaml 4.12.0 build
329b17b
5d82b53
* Tue Feb  2 2021 Richard W.M. Jones <rjones@redhat.com> - 3.1.0-5
5d82b53
- Bump and rebuild for updated ocaml-camomile dep (RHBZ#1923853).
5d82b53
7cb2cea
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-4
7cb2cea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
7cb2cea
79eaf41
* Tue Sep 01 2020 Richard W.M. Jones <rjones@redhat.com> - 3.1.0-3
79eaf41
- OCaml 4.11.1 rebuild
79eaf41
98a5850
* Fri Aug 21 2020 Richard W.M. Jones <rjones@redhat.com> - 3.1.0-2
98a5850
- OCaml 4.11.0 rebuild
98a5850
a8cb310
* Tue Aug  4 2020 Jerry James <loganjerry@gmail.com> - 3.1.0-1
a8cb310
- Version 3.1.0
a8cb310
ac9ddc4
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-11
ac9ddc4
- Second attempt - Rebuilt for
ac9ddc4
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ac9ddc4
f98846c
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-10
f98846c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f98846c
3262b15
* Tue May 05 2020 Richard W.M. Jones <rjones@redhat.com> - 2.0.3-9
3262b15
- OCaml 4.11.0+dev2-2020-04-22 rebuild
3262b15
587f447
* Tue Apr 21 2020 Richard W.M. Jones <rjones@redhat.com> - 2.0.3-8
587f447
- OCaml 4.11.0 pre-release attempt 2
587f447
3f126b7
* Fri Apr 03 2020 Richard W.M. Jones <rjones@redhat.com> - 2.0.3-7
3f126b7
- Update all OCaml dependencies for RPM 4.16.
3f126b7
3e24620
* Wed Feb 26 2020 Richard W.M. Jones <rjones@redhat.com> - 2.0.3-6
3e24620
- OCaml 4.10.0 final.
3e24620
78e4ad3
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-5
78e4ad3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
78e4ad3
6ee8600
* Sun Jan 19 2020 Richard W.M. Jones <rjones@redhat.com> - 2.0.3-4
6ee8600
- OCaml 4.10.0+beta1 rebuild.
6ee8600
0f82dd1
* Fri Dec 06 2019 Richard W.M. Jones <rjones@redhat.com> - 2.0.3-3
0f82dd1
- OCaml 4.09.0 (final) rebuild.
0f82dd1
ea13282
* Fri Aug 16 2019 Richard W.M. Jones <rjones@redhat.com> - 2.0.3-2
ea13282
- OCaml 4.08.1 (final) rebuild.
ea13282
5b48ece
* Sun Aug 11 2019 Ben Rosser <rosser.bjr@gmail.com> - 2.0.3-1
5b48ece
- Updated to latest upstream release.
5b48ece
a4b178d
* Thu Aug 01 2019 Richard W.M. Jones <rjones@redhat.com> - 2.0.2-2
a4b178d
- OCaml 4.08.1 (rc2) rebuild.
a4b178d
59b7d3d
* Mon Jul 29 2019 Ben Rosser <rosser.bjr@gmail.com> - 2.0.2-1
59b7d3d
- Updated to latest upstream release.
59b7d3d
49a42ef
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-9
49a42ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
49a42ef
908f4ca
* Thu Jun 27 2019 Richard W.M. Jones <rjones@redhat.com> - 1.6-8
908f4ca
- OCaml 4.08.0 (final) rebuild.
908f4ca
183618a
* Tue Apr 30 2019 Richard W.M. Jones <rjones@redhat.com> - 1.6-7
183618a
- OCaml 4.08.0 (beta 3) rebuild.
183618a
d0b3373
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-6
d0b3373
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d0b3373
d9cdfda
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-5
d9cdfda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d9cdfda
6fc84cb
* Wed Jul 11 2018 Richard W.M. Jones <rjones@redhat.com> - 1.6-4
6fc84cb
- OCaml 4.07.0 (final) rebuild.
6fc84cb
a76164a
* Wed Jun 20 2018 Richard W.M. Jones <rjones@redhat.com> - 1.6-3
a76164a
- OCaml 4.07.0-rc1 rebuild.
a76164a
6701366
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
6701366
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6701366
91d05d0
* Sat Dec 02 2017 Richard W.M. Jones <rjones@redhat.com> - 1.6-1
91d05d0
- New upstream version 1.6 (includes safe-string fixes).
215515f
- OCaml 4.06.0 rebuild.
215515f
8978192
* Tue Aug 15 2017 Ben Rosser <rosser.bjr@gmail.com> 1.5-2
8978192
- Modernize OCaml packaging.
8978192
8978192
* Fri Aug 11 2017 Ben Rosser <rosser.bjr@gmail.com> 1.5-1
8978192
- Initial packaging.