blob: 3fd25c4231d4a0be75fc42f19593d8ec84567445 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
Name: coqide
Version: 8.0
Release: 2
Summary: The Coq Integrated Development Interface
Copyright: freely redistributable
Group: Applications/Math
Vendor: INRIA & LRI
URL: http://coq.inria.fr
Source: ftp://ftp.inria.fr/INRIA/coq/V8.0/coq-8.0.tar.gz
Icon: petit-coq.gif
Requires: coq = 8.0
BuildRoot: /var/tmp/coqide
%description
The Coq Integrated Development Interface is a graphical interface for the
Coq proof assistant
%define debug_package %{nil}
%prep
%setup -n coq-8.0
%build
./configure -bindir %{_bindir} -libdir %{_libdir}/coq -mandir %{_mandir} \
-emacslib %{_datadir}/emacs/site-lisp \
-coqdocdir %{_datadir}/texmf/tex/latex/misc -opt -reals all
make coqide
%clean
rm -rf %{buildroot}
make clean
%install
rm -rf %{buildroot}
make -e COQINSTALLPREFIX=%{buildroot} install-coqide
# menu entry
mkdir -p %{buildroot}%{_menudir}
cat > %{buildroot}%{_menudir}/CoqIDE << _EOF_
?package(CoqIDE): \
command="%{_bindir}/coqide" \
# icon="coqide.png" \ TODO add an icon
longtitle="The Coq Integrated Development Interface" \
needs="x11" \
section="Applications/Sciences/Mathematics" \
title="CoqIDE" \
startup_notify="yes"
_EOF_
%define __spec_install_post /usr/lib/rpm/brp-compress
%files
%defattr(-,root,root)
%{_menudir}/CoqIDE
%{_bindir}/*
%{_libdir}/coq/ide
|