*** empty log message ***
This commit is contained in:
parent
03108e3b7c
commit
a5dcf3efcb
30
ocaml.spec
30
ocaml.spec
@ -1,6 +1,6 @@
|
|||||||
Name: ocaml
|
Name: ocaml
|
||||||
Version: 3.09.0
|
Version: 3.09.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
Summary: Objective Caml compiler and programming environment
|
Summary: Objective Caml compiler and programming environment
|
||||||
|
|
||||||
@ -18,7 +18,17 @@ BuildRequires: ncurses-devel
|
|||||||
BuildRequires: gdbm-devel
|
BuildRequires: gdbm-devel
|
||||||
BuildRequires: tcl-devel, tk-devel
|
BuildRequires: tcl-devel, tk-devel
|
||||||
BuildRequires: emacs, perl
|
BuildRequires: emacs, perl
|
||||||
|
BuildRequires: libICE-devel
|
||||||
|
BuildRequires: libSM-devel
|
||||||
BuildRequires: libX11-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(post): /sbin/install-info
|
||||||
Requires(preun): /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,
|
parsing tools (Lex,Yacc,Camlp4), a replay debugger, a documentation generator,
|
||||||
and a comprehensive library.
|
and a comprehensive library.
|
||||||
|
|
||||||
|
|
||||||
%package -n labltk
|
%package -n labltk
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Summary: Tk bindings for Objective Caml
|
Summary: Tk bindings for Objective Caml
|
||||||
@ -40,6 +51,7 @@ Requires: ocaml = %{version}-%{release}
|
|||||||
A library for interfacing Objective Caml with the scripting language
|
A library for interfacing Objective Caml with the scripting language
|
||||||
Tcl/Tk. It include the OCamlBrowser code editor / library browser.
|
Tcl/Tk. It include the OCamlBrowser code editor / library browser.
|
||||||
|
|
||||||
|
|
||||||
%package -n camlp4
|
%package -n camlp4
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Summary: Pre-Processor-Pretty-Printer for OCaml
|
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
|
Camlp4 is a Pre-Processor-Pretty-Printer for OCaml, parsing a source
|
||||||
file and printing some result on standard output.
|
file and printing some result on standard output.
|
||||||
|
|
||||||
|
|
||||||
%package ocamldoc
|
%package ocamldoc
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Summary: Documentation generator for OCaml
|
Summary: Documentation generator for OCaml
|
||||||
@ -57,6 +70,7 @@ Requires: ocaml = %{version}-%{release}
|
|||||||
%description ocamldoc
|
%description ocamldoc
|
||||||
Documentation generator for Objective Caml.
|
Documentation generator for Objective Caml.
|
||||||
|
|
||||||
|
|
||||||
%package emacs
|
%package emacs
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Summary: Emacs mode for Objective Caml
|
Summary: Emacs mode for Objective Caml
|
||||||
@ -66,6 +80,7 @@ Requires: emacs
|
|||||||
%description emacs
|
%description emacs
|
||||||
Emacs mode for Objective Caml.
|
Emacs mode for Objective Caml.
|
||||||
|
|
||||||
|
|
||||||
%package docs
|
%package docs
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Summary: Documentation for OCaml
|
Summary: Documentation for OCaml
|
||||||
@ -74,6 +89,7 @@ Requires: ocaml = %{version}-%{release}
|
|||||||
%description docs
|
%description docs
|
||||||
Documentation for Objective Caml.
|
Documentation for Objective Caml.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -T -b 0
|
%setup -q -T -b 0
|
||||||
%setup -q -T -D -a 1
|
%setup -q -T -D -a 1
|
||||||
@ -83,6 +99,7 @@ Documentation for Objective Caml.
|
|||||||
|
|
||||||
cp %{SOURCE2} refman.ps.gz
|
cp %{SOURCE2} refman.ps.gz
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" ./configure \
|
CFLAGS="$RPM_OPT_FLAGS" ./configure \
|
||||||
-bindir %{_bindir} \
|
-bindir %{_bindir} \
|
||||||
@ -93,6 +110,7 @@ make world opt opt.opt
|
|||||||
# %{?_smp_mflags} breaks the build
|
# %{?_smp_mflags} breaks the build
|
||||||
(cd emacs; make ocamltags)
|
(cd emacs; make ocamltags)
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%makeinstall BINDIR=$RPM_BUILD_ROOT%{_bindir} LIBDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml MANDIR=$RPM_BUILD_ROOT%{_mandir}
|
%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}
|
cd infoman; cp ocaml*.gz $RPM_BUILD_ROOT%{_infodir}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/install-info \
|
/sbin/install-info \
|
||||||
--entry "* ocaml: (ocaml). The Objective Caml compiler and programming environment" \
|
--entry "* ocaml: (ocaml). The Objective Caml compiler and programming environment" \
|
||||||
@ -117,11 +137,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_infodir}/%{name}.info \
|
%{_infodir}/%{name}.info \
|
||||||
%{_infodir}/dir 2>/dev/null || :
|
%{_infodir}/dir 2>/dev/null || :
|
||||||
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
|
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
@ -145,6 +167,7 @@ fi
|
|||||||
%exclude %{_libdir}/ocaml/stublibs/dlltkanim.so
|
%exclude %{_libdir}/ocaml/stublibs/dlltkanim.so
|
||||||
%doc README LICENSE Changes
|
%doc README LICENSE Changes
|
||||||
|
|
||||||
|
|
||||||
%files -n labltk
|
%files -n labltk
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/labltk
|
%{_bindir}/labltk
|
||||||
@ -155,6 +178,7 @@ fi
|
|||||||
%doc otherlibs/labltk/examples_labltk
|
%doc otherlibs/labltk/examples_labltk
|
||||||
%doc otherlibs/labltk/examples_camltk
|
%doc otherlibs/labltk/examples_camltk
|
||||||
|
|
||||||
|
|
||||||
%files -n camlp4
|
%files -n camlp4
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/camlp4*
|
%{_bindir}/camlp4*
|
||||||
@ -164,22 +188,26 @@ fi
|
|||||||
%{_mandir}/man1/camlp4*
|
%{_mandir}/man1/camlp4*
|
||||||
%{_mandir}/man1/mkcamlp4*
|
%{_mandir}/man1/mkcamlp4*
|
||||||
|
|
||||||
|
|
||||||
%files ocamldoc
|
%files ocamldoc
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/ocamldoc*
|
%{_bindir}/ocamldoc*
|
||||||
%{_libdir}/ocaml/ocamldoc
|
%{_libdir}/ocaml/ocamldoc
|
||||||
%doc ocamldoc/Changes.txt
|
%doc ocamldoc/Changes.txt
|
||||||
|
|
||||||
|
|
||||||
%files docs
|
%files docs
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc refman.ps.gz htmlman
|
%doc refman.ps.gz htmlman
|
||||||
|
|
||||||
|
|
||||||
%files emacs
|
%files emacs
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_datadir}/emacs/site-lisp/*
|
%{_datadir}/emacs/site-lisp/*
|
||||||
%{_bindir}/ocamltags
|
%{_bindir}/ocamltags
|
||||||
%doc emacs/README
|
%doc emacs/README
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sun Jan 1 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.09.0-1
|
* Sun Jan 1 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.09.0-1
|
||||||
- new version 3.09.0
|
- new version 3.09.0
|
||||||
|
8
sources
8
sources
@ -1,4 +1,4 @@
|
|||||||
96b8edeb6190d9f15c086c7decd277a9 ocaml-3.08.4.tar.bz2
|
834f88b1f39aa066bb620747764c0588 ocaml-3.09.0.tar.bz2
|
||||||
0daee5643db6960682c1a7d84467885f ocaml-3.08-refman.html.tar.gz
|
b25eb211bf91bcaa536b12d12731ceec ocaml-3.09-refman.html.tar.gz
|
||||||
49b68ec07ccd7ce45eb6bd3f3fdee140 ocaml-3.08-refman.info.tar.gz
|
280160b1fc7c8513074c3fda0446de29 ocaml-3.09-refman.info.tar.gz
|
||||||
35a5d4318456c0982e72ee3f33364bf5 ocaml-3.08-refman.ps.gz
|
598bb8e86329afe1ae374385b2e177e7 ocaml-3.09-refman.ps.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user