rpms/ocaml/devel ocaml.spec,1.18,1.19
Gérard Milmeister (gemi)
fedora-extras-commits at redhat.com
Sun Jan 1 00:22:18 UTC 2006
Author: gemi
Update of /cvs/extras/rpms/ocaml/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28663
Modified Files:
ocaml.spec
Log Message:
Index: ocaml.spec
===================================================================
RCS file: /cvs/extras/rpms/ocaml/devel/ocaml.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ocaml.spec 1 Jan 2006 00:05:17 -0000 1.18
+++ ocaml.spec 1 Jan 2006 00:22:18 -0000 1.19
@@ -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: 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 @@
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 @@
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 @@
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 @@
%description ocamldoc
Documentation generator for Objective Caml.
+
%package emacs
Group: Development/Languages
Summary: Emacs mode for Objective Caml
@@ -66,6 +80,7 @@
%description emacs
Emacs mode for Objective Caml.
+
%package docs
Group: Development/Languages
Summary: Documentation for OCaml
@@ -74,6 +89,7 @@
%description docs
Documentation for Objective Caml.
+
%prep
%setup -q -T -b 0
%setup -q -T -D -a 1
@@ -83,6 +99,7 @@
cp %{SOURCE2} refman.ps.gz
+
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure \
-bindir %{_bindir} \
@@ -93,6 +110,7 @@
# %{?_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 @@
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 @@
%{_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 @@
%exclude %{_libdir}/ocaml/stublibs/dlltkanim.so
%doc README LICENSE Changes
+
%files -n labltk
%defattr(-,root,root,-)
%{_bindir}/labltk
@@ -155,6 +178,7 @@
%doc otherlibs/labltk/examples_labltk
%doc otherlibs/labltk/examples_camltk
+
%files -n camlp4
%defattr(-,root,root,-)
%{_bindir}/camlp4*
@@ -164,22 +188,26 @@
%{_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 <gemi at bluewin.ch> - 3.09.0-1
- new version 3.09.0
More information about the fedora-extras-commits
mailing list