X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;ds=sidebyside;f=ocaml-graphics.spec;h=b76af9945497ea63b6c261179624d295862b7bb3;hb=HEAD;hp=6e2fb08efec472eeeab15b817f31c3e62d02f308;hpb=db8908407ad283bf271d0db6b4d9b7af16b0e450;p=packages%2Focaml-graphics.git diff --git a/ocaml-graphics.spec b/ocaml-graphics.spec index 6e2fb08..b76af99 100644 --- a/ocaml-graphics.spec +++ b/ocaml-graphics.spec @@ -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 @@ -15,17 +15,19 @@ 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: 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 @@ -44,6 +46,7 @@ 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 @@ -77,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)