Пакет ocaml-gsl: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | %set_verify_elf_method textrel=relaxed Name: ocaml-gsl Version: 1.19.3 Release: alt3%ubt Summary: Interface to GSL (GNU scientific library) for OCaml Summary(ru_RU.UTF-8): Интерфейс библиотеки GSL для OCaml License: GPLv2 Group: Development/ML Url: http://mmottl.github.io/gsl-ocaml/ Provides: ocaml4-gsl Obsoletes: ocaml4-gsl Source: %name-%version.tar Patch0: ocaml4-gsl-1.18.4-alt-compilation_fix.patch # Automatically added by buildreq on Wed Jun 24 2015 BuildRequires: libgsl-devel ocaml-camlp4 ocaml-findlib ocaml-ocamlbuild ocaml-ocamldoc BuildRequires(pre): rpm-build-ubt %package devel Summary: Development files for programs which will use the OcamlGSL library Summary(ru_RU.UTF-8): Заголовочные файлы для программ, использующих библиотеку OcamlGSL Group: Development/ML Requires: %name = %version-%release Provides: ocaml-gsl-devel Obsoletes: ocaml-gsl-devel Conflicts: ocaml-gsl-devel %description This is an interface to GSL (GNU scientific library), for the Objective Caml language. %description devel This package includes development files necessary for developing programs which use interface to GSL (GNU scientific library) %prep %setup -q %patch0 -p1 # Поскольку в дистрибутиве ALT есть только ocamlfind-mini, используем его. sed -i s/ocamlfind/ocamlfind-mini/g Makefile %build %make strip _build/src/dllgsl_stubs.so %install %define ocamlsitelib %_libdir/ocaml/site-lib %define ocamlstublib %_libdir/ocaml/stublibs/ %define docdir %_docdir/%name-%version export OCAMLFIND_DESTDIR=%buildroot%ocamlsitelib/ export DESTDIR=%buildroot mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs %makeinstall rm -f %buildroot%ocamlsitelib/gsl/*.annot rm -f %buildroot%ocamlsitelib/gsl/*.cmx rm -f %buildroot%ocamlsitelib/gsl/*.cmt rm -f %buildroot%ocamlsitelib/gsl/*.cmti rm -f %buildroot%ocamlsitelib/gsl/*.ml rm -f %buildroot%ocamlsitelib/gsl/*.mli mkdir -p %buildroot%ocamlstublib/ mv $OCAMLFIND_DESTDIR/stublibs/* %buildroot%ocamlstublib/ mkdir -p %buildroot/%docdir %files %doc COPYING.txt %ocamlstublib/*.so %ocamlstublib/*.so.owner %dir %ocamlsitelib/gsl/ %ocamlsitelib/gsl/gsl.cma %ocamlsitelib/gsl/gsl.cmxs %ocamlsitelib/gsl/libgsl_stubs.a %files devel %ocamlsitelib/gsl/gsl.a %ocamlsitelib/gsl/*.cmxa %ocamlsitelib/gsl/*.cmi %ocamlsitelib/gsl/META %changelog * Tue Jul 11 2017 Anton Farygin <rider@altlinux.ru> 1.19.3-alt3%ubt - rebuild with ocaml 4.04.2 * Wed May 03 2017 Anton Farygin <rider@altlinux.ru> 1.19.3-alt2%ubt - rebuild with ocaml 4.04.1 * Tue Mar 28 2017 Anton Farygin <rider@altlinux.ru> 1.19.3-alt1%ubt - renamed back to ocaml-gsl * Mon Jun 20 2016 Andrey Bergman <vkni@altlinux.org> 1.19.1-alt2 - Rebuild with ocaml4 4.03.0. * Fri Nov 27 2015 Andrey Bergman <vkni@altlinux.org> 1.19.1-alt1 - Version update. * Thu Aug 27 2015 Andrey Bergman <vkni@altlinux.org> 1.18.5-alt1 - Version update. Corrected packaging of *.a files. * Wed Jun 24 2015 Andrey Bergman <vkni@altlinux.org> 1.18.4-alt1 - Version update. Built with ocaml4. * Tue Jul 15 2014 Andrey Bergman <vkni@altlinux.org> 1.15.4-alt2 - Added patch for new GSL library support. * Mon Jul 14 2014 Andrey Bergman <vkni@altlinux.org> 1.15.4-alt1 - Version update. * Mon Jul 07 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.6.0-alt1.1 - Rebuilt with gsl90 instead of gsl * Tue Oct 15 2013 Andrey Bergman <vkni@altlinux.org> 1.13.0-alt1 - Version update. * Fri Dec 23 2011 Alexey Shabalin <shaba@altlinux.ru> 0.6.0-alt1 - rebuild with new ocaml * Fri Dec 17 2010 Andrey Bergman <vkni@altlinux.org> 0.6.0-alt0.1 - Initial release for Sisyphus. |