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
Name: rpm-build-ocaml Version: 1.3 Release: alt1 BuildArch: noarch Summary: RPM helpers to rebuild OCaml packages License: Public domain Group: Development/ML Source: scripts-%version.tar # for proper dependencies BuildPreReq: rpm-build >= 4.0.4-alt81 Conflicts: ocaml4-runtime Requires: %_bindir/ocamlrun Requires: %_rpmlibdir/ocaml-reqprov Obsoletes: rpm-build-ocaml4 %description RPM macros and reqprov helpers to be used in OCaml packages. %prep %setup -n scripts-%version %install mkdir -p %buildroot%_rpmlibdir install -pD -m644 ocaml %buildroot%_rpmmacrosdir/ocaml install -pD -m644 ocaml.env %buildroot%_rpmmacrosdir/ocaml.env install -p -m755 ocaml.{req,prov}{.files,} ocaml-functions %buildroot%_rpmlibdir/ %files %_rpmmacrosdir/ocaml %_rpmmacrosdir/ocaml.env %_rpmlibdir/ocaml* %changelog * Tue May 16 2017 Anton Farygin <rider@altlinux.ru> 1.3-alt1 - added %%add_ocaml_req_skip macros - added %%ocamldir * Tue Apr 18 2017 Anton Farygin <rider@altlinux.ru> 1.2-alt1 - added stublibs path to search shared libraries in cmxi archives - resolve .so path for avoid requires to devel packages in runtime ocaml libraries * Thu Feb 16 2017 Anton Farygin <rider@altlinux.ru> 1.1.1-alt2 - added temporaty conflict with ocaml4-runtime * Tue Apr 08 2008 Alexey Tourbin <at@altlinux.ru> 1.1.1-alt1 - ocaml.req: check "ccopt" libaray paths when resolving "cclib" dependencies * Fri Apr 04 2008 Alexey Tourbin <at@altlinux.ru> 1.1-alt2 - added dependency on %_rpmlibdir/ocaml-reqprov * Thu Apr 03 2008 Alexey Tourbin <at@altlinux.ru> 1.1-alt1 - major revision, implemented new types of dependencies: + ocaml-cmi(Unit) = V-hash - for bytecode units; + ocaml-cmx(Unit) = V-hash - for native units; + ocaml-dll(name) - for stub libraries (dll*.so); where V - major.minor of ocaml, hash - part of CRC * Mon Jan 21 2007 Alex V. Myltsev <avm@altlinux.ru> 1-alt1 - Initial build for Sisyphus.