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