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