- Initial version 5.0.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-graphics?expand=0&rev=1
This commit is contained in:
commit
a2514bd1d2
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
14
_service
Normal file
14
_service
Normal file
@ -0,0 +1,14 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">https://github.com/ocaml/graphics.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="versionformat">5.0.0</param>
|
||||
<param name="revision">5.0.0</param>
|
||||
<param name="filename">ocaml-graphics</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
</services>
|
3
ocaml-graphics-5.0.0.tar.xz
Normal file
3
ocaml-graphics-5.0.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4b740f011c5f9f2fb126b0ca77f37002a1a77daad1402f22424b2c0ed58eb416
|
||||
size 38436
|
5
ocaml-graphics.changes
Normal file
5
ocaml-graphics.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 1 12:34:56 UTC 2019 - ohering@suse.de
|
||||
|
||||
- Initial version 5.0.0
|
||||
|
69
ocaml-graphics.spec
Normal file
69
ocaml-graphics.spec
Normal file
@ -0,0 +1,69 @@
|
||||
#
|
||||
# spec file for package ocaml-graphics
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: ocaml-graphics
|
||||
Version: 5.0.0
|
||||
Release: 0
|
||||
%{?ocaml_preserve_bytecode}
|
||||
Summary: The OCaml graphics library
|
||||
License: LGPL-2.1-only WITH OCaml-LGPL-linking-exception
|
||||
Group: Development/Languages/OCaml
|
||||
Url: https://github.com/ocaml/graphics
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
BuildRequires: ocaml >= 4.09
|
||||
BuildRequires: ocaml-dune
|
||||
BuildRequires: ocaml-rpm-macros >= 20191101
|
||||
BuildRequires: pkgconfig(x11)
|
||||
|
||||
%description
|
||||
The graphics library provides a set of portable drawing
|
||||
primitives. Drawing takes place in a separate window that is created
|
||||
when Graphics.open_graph is called.
|
||||
|
||||
This library used to be distributed with OCaml up to OCaml 4.08.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Languages/OCaml
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and signature files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
dune_release_pkgs='graphics'
|
||||
%ocaml_dune_setup
|
||||
%ocaml_dune_build
|
||||
|
||||
%install
|
||||
%ocaml_dune_install
|
||||
%ocaml_create_file_list
|
||||
|
||||
%check
|
||||
%ocaml_dune_test
|
||||
|
||||
%files -f %{name}.files
|
||||
|
||||
%files devel -f %{name}.files.devel
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user