From a5dcf3efcbcde0b4da3dac7298a2a63f82e44796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rard=20Milmeister?= Date: Sun, 1 Jan 2006 00:22:18 +0000 Subject: [PATCH] *** empty log message *** --- ocaml.spec | 30 +++++++++++++++++++++++++++++- sources | 8 ++++---- 2 files changed, 33 insertions(+), 5 deletions(-) diff --git a/ocaml.spec b/ocaml.spec index a851e5a..07553cb 100644 --- a/ocaml.spec +++ b/ocaml.spec @@ -1,6 +1,6 @@ Name: ocaml Version: 3.09.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Objective Caml compiler and programming environment @@ -18,7 +18,17 @@ BuildRequires: ncurses-devel BuildRequires: gdbm-devel BuildRequires: tcl-devel, tk-devel BuildRequires: emacs, perl +BuildRequires: libICE-devel +BuildRequires: libSM-devel BuildRequires: libX11-devel +BuildRequires: libXaw-devel +BuildRequires: libXext-devel +BuildRequires: libXft-devel +BuildRequires: libXmu-devel +BuildRequires: libXrender-devel +BuildRequires: libXt-devel +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libGLU-devel Requires(post): /sbin/install-info Requires(preun): /sbin/install-info @@ -31,6 +41,7 @@ and an optimizing native-code compiler), an interactive toplevel system, parsing tools (Lex,Yacc,Camlp4), a replay debugger, a documentation generator, and a comprehensive library. + %package -n labltk Group: Development/Languages Summary: Tk bindings for Objective Caml @@ -40,6 +51,7 @@ Requires: ocaml = %{version}-%{release} A library for interfacing Objective Caml with the scripting language Tcl/Tk. It include the OCamlBrowser code editor / library browser. + %package -n camlp4 Group: Development/Languages Summary: Pre-Processor-Pretty-Printer for OCaml @@ -49,6 +61,7 @@ Requires: ocaml = %{version}-%{release} Camlp4 is a Pre-Processor-Pretty-Printer for OCaml, parsing a source file and printing some result on standard output. + %package ocamldoc Group: Development/Languages Summary: Documentation generator for OCaml @@ -57,6 +70,7 @@ Requires: ocaml = %{version}-%{release} %description ocamldoc Documentation generator for Objective Caml. + %package emacs Group: Development/Languages Summary: Emacs mode for Objective Caml @@ -66,6 +80,7 @@ Requires: emacs %description emacs Emacs mode for Objective Caml. + %package docs Group: Development/Languages Summary: Documentation for OCaml @@ -74,6 +89,7 @@ Requires: ocaml = %{version}-%{release} %description docs Documentation for Objective Caml. + %prep %setup -q -T -b 0 %setup -q -T -D -a 1 @@ -83,6 +99,7 @@ Documentation for Objective Caml. cp %{SOURCE2} refman.ps.gz + %build CFLAGS="$RPM_OPT_FLAGS" ./configure \ -bindir %{_bindir} \ @@ -93,6 +110,7 @@ make world opt opt.opt # %{?_smp_mflags} breaks the build (cd emacs; make ocamltags) + %install rm -rf $RPM_BUILD_ROOT %makeinstall BINDIR=$RPM_BUILD_ROOT%{_bindir} LIBDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml MANDIR=$RPM_BUILD_ROOT%{_mandir} @@ -107,9 +125,11 @@ perl -pi -e "s|^$RPM_BUILD_ROOT||" $RPM_BUILD_ROOT%{_libdir}/ocaml/ld.conf cd infoman; cp ocaml*.gz $RPM_BUILD_ROOT%{_infodir} ) + %clean rm -rf $RPM_BUILD_ROOT + %post /sbin/install-info \ --entry "* ocaml: (ocaml). The Objective Caml compiler and programming environment" \ @@ -117,11 +137,13 @@ rm -rf $RPM_BUILD_ROOT %{_infodir}/%{name}.info \ %{_infodir}/dir 2>/dev/null || : + %preun if [ $1 -eq 0 ]; then /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || : fi + %files %defattr(-,root,root,-) %{_bindir}/* @@ -145,6 +167,7 @@ fi %exclude %{_libdir}/ocaml/stublibs/dlltkanim.so %doc README LICENSE Changes + %files -n labltk %defattr(-,root,root,-) %{_bindir}/labltk @@ -155,6 +178,7 @@ fi %doc otherlibs/labltk/examples_labltk %doc otherlibs/labltk/examples_camltk + %files -n camlp4 %defattr(-,root,root,-) %{_bindir}/camlp4* @@ -164,22 +188,26 @@ fi %{_mandir}/man1/camlp4* %{_mandir}/man1/mkcamlp4* + %files ocamldoc %defattr(-,root,root,-) %{_bindir}/ocamldoc* %{_libdir}/ocaml/ocamldoc %doc ocamldoc/Changes.txt + %files docs %defattr(-,root,root,-) %doc refman.ps.gz htmlman + %files emacs %defattr(-,root,root,-) %{_datadir}/emacs/site-lisp/* %{_bindir}/ocamltags %doc emacs/README + %changelog * Sun Jan 1 2006 Gerard Milmeister - 3.09.0-1 - new version 3.09.0 diff --git a/sources b/sources index d500186..e81630f 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -96b8edeb6190d9f15c086c7decd277a9 ocaml-3.08.4.tar.bz2 -0daee5643db6960682c1a7d84467885f ocaml-3.08-refman.html.tar.gz -49b68ec07ccd7ce45eb6bd3f3fdee140 ocaml-3.08-refman.info.tar.gz -35a5d4318456c0982e72ee3f33364bf5 ocaml-3.08-refman.ps.gz +834f88b1f39aa066bb620747764c0588 ocaml-3.09.0.tar.bz2 +b25eb211bf91bcaa536b12d12731ceec ocaml-3.09-refman.html.tar.gz +280160b1fc7c8513074c3fda0446de29 ocaml-3.09-refman.info.tar.gz +598bb8e86329afe1ae374385b2e177e7 ocaml-3.09-refman.ps.gz