]> git.pld-linux.org Git - packages/why3.git/blame - why3.spec
- up to 0.87.3
[packages/why3.git] / why3.spec
CommitLineData
56491d8d
JR
1Summary: Software verification platform
2Name: why3
ab647362
JR
3Version: 0.87.3
4Release: 0.1
56491d8d
JR
5Group: Applications
6License: LGPLv2 with exceptions
ab647362
JR
7Source0: https://gforge.inria.fr/frs/download.php/36398/%{name}-%{version}.tar.gz
8# Source0-md5: ea24a4877ca09e2ec4fff19d5f4d35c6
56491d8d
JR
9URL: http://why3.lri.fr/
10BuildRequires: camlp5
b27c758f 11BuildRequires: coq >= 8.4
56491d8d
JR
12BuildRequires: evince
13BuildRequires: gtksourceview2-devel
14BuildRequires: ocaml
15BuildRequires: ocaml-findlib-devel
16BuildRequires: ocaml-graph-devel
6c13c319
JR
17BuildRequires: ocaml-lablgtk2-devel
18BuildRequires: ocaml-lablgtk2-gtksourceview2-devel
ab647362
JR
19BuildRequires: ocaml-menhir
20BuildRequires: ocaml-menhir-devel
56491d8d 21BuildRequires: ocaml-sqlite-devel
b27c758f 22BuildRequires: ocaml-zarith-devel
56491d8d
JR
23BuildRequires: rubber
24BuildRequires: sqlite3-devel
56491d8d
JR
25Requires: gtksourceview2
26%requires_eq ocaml-runtime
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30Why3 is the next generation of the Why software verification platform.
31Why3 clearly separates the purely logical specification part from
32generation of verification conditions for programs. It features a rich
33library of proof task transformations that can be chained to produce a
34suitable input for a large set of theorem provers, including SMT
35solvers, TPTP provers, as well as interactive proof assistants.
36
59fd71fc
JR
37%package examples
38Summary: Example problems for why3
39Group: Applications
40Requires: %{name} = %{version}-%{release}
41
42%description examples
43Example problems for why3.
44
56491d8d
JR
45%prep
46%setup -q
47
48%build
49%configure \
50 --enable-doc
51
52%{__make}
53
54%install
55rm -rf $RPM_BUILD_ROOT
59fd71fc 56install -d $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version}
56491d8d
JR
57
58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
60
61# Move the gtksourceview language file to the right place
62install -d $RPM_BUILD_ROOT%{_datadir}/gtksourceview-2.0
63mv $RPM_BUILD_ROOT%{_datadir}/%{name}/lang $RPM_BUILD_ROOT%{_datadir}/gtksourceview-2.0/language-specs
64
59fd71fc
JR
65cp -a examples/* $RPM_BUILD_ROOT/%{_examplesdir}/%{name}-%{version}
66
56491d8d
JR
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files
71%defattr(644,root,root,755)
72%doc LICENSE README doc/manual.pdf
73%attr(755,root,root) %{_bindir}/%{name}*
74%{_datadir}/%{name}
b27c758f 75%{_datadir}/gtksourceview-2.0/language-specs/why3.lang
14e36670
JR
76%dir %{_libdir}/%{name}
77%{_libdir}/%{name}/coq
78%{_libdir}/%{name}/coq-tactic
79%{_libdir}/%{name}/plugins
80%attr(755,root,root) %{_libdir}/%{name}/why3-call-pvs
81%attr(755,root,root) %{_libdir}/%{name}/why3-cpulimit
59fd71fc
JR
82
83%files examples
84%defattr(644,root,root,755)
85%{_examplesdir}/%{name}-%{version}
This page took 0.077227 seconds and 4 git commands to generate.