- finish update to 8.0pl2
[packages/coq.git] / coq.spec
1 Summary:        The Coq Proof Assistant
2 Summary(pl):    Coq - narzêdzie pomagaj±ce w udowadnianiu
3 Name:           coq
4 Version:        8.0pl2
5 Release:        1
6 License:        GPL
7 Group:          Applications/Math
8 Vendor:         INRIA Rocquencourt
9 Source0:        ftp://ftp.inria.fr/INRIA/coq/V%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5:  39ee0fed76e47a11de2f49e2c236ef79
11 Patch0:         coq-ocaml-3.07.patch
12 Icon:           petit-coq.gif
13 URL:            http://coq.inria.fr/
14 BuildRequires:  emacs
15 BuildRequires:  ocaml
16 BuildRequires:  ocaml-camlp4
17 BuildRequires:  ocaml-lablgtk-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Coq is a proof assistant which:
22  - allows to handle calculus assertions,
23  - check mechanically proofs of these assertions,
24  - helps to find formal proofs,
25  - extracts a certified program from the constructive proof of its
26    formal specification.
27
28 %description -l pl
29 Coq to narzêdzie pomagaj±ce w udowadnianiu, które:
30 - pozwala uporaæ siê z twierdzeniami dotycz±cymi rachunku
31   ró¿niczkowego,
32 - mechanicznie sprawdzaæ dowody tych twierdzeñ,
33 - pomagaæ w znalezieniu formalnych dowodów,
34 - wyci±gaæ program o dowiedzionej poprawno¶ci z konstruktywnego
35   dowodu jego formalnej specyfikacji.
36
37 %prep
38 %setup -q
39
40 %build
41 ./configure \
42         -bindir %{_bindir} \
43         -libdir %{_libdir}/coq \
44         -mandir %{_mandir} \
45         -emacs emacs \
46         -emacslib %{_datadir}/emacs/site-lisp \
47         -opt \
48         --coqdocdir %{_datadir}/texmf/tex/latex/misc \
49         -reals all      # Need ocamlc.opt and ocamlopt.opt 
50
51 %{__make} world check   # Use native coq to compile theories
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} -e install \
57         COQINSTALLPREFIX=$RPM_BUILD_ROOT/
58 # To install only locally the binaries compiled with absolute paths
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %attr(755,root,root) %{_bindir}/coqmktop
66 %attr(755,root,root) %{_bindir}/coqc
67 %attr(755,root,root) %{_bindir}/coqtop.byte
68 %attr(755,root,root) %{_bindir}/coqtop.opt
69 %attr(755,root,root) %{_bindir}/coqtop
70 %attr(755,root,root) %{_bindir}/coqdep
71 %attr(755,root,root) %{_bindir}/gallina
72 %attr(755,root,root) %{_bindir}/coq_makefile
73 %attr(755,root,root) %{_bindir}/coqdoc
74 %attr(755,root,root) %{_bindir}/coqwc
75 %attr(755,root,root) %{_bindir}/coq-tex
76 %attr(755,root,root) %{_bindir}/coq-interface
77 %attr(755,root,root) %{_bindir}/coq-interface.opt
78 %attr(755,root,root) %{_bindir}/parser
79 %attr(755,root,root) %{_bindir}/parser.opt
80 %dir %{_libdir}/coq
81 %{_libdir}/coq/*
82 %{_datadir}/emacs/site-lisp/coq.el
83 %{_datadir}/emacs/site-lisp/coq-inferior.el
84 %{_mandir}/man1/coq-tex.1*
85 %{_mandir}/man1/coqdep.1*
86 %{_mandir}/man1/gallina.1*
87 %{_mandir}/man1/coqc.1*
88 %{_mandir}/man1/coqtop.1*
89 %{_mandir}/man1/coqtop.byte.1*
90 %{_mandir}/man1/coqtop.opt.1*
91 %{_mandir}/man1/coq_makefile.1*
92 %{_mandir}/man1/coqmktop.1*
93 %{_mandir}/man1/coq-interface.1*
94 %{_mandir}/man1/parser.1*
95 %{_mandir}/man1/coqdoc.1*
96 %{_mandir}/man1/coqwc.1*
97 %{_datadir}/texmf/tex/latex/misc/coqdoc.sty
This page took 0.045441 seconds and 4 git commands to generate.