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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
Summary: Proof General, Emacs interface for Proof Assistants
Name: ProofGeneral
Version: 2.0pre981211
Release: 1
Group: Applications/Editors/Emacs
Copyright: LFCS, University of Edinburgh
Url: http://www.dcs.ed.ac.uk/proofgen/
Packager: David Aspinall <da@dcs.ed.ac.uk>
# Older rpm doesn't have %{version}, frustratingly,
Source: http://www.dcs.ed.ac.uk/proofgen/ProofGeneral-2.0pre981211.tar.gz
BuildRoot: /tmp/ProofGeneral-root
Patch: ProofGeneral.patch
PreReq: /sbin/install-info
BuildArchitectures: noarch
%description
Proof General is a generic Emacs interface for proof assistants,
suitable for use by pacifists and Emacs militants alike.
It is supplied ready-customized for LEGO, Coq, and Isabelle.
You can adapt Proof General to other proof assistants if you know a
little bit of Emacs Lisp.
To use Proof General, add the line
(load-file "/usr/share/emacs/ProofGeneral/generic/proof-site.el")
to your .emacs file.
%changelog
* Thu Sep 24 1998 David Aspinall <da@dcs.ed.ac.uk>
First version.
%prep
%setup
%patch -p1
rm -f */*.orig
%build
%install
mkdir -p ${RPM_BUILD_ROOT}/usr/share/emacs/ProofGeneral
# Put binaries in proper place
mkdir -p ${RPM_BUILD_ROOT}/usr/bin
mv lego/legotags coq/coqtags ${RPM_BUILD_ROOT}/usr/bin
# Put info file in proper place.
mkdir -p ${RPM_BUILD_ROOT}/usr/info
mv doc/ProofGeneral.info ${RPM_BUILD_ROOT}/usr/info
gzip ${RPM_BUILD_ROOT}/usr/info/ProofGeneral.info
# Remove duff bits
rm -f doc/dir doc/localdir doc/ProofGeneral.texi
cp -pr coq lego isa images generic ${RPM_BUILD_ROOT}/usr/share/emacs/ProofGeneral
%clean
if [ "X" != "${RPM_BUILD_ROOT}X" ]; then
rm -rf $RPM_BUILD_ROOT
fi
%post
/sbin/install-info /usr/info/ProofGeneral.info.gz /usr/info/dir
%preun
/sbin/install-info --delete /usr/info/ProofGeneral.info.gz /usr/info/dir
%files
%attr(-,root,root) %doc BUGS INSTALL doc/*
%attr(-,root,root) /usr/info/ProofGeneral.info.gz
%attr(-,root,root) /usr/bin/coqtags
%attr(-,root,root) /usr/bin/legotags
%attr(0755,root,root) %dir /usr/share/emacs/ProofGeneral
%attr(0755,root,root) %dir /usr/share/emacs/ProofGeneral/coq
%attr(-,root,root) %dir /usr/share/emacs/ProofGeneral/coq/*
%attr(0755,root,root) %dir /usr/share/emacs/ProofGeneral/lego
%attr(-,root,root) %dir /usr/share/emacs/ProofGeneral/lego/*
%attr(0755,root,root) %dir /usr/share/emacs/ProofGeneral/isa
%attr(-,root,root) %dir /usr/share/emacs/ProofGeneral/isa/*
%attr(0755,root,root) %dir /usr/share/emacs/ProofGeneral/images
%attr(-,root,root) %dir /usr/share/emacs/ProofGeneral/images/*
%attr(0755,root,root) %dir /usr/share/emacs/ProofGeneral/generic
%attr(-,root,root) %dir /usr/share/emacs/ProofGeneral/generic/*
|