Package ocaml-mysql: 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 | Name: ocaml-mysql Version: 1.2.1 Release: alt3%ubt Summary: MySQL bindings for OCaml License: LGPL Group: Development/ML URL: http://ygrek.org.ua/p/ocaml-mysql/ # https://github.com/ygrek/ocaml-mysql Source: ocaml-mysql-%version.tar Requires: %name-runtime = %version-%release BuildRequires(pre):rpm-build-ubt BuildRequires: ocaml-camlp4 ocaml-findlib libMySQL-devel zlib-devel chrpath %package runtime Summary: MySQL bindings for OCaml Group: Development/ML Conflicts: %name < %version-%release %description ocaml-mysql is a package for OCaml that provides access to MySQL databases. It consists of low level functions implemented in C and a module Mysql intended for application development. %description runtime ocaml-mysql is a package for OCaml that provides access to MySQL databases. It consists of low level functions implemented in C and a module Mysql intended for application development. %prep %setup -q %build %configure make all opt %install export OCAMLFIND_LDCONF=ignore export OCAMLFIND_DESTDIR=%buildroot%_libdir/ocaml/site-lib mkdir -p $OCAMLFIND_DESTDIR %makeinstall_std #remove rpath chrpath -d %buildroot%_libdir/ocaml/site-lib/mysql/dllmysql_stubs.so # move runtime to stublibs mkdir -p %buildroot%_libdir/ocaml/stublibs mv %buildroot%_libdir/ocaml/site-lib/mysql/dllmysql_stubs.so %buildroot%_libdir/ocaml/stublibs %files %dir %_libdir/ocaml/site-lib/mysql %_libdir/ocaml/site-lib/mysql/* %doc CHANGES README %files runtime %_libdir/ocaml/stublibs/dll*.so %changelog * Tue Jul 11 2017 Anton Farygin <rider@altlinux.ru> 1.2.1-alt3%ubt - rebuild with ocaml 4.04.2 * Wed May 03 2017 Anton Farygin <rider@altlinux.ru> 1.2.1-alt2%ubt - rebuild with ocaml 4.04.1 * Mon Apr 10 2017 Anton Farygin <rider@altlinux.ru> 1.2.1-alt1%ubt - new version from new upstream git - build with ocaml-4.04 * Sun Apr 14 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 1.0.4-alt5.qa1 - NMU: rebuilt with libmysqlclient.so.18. * Wed Jan 11 2012 Alexey Shabalin <shaba@altlinux.ru> 1.0.4-alt5 - rebuilt for new ocaml - patch for CVE 2009-2942 Missing escape function * Mon Dec 06 2010 Igor Vlasenko <viy@altlinux.ru> 1.0.4-alt4.1 - rebuild with new libmysqlclient by request of libmysqlclient maintainer * Wed Apr 09 2008 Alexey Tourbin <at@altlinux.ru> 1.0.4-alt4 - rebuilt for new ocaml dependencies - split ocaml-mysql-runtime subpackage * Thu Jan 11 2007 Alexey Morsov <swi@altlinux.ru> 1.0.4-alt3 - fix version condition for ocaml * Mon Dec 18 2006 Alexey Morsov <swi@altlinux.ru> 1.0.4-alt2 - fix version conditions in spec * Thu Dec 07 2006 Alexey Morsov <swi@altlinux.ru> 1.0.4-alt1 - new version - change Packager * Fri May 7 2004 Alexander V. Nikolaev <avn@altlinux.org> 1.0.2-alt4.1 - Non-maintainer upload - Add "packager" to spec - Rebuild with glibc 2.3.x and ocaml 3.07-alt6.1 * Wed Mar 17 2004 Vitaly Lugovsky <vsl@altlinux.ru> 1.0.2-alt4 - rebuild * Wed Feb 18 2004 Vitaly Lugovsky <vsl@altlinux.ru> 1.0.2-alt3 - rebuild * Tue Jan 27 2004 Vitaly Lugovsky <vsl@altlinux.ru> 1.0.2-alt2 rebuild * Wed Nov 12 2003 Vitaly Lugovsky <vsl@altlinux.ru> 1.0.1-alt2 relaxed elf verifying * Mon Oct 27 2003 Vitaly Lugovsky <vsl@altlinux.ru> 1.0.1-alt1 first release |