X-Git-Url: https://git.pld-linux.org/?p=packages%2Fcoq.git;a=blobdiff_plain;f=coq.spec;h=cbed65fd3b268ccfb820869f80050b03653f8c9c;hp=d3637af9286278d70c1211d5e3fabfa711d12a3c;hb=54bf5b31fd0a50d32e839678a7da58db7eda5015;hpb=680764bb92823c0b93706e4f55cbddd55f1cf06e diff --git a/coq.spec b/coq.spec index d3637af..cbed65f 100644 --- a/coq.spec +++ b/coq.spec @@ -1,27 +1,38 @@ -# This file has been generated from RH/coq.spec.tpl -# Do not edit +Summary: The Coq Proof Assistant +Summary(pl): Coq - narzêdzie pomagaj±ce w udowadnianiu Name: coq -Version: 7.4 +Version: 8.0pl2 Release: 1 -Summary: The Coq Proof Assistant License: GPL Group: Applications/Math Vendor: INRIA Rocquencourt -URL: http://coq.inria.fr -Source0: ftp://ftp.inria.fr/INRIA/coq/V7.4/%{name}-%{version}.tar.gz -# Source0-md5: 13ac61f150823e54ad84a9096e2dd646 +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 -BuildRequires: ocaml +URL: http://coq.inria.fr/ BuildRequires: emacs +BuildRequires: ocaml +BuildRequires: ocaml-camlp4 +BuildRequires: ocaml-lablgtk-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Coq is a proof assistant which: - - allows to handle calculus assertions, - - check mechanically proofs of these assertions, - - helps to find formal proofs, - - extracts a certified program from the constructive proof of its - formal specification, + - allows to handle calculus assertions, + - check mechanically proofs of these assertions, + - helps to find formal proofs, + - 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 + dowodu jego formalnej specyfikacji. %prep %setup -q @@ -34,13 +45,15 @@ Coq is a proof assistant which: -emacs emacs \ -emacslib %{_datadir}/emacs/site-lisp \ -opt \ - -reals all # Need ocamlc.opt and ocamlopt.opt + -reals all # Need ocamlc.opt and ocamlopt.opt -%{__make} world check # Use native coq to compile theories +%{__make} world check # Use native coq to compile theories %install rm -rf $RPM_BUILD_ROOT -%{__make} -e COQINSTALLPREFIX=$RPM_BUILD_ROOT/ install + +%{__make} -e install \ + COQINSTALLPREFIX=$RPM_BUILD_ROOT/ # To install only locally the binaries compiled with absolute paths %clean @@ -61,6 +74,9 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/coq-interface.opt %attr(755,root,root) %{_bindir}/parser %attr(755,root,root) %{_bindir}/coq_vo2xml +%dir %{_libdir}/coq +%dir %{_libdir}/coq/theories +%dir %{_libdir}/coq/theories/* %{_libdir}/coq/theories/Init/Datatypes.vo %{_libdir}/coq/theories/Init/DatatypesSyntax.vo %{_libdir}/coq/theories/Init/Peano.vo @@ -249,6 +265,8 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/coq/theories/Sorting/Permutation.vo %{_libdir}/coq/theories/Sorting/Sorting.vo %{_libdir}/coq/contrib/omega/Omega.vo +%dir %{_libdir}/coq/contrib +%dir %{_libdir}/coq/contrib/* %{_libdir}/coq/contrib/romega/ReflOmegaCore.vo %{_libdir}/coq/contrib/romega/ROmega.vo %{_libdir}/coq/contrib/ring/ArithRing.vo @@ -277,6 +295,7 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/coq/contrib/fourier/Fourier.vo %{_libdir}/coq/contrib/interface/Centaur.vo %{_libdir}/coq/contrib/cc/CC.vo +%dir %{_libdir}/coq/states %{_libdir}/coq/states/barestate.coq %{_libdir}/coq/states/initial.coq %{_datadir}/emacs/site-lisp/coq.el