]> git.pld-linux.org Git - packages/coq.git/blobdiff - coq.spec
outdated
[packages/coq.git] / coq.spec
index f39f93e11b87aa7f3faa8d700dbfc3063abfe8da..ebc28a71c3275672ff65c92547bda860eff6ffe5 100644 (file)
--- a/coq.spec
+++ b/coq.spec
@@ -1,20 +1,21 @@
 Summary:       The Coq Proof Assistant
-Summary(pl):   Coq - narzêdzie pomagaj±ce w udowadnianiu
+Summary(pl.UTF-8):     Coq - narzędzie pomagające w udowadnianiu
 Name:          coq
 Version:       8.0pl2
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/Math
 Vendor:                INRIA Rocquencourt
 Source0:       ftp://ftp.inria.fr/INRIA/coq/V%{version}/%{name}-%{version}.tar.gz
 # Source0-md5: 39ee0fed76e47a11de2f49e2c236ef79
-Patch0:                coq-ocaml-3.07.patch
-Icon:          petit-coq.gif
+# ftp://ftp.inria.fr/INRIA/coq/V8.0pl2/patch-coq-8.0pl2-ocaml-3.09
+Patch0:                %{name}-ocaml-3.09.patch
+Patch1:                %{name}-lablgtk26.patch
 URL:           http://coq.inria.fr/
 BuildRequires: emacs
-BuildRequires: ocaml
+BuildRequires: ocaml >= 3.09.0
 BuildRequires: ocaml-camlp4
-BuildRequires: ocaml-lablgtk-devel
+BuildRequires: ocaml-lablgtk2-devel >= 2.6.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,17 +26,19 @@ Coq is a proof assistant which:
  - extracts a certified program from the constructive proof of its
    formal specification.
 
-%description -l pl
-Coq to narzêdzie pomagaj±ce w udowadnianiu, które:
-- pozwala uporaæ siê z twierdzeniami dotycz±cymi rachunku
-  ró¿niczkowego,
-- mechanicznie sprawdzaæ dowody tych twierdzeñ,
-- pomagaæ w znalezieniu formalnych dowodów,
-- wyci±gaæ program o dowiedzionej poprawno¶ci z konstruktywnego
+%description -l pl.UTF-8
+Coq to narzędzie pomagające w udowadnianiu, które:
+- pozwala uporać się z twierdzeniami dotyczącymi rachunku
+  różniczkowego,
+- mechanicznie sprawdzać dowody tych twierdzeń,
+- pomagać w znalezieniu formalnych dowodów,
+- wyciągać program o dowiedzionej poprawności z konstruktywnego
   dowodu jego formalnej specyfikacji.
 
 %prep
 %setup -q
+%patch0 -p0
+%patch1 -p1
 
 %build
 ./configure \
@@ -46,6 +49,7 @@ Coq to narz
        -emacslib %{_datadir}/emacs/site-lisp \
        -opt \
        --coqdocdir %{_datadir}/texmf/tex/latex/misc \
+       --coqide opt \
        -reals all      # Need ocamlc.opt and ocamlopt.opt 
 
 %{__make} world check  # Use native coq to compile theories
@@ -62,19 +66,21 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/coqmktop
+%attr(755,root,root) %{_bindir}/coq-interface
+%attr(755,root,root) %{_bindir}/coq-interface.opt
+%attr(755,root,root) %{_bindir}/coq-tex
+%attr(755,root,root) %{_bindir}/coq_makefile
 %attr(755,root,root) %{_bindir}/coqc
-%attr(755,root,root) %{_bindir}/coqtop.byte
-%attr(755,root,root) %{_bindir}/coqtop.opt
-%attr(755,root,root) %{_bindir}/coqtop
 %attr(755,root,root) %{_bindir}/coqdep
-%attr(755,root,root) %{_bindir}/gallina
-%attr(755,root,root) %{_bindir}/coq_makefile
 %attr(755,root,root) %{_bindir}/coqdoc
+%attr(755,root,root) %{_bindir}/coqide.byte
+%attr(755,root,root) %{_bindir}/coqide.opt
+%attr(755,root,root) %{_bindir}/coqmktop
+%attr(755,root,root) %{_bindir}/coqtop
+%attr(755,root,root) %{_bindir}/coqtop.byte
+%attr(755,root,root) %{_bindir}/coqtop.opt
 %attr(755,root,root) %{_bindir}/coqwc
-%attr(755,root,root) %{_bindir}/coq-tex
-%attr(755,root,root) %{_bindir}/coq-interface
-%attr(755,root,root) %{_bindir}/coq-interface.opt
+%attr(755,root,root) %{_bindir}/gallina
 %attr(755,root,root) %{_bindir}/parser
 %attr(755,root,root) %{_bindir}/parser.opt
 %dir %{_libdir}/coq
This page took 0.064072 seconds and 4 git commands to generate.