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