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