]> git.pld-linux.org Git - packages/ocaml-graphics.git/blobdiff - ocaml-graphics.spec
- updated to 5.1.2
[packages/ocaml-graphics.git] / ocaml-graphics.spec
index 484bf14d4e1b45594d3d4dfdfe9387324fa4eeb3..b76af9945497ea63b6c261179624d295862b7bb3 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_without ocaml_opt       # skip building native optimized binaries (bytecode is always built)
+%bcond_without ocaml_opt       # native optimized binaries (bytecode is always built)
 
 # not yet available on x32 (ocaml 4.02.1), update when upstream will support it
 %ifnarch %{ix86} %{x8664} %{arm} aarch64 ppc sparc sparcv9
 
 %define                module  graphics
 Summary:       Portable drawing primitives for OCaml
+Summary(pl.UTF-8):     Przenośne funkcje rysujące dla OCamla
 Name:          ocaml-%{module}
-Version:       5.1.1
+Version:       5.1.2
 Release:       1
-License:       LGPLv2 with exceptions
+License:       LGPL v2 with exceptions
+Group:         Libraries
+#Source0Download: https://github.com/ocaml/graphics/releases/download
 Source0:       https://github.com/ocaml/graphics/releases/download/%{version}/%{module}-%{version}.tbz
-# Source0-md5: bc127b5da919b61f4c928a6657c88886
+# Source0-md5: 0b24d47c2157da8529c2e55265b079c3
 URL:           https://github.com/ocaml/graphics
 BuildRequires: ocaml >= 4.09.0
 BuildRequires: ocaml-dune-devel >= 2.1
 BuildRequires: xorg-lib-libX11-devel
 %requires_eq   ocaml-runtime
+Obsoletes:     ocaml-x11graphics < 1:4.09
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,14 +35,26 @@ 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.
 
-%package        devel
-Summary:       Development files for %{name}
+%description -l pl.UTF-8
+Biblioteka graphics dostarcza zbiór przenośnych funkcji rysujących.
+Rysowanie jest wykonywane w osobnym oknie, tworzonym przy wywołaniu
+Graphics.open_graph.
+
+%package devel
+Summary:       Development files for graphics library
+Summary(pl.UTF-8):     Pliki programistyczne biblioteki graphics
+Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      xorg-lib-libX11-devel
+Obsoletes:     ocaml-x11graphics-devel < 1:4.09
+
+%description devel
+This package contains libraries and signature files for developing
+applications that use OCaml graphics library.
 
-%description    devel
-The %{name}-devel package contains libraries and signature files for
-developing applications that use %{name}.
+%description devel -l pl.UTF-8
+Ten pakiet zawiera biblioteki i pliki sygnatur do tworzenia aplikacji
+wykorzystujących bibliotekę OCamla graphics.
 
 %prep
 %setup -q -n %{module}-%{version}
@@ -64,7 +80,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with ocaml_opt}
 %attr(755,root,root) %{_libdir}/ocaml/%{module}/*.cmxs
 %endif
-%{_libdir}/ocaml/stublibs/dllgraphics_stubs.so
+%attr(755,root,root) %{_libdir}/ocaml/stublibs/dllgraphics_stubs.so
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.085519 seconds and 4 git commands to generate.