Пакет ocaml-zip: 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 | %define pkgname zip Name: ocaml-%pkgname Version: 1.10 Release: alt1 Summary: OCaml library for reading and writing zip, jar and gzip files Group: Development/ML License: LGPLv2.1+ with exceptions Url: https://github.com/xavierleroy/camlzip Provides: ocaml4-zip Obsoletes: ocaml4-zip Source: %name-%version.tar BuildRequires: ocaml zlib-devel ocaml-findlib %description This Objective Caml library provides easy access to compressed files in ZIP and GZIP format, as well as to Java JAR files. It provides functions for reading from and writing to compressed files in these formats. %package devel Summary: Development files for %name Group: Development/ML Requires: %name = %version-%release %description devel The %name-devel package contains libraries and signature files for developing applications that use %name. %prep %setup %build %make_build all %make_build allopt cat > META <<EOF name = "%name" version = "%version" requires = "unix" description = "%description" archive(byte) = "zip.cma" archive(native) = "zip.cmxa" EOF %install mkdir -p %buildroot%_libdir/ocaml/%pkgname mkdir -p %buildroot%_libdir/ocaml/stublibs export DESTDIR=%buildroot export OCAMLFIND_DESTDIR=%buildroot%_libdir/ocaml ocamlfind install %pkgname *.cma *.cmxa *.a *.cmx *.cmi *.mli dll*.so META %files %_libdir/ocaml/%pkgname %_libdir/ocaml/stublibs/*.so %_libdir/ocaml/stublibs/*.so.owner %exclude %_libdir/ocaml/%pkgname/*.a %exclude %_libdir/ocaml/%pkgname/*.cmxa %exclude %_libdir/ocaml/%pkgname/*.cmx %exclude %_libdir/ocaml/%pkgname/*.mli %files devel %_libdir/ocaml/%pkgname/*.a %_libdir/ocaml/%pkgname/*.cmxa %_libdir/ocaml/%pkgname/*.cmx %_libdir/ocaml/%pkgname/*.mli %changelog * Tue Feb 25 2020 Anton Farygin <rider@altlinux.ru> 1.10-alt1 - 1.10 * Wed Jul 31 2019 Anton Farygin <rider@altlinux.ru> 1.08-alt1 - 1.08 * Thu Oct 18 2018 Anton Farygin <rider@altlinux.ru> 1.07-alt7 - rebuilt with ocaml-4.07.1 * Tue Sep 04 2018 Anton Farygin <rider@altlinux.ru> 1.07-alt6 - rebuilt with ocaml-4.07 * Tue May 15 2018 Anton Farygin <rider@altlinux.ru> 1.07-alt5 - rebuilt for ocaml 4.06.1 * Mon Jul 10 2017 Anton Farygin <rider@altlinux.ru> 1.07-alt4 - rebuild with ocaml 4.04.2 * Wed May 03 2017 Anton Farygin <rider@altlinux.ru> 1.07-alt3 - rebuild with ocaml 4.04.1 * Wed Apr 19 2017 Anton Farygin <rider@altlinux.ru> 1.07-alt2 - rebuild with new rpm-build-ocaml - moved outsite from site-lib dir - split to runtime and devel packages - fixed double requires in META * Tue Mar 28 2017 Anton Farygin <rider@altlinux.ru> 1.07-alt1 - new version * Wed Jun 22 2016 Andrey Bergman <vkni@altlinux.org> 1.06-alt1 - Update to version 1.06. * Mon Jun 17 2013 Andrey Bergman <vkni@altlinux.org> 1.05-alt2 - Corrected packager field. * Mon Jun 17 2013 Andrey Bergman <vkni@altlinux.org> 1.05-alt1 - Update to version 1.05. Built with ocaml4. * Wed Jan 11 2012 Alexey Shabalin <shaba@altlinux.ru> 1.04-alt1 - 1.04 * Wed Sep 17 2008 Veaceslav Grecea <slavutich@altlinux.org> 1.03-alt1 - Initial build for ALTLinux * Fri Feb 22 2008 Richard W.M. Jones <rjones@redhat.com> - 1.03-1 - Initial RPM release. |