[packages/why3] - new

baggins baggins at pld-linux.org
Tue May 14 13:35:56 CEST 2013


commit 56491d8d367a9122870700a095188ce85bc1f977
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue May 14 13:35:41 2013 +0200

    - new

 why3.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)
---
diff --git a/why3.spec b/why3.spec
new file mode 100644
index 0000000..5802a08
--- /dev/null
+++ b/why3.spec
@@ -0,0 +1,63 @@
+Summary:	Software verification platform
+Name:		why3
+Version:	0.73
+Release:	1
+Group:		Applications
+License:	LGPLv2 with exceptions
+Source0:	https://gforge.inria.fr/frs/download.php/31257/%{name}-%{version}.tar.gz
+# Source0-md5:	8994f147b7fc4084da46e81693e044bb
+URL:		http://why3.lri.fr/
+BuildRequires:	camlp5
+BuildRequires:	coq
+BuildRequires:	emacs
+BuildRequires:	evince
+BuildRequires:	gtksourceview2-devel
+BuildRequires:	ocaml
+BuildRequires:	ocaml-findlib-devel
+BuildRequires:	ocaml-graph-devel
+BuildRequires:	ocaml-lablgtk-devel
+BuildRequires:	ocaml-sqlite-devel
+BuildRequires:	rubber
+BuildRequires:	sqlite3-devel
+BuildRequires:	xemacs
+Requires:	gtksourceview2
+%requires_eq	ocaml-runtime
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Why3 is the next generation of the Why software verification platform.
+Why3 clearly separates the purely logical specification part from
+generation of verification conditions for programs. It features a rich
+library of proof task transformations that can be chained to produce a
+suitable input for a large set of theorem provers, including SMT
+solvers, TPTP provers, as well as interactive proof assistants.
+
+%prep
+%setup -q
+
+%build
+%configure \
+	--enable-doc
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# Move the gtksourceview language file to the right place
+install -d $RPM_BUILD_ROOT%{_datadir}/gtksourceview-2.0
+mv $RPM_BUILD_ROOT%{_datadir}/%{name}/lang $RPM_BUILD_ROOT%{_datadir}/gtksourceview-2.0/language-specs
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README doc/manual.pdf
+%attr(755,root,root) %{_bindir}/%{name}*
+%{_datadir}/%{name}
+%{_datadir}/gtksourceview-2.0/language-specs/why.lang
+%{_libdir}/%{name}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/why3.git/commitdiff/56491d8d367a9122870700a095188ce85bc1f977



More information about the pld-cvs-commit mailing list