]> git.pld-linux.org Git - packages/ocaml.git/commitdiff
- removed html docs
authorklakier <klakier@pld-linux.org>
Wed, 20 Jun 2001 22:06:47 +0000 (22:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added info docs

Changed files:
    ocaml.spec -> 1.12

ocaml.spec

index 615d68e3b6e4cae832b85eb229a6585a32b196eb..3e93e857278af03859cca42ab62272bef1176b51 100644 (file)
@@ -9,7 +9,7 @@ Group:          Development/Languages
 Group(de):     Entwicklung/Sprachen
 Group(pl):     Programowanie/Jêzyki
 Source0:       ftp://ftp.inria.fr/lang/caml-light/%{name}-%{version}.tar.gz
-Source1:       ftp://ftp.inria.fr/lang/caml-light/%{name}-%{version}-refman.html.tar.gz
+Source1:       ftp://ftp.inria.fr/lang/caml-light/%{name}-%{version}-refman.info.tar.gz
 URL:           http://pauillac.inria.fr/caml/
 BuildRequires: tcl-devel
 BuildRequires: tk-devel
@@ -88,17 +88,28 @@ mv -f $RPM_BUILD_ROOT%{_bindir}/ocamlopt $RPM_BUILD_ROOT%{_bindir}/ocamlopt.byte
 mv -f $RPM_BUILD_ROOT%{_bindir}/ocamlopt.opt $RPM_BUILD_ROOT%{_bindir}/ocamlopt
 rm -f $RPM_BUILD_ROOT%{_libdir}/%{_name}/*.ml
 
+install -d $RPM_BUILD_ROOT%{_infodir}
+install infoman/*info* $RPM_BUILD_ROOT%{_infodir}
+
 gzip -9nf LICENSE Changes README
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+
 %files
 %defattr(644,root,root,755)
-%doc htmlman *.gz
+%doc *.gz
 %attr(755, root, root) %{_bindir}/*
 %{_libdir}/%{name}
 %{_mandir}/man*/*
+%{_infodir}/*
 
 %files emacs
 %defattr(644,root,root,755)
This page took 0.033778 seconds and 4 git commands to generate.