Compare commits

...
This repository has been archived on 2026-09-10. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

113 commits

Author SHA1 Message Date
Jerry James
a8d84c45d4 Abandoned by upstream and fails to build from source 2020-03-30 08:51:13 -06:00
Fedora Release Engineering
4ea920bebe - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 03:41:17 +00:00
Jerry James
4d6840f782 Fix building with OCaml 4.10. 2020-01-23 21:25:20 -07:00
Jerry James
a55ef6338d Rebuild for apron 0.9.12. 2020-01-23 16:07:50 -07:00
Jerry James
219f4f021b OCaml 4.09.0 (final) rebuild. 2019-12-09 14:20:20 -07:00
Jerry James
ee09cbc085 Rebuild for why3 1.2.1. 2019-10-29 08:25:14 -06:00
Jerry James
81014a5a53 Rebuild for ocaml-mlgmpidl 1.2.11. 2019-10-11 09:02:30 -06:00
Jerry James
2ff5e9754d Rebuild for frama-c 19.1. 2019-09-23 09:16:09 -06:00
Jerry James
d626ea5898 Fix egregious date typo in the changelog. 2019-09-06 12:04:30 -06:00
Jerry James
d4041358df Rebuild for ocaml-zarith 1.9. 2019-09-06 12:02:05 -06:00
Jerry James
6aa1f91c4b Rebuild for frama-c 19.0. 2019-08-02 13:18:07 -06:00
Fedora Release Engineering
01dc32708f - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 03:27:05 +00:00
Jerry James
26b175fd32 Rebuild for coq 8.9.1, why3 1.2.0, and frama-c 18.0. 2019-06-05 20:08:47 -06:00
Fedora Release Engineering
1341b9c9ef - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 11:41:51 +00:00
Jerry James
6472c2a08f Welcome to 2019, Jerry. 2019-01-26 08:20:53 -07:00
Jerry James
e3863b543f New upstream release.
All patches have been upstreamed; drop them all.
2019-01-26 08:19:32 -07:00
Fedora Release Engineering
818c9b944e - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 08:49:51 +00:00
Jerry James
88002a4073 New upstream release.
Add -num patch to fix incomplete num to zarith conversion.
2018-02-12 20:20:06 -07:00
Fedora Release Engineering
88eb8b7a51 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 20:55:21 +00:00
d328121299 Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-18 22:48:54 +01:00
Jerry James
bfd7fd56a1 Bring back the -project patch, still needed (bz 1520483).
Add the -safe-string patch for building with ocaml 4.06.0.
Build the Jessie plugin with -runtime-variant _pic.
2017-12-09 16:07:42 -07:00
Richard W.M. Jones
9a8305d6c0 OCaml 4.06.0 rebuild. 2017-12-02 11:22:50 +00:00
Jerry James
84ade9ed59 Rebuild for why3 0.88.0. 2017-10-07 20:01:20 -06:00
Jerry James
19cbe099ea New upstream release. 2017-09-20 18:23:26 -06:00
Richard W.M. Jones
502e32209c OCaml 4.05.0 rebuild. 2017-09-06 19:30:58 +01:00
Fedora Release Engineering
62b51ec56f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 10:16:01 +00:00
Fedora Release Engineering
6d7c5cec99 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 21:35:53 +00:00
Richard W.M. Jones
b38be9d05d Rebuild for OCaml 4.04.2. 2017-07-01 22:55:03 +01:00
Richard W.M. Jones
e4380d336b Rebuild for OCaml 4.04.1. 2017-05-15 12:31:56 +01:00
Jerry James
8bf5f8b711 New upstream release. 2017-03-24 14:48:48 -06:00
Fedora Release Engineering
6ca41f2515 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 17:22:09 +00:00
Jerry James
9e92a04c75 New upstream release. 2017-01-12 22:02:20 -07:00
Jerry James
789026e7d9 Rebuild for gappalib-coq 1.3.2. 2016-12-01 12:02:46 -07:00
Richard W.M. Jones
d0e6b47f16 - Modify configure script to allow building with OCaml 4.04.
- Modify configure script to use octMPQ library (part of Apron).
2016-11-08 15:35:14 +00:00
Richard W.M. Jones
fd1a59230a Rebuild for OCaml 4.04.0. 2016-11-06 20:59:27 +00:00
Jerry James
c2bec65c9c Rebuild for coq 8.5pl3. Remove obsolete scriptlets. 2016-10-28 10:39:58 -06:00
Jerry James
8af8c0018b Rebuild for flocq 2.5.2 and gappalib-coq 1.3.1. 2016-09-29 19:37:45 -06:00
Jerry James
5e6572ac93 Rebuild for why3 0.87.2. 2016-09-02 09:20:42 -06:00
Jerry James
11ea9a2036 Rebuild for apron 0.9.11 and gappalib-coq 1.3.0. 2016-07-22 09:43:14 -06:00
Jerry James
6f1ec75cbd Rebuild for coq 8.5pl2. 2016-07-13 17:26:19 -06:00
Jerry James
7e3866afcc Rebuild for why3 0.87.1 and Frama-C Aluminium. 2016-06-01 19:54:34 -06:00
Jerry James
0d9d208aa7 Rebuild for coq 8.5pl1. 2016-04-22 09:46:02 -06:00
Jerry James
6700fb2b95 Rebuild for ocaml-ocamlgraph 1.8.7. 2016-04-16 22:11:50 -06:00
Jerry James
585077e275 Rebuild for why3 0.87.0. 2016-03-18 14:54:43 -06:00
Jerry James
c8058b5d9f Adapt to recent versions of apron. 2016-02-12 15:46:48 -07:00
Jerry James
0ccec25e66 Rebuild for coq 8.5, flocq 2.5.1, gappalib-coq 1.2.1, why3 0.86.3, and
Frama-C Magnesium.

Also:
- Use camlp4 in preference to camlp5.
- Drop cvc3 support.
- Update appdata for latest specification.
2016-02-12 09:03:09 -07:00
Fedora Release Engineering
ad116a2ac0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:01:15 +00:00
Jerry James
469e45c6aa Rebuild for flocq 2.5.0, gappalib-coq 1.2.0, and why3 0.86.2. 2015-10-14 21:20:46 -06:00
Richard W.M. Jones
b98809b6b9 OCaml 4.02.3 rebuild. 2015-07-30 13:30:11 +01:00
Jerry James
6d652c56f4 Rebuild for why3 0.86.1. 2015-06-22 14:21:26 -06:00
Richard W.M. Jones
c7d6158f02 Rebuild for ocaml-4.02.2. 2015-06-19 13:16:31 +01:00
Dennis Gilmore
060306ffb3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 02:24:19 +00:00
Jerry James
f945eb8f64 Rebuild for why3 0.86. 2015-05-16 17:31:14 -06:00
Jerry James
d5f50e91bf Rebuild for coq 8.4pl6. 2015-04-13 09:59:58 -06:00
Jerry James
932f9267c1 Adjust requires filter. 2015-04-01 12:18:42 -06:00
Jerry James
e031c5b41e New upstream release.
Drop upstreamed -flocq24 and -frama-c-sodium patches.
Drop all gwhy-related sources, as gwhy has been retired.
Merge (X)Emacs files into the main package due to change in policy.
2015-03-31 15:58:10 -06:00
Jerry James
f6eab8a269 Rebuild for Frama-C Sodium.
Also:
- Add -ocamlgraph186 patch to adapt to ocamlgraph 1.8.6.
- Add -frama-c-sodium patch to adapt to Frama-C Sodium.
2015-03-19 12:01:44 -06:00
Richard W.M. Jones
9dc6ba6d39 ocaml-4.02.1 rebuild. 2015-02-19 08:35:20 +00:00
Jerry James
405e2e843b Fix gwhy-2.33.patch (bz 1164470). 2014-11-15 14:19:02 -07:00
Richard W.M. Jones
8329d966f9 Bump and rebuild for broken dependencies. 2014-11-13 13:34:46 +00:00
Jerry James
7aa2f40ac0 Rebuild for coq 8.4pl5. 2014-10-30 19:47:58 -06:00
Jerry James
19dba4ac31 Rebuild for why3 0.85. 2014-09-18 13:13:44 -06:00
Jerry James
bee9f47474 Rebuild for fixed frama-c.
Fix license handling.
2014-09-08 13:31:21 -06:00
Jerry James
12489c73c5 Rebuild for the final ocaml 4.02.0 release. 2014-09-02 20:19:24 -06:00
Jerry James
2e20d721c7 ocaml-4.02.0+rc1 rebuild. 2014-08-25 17:18:14 -06:00
00fe48cd16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 08:34:44 +00:00
Jerry James
4e4054223f OCaml 4.02.0 beta rebuild.
BR emacs instead of emacs-nox, which no longer exists.
2014-08-04 22:04:47 -06:00
Jerry James
8ce80ce993 Omit "-z now" when building with relro (bz 1105265).
Resolve a conflict between Frama-C and why modules both named "Project".
2014-06-26 15:44:21 -06:00
Dennis Gilmore
7f0ff8ba20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 23:30:38 -05:00
Jerry James
ef3b4659b8 Rebuild for coq 8.4pl4. 2014-05-13 16:34:18 -06:00
Richard Hughes
a5e0dc99c4 Fix the License tag 2014-05-02 12:41:05 +01:00
Jerry James
eda916af25 Rebuild for ocamlgraph 1.8.5 and flocq 2.3.0.
Drop has_coq macro, since coq is now universally available.
Add -flocq23 patch to adapt to flocq 2.3.0.
2014-04-21 16:35:40 -06:00
Richard W.M. Jones
f8475527b4 Remove ocaml_arches macro (RHBZ#1087794). 2014-04-15 12:57:30 +01:00
Jerry James
cc2ede5275 Remove dropped patches.
Add icons.
Fix the desktop icon entries.
2014-03-24 18:47:16 -06:00
Jerry James
5665306fcc New upstream release.
Drop upstreamed -hashtbl, -flocq, and -or patches.
Add ocaml-findlib BR.
2014-03-18 13:21:31 -06:00
Jerry James
03ba744ac5 Rebuild for ocamlgraph 1.8.4.
Update desktop files.
Add AppData files for gwhy and jessie.
2014-02-26 10:47:08 -07:00
Jerry James
b6131f67e6 Rebuild for OCaml 4.01.0.
Enable debuginfo.
Add -or patch to fix warnings, since warnings are errors.
2013-09-17 22:09:23 -06:00
Jerry James
296ffe2562 Add patch to adapt to flocq 2.2.0. 2013-08-20 12:01:20 -06:00
Ville Skyttä
abb71eaed6 Install docs to %{_pkgdocdir} where available. 2013-07-27 19:23:56 +03:00
Jerry James
190a227280 Rebuild for frama-c Fluorine 20130601. 2013-06-21 13:55:54 -06:00
Jerry James
5da367a9e3 Rebuild for new frama-c and why3 builds. 2013-05-23 11:55:25 -06:00
Jerry James
0769332a32 New upstream release.
Drop upstreamed -warning, -coq84, and -ocaml4 patches.
Add -hashtbl patch.
Enable Jessie plugin again.
2013-05-14 16:14:50 -06:00
Parag Nemade
a566fd4c88 Fix files list 2013-02-09 22:44:30 +05:30
Parag Nemade
9550670ad1 Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077 2013-02-09 22:19:24 +05:30
Jerry James
8e6cc4625e Rebuild for alt-ergo 0.95. 2013-01-14 16:21:29 -07:00
Jerry James
08b14c72a5 Rebuild for coq 8.4pl1. 2013-01-07 13:31:02 -07:00
Jerry James
d625b7596e Recripple the Jessie plugin until it works with frama-c Oxygen. 2012-10-22 13:46:43 -06:00
Jerry James
ec564f1d1f Rebuild for OCaml 4.00.1 and frama-c Oxygen. 2012-10-19 16:09:04 -06:00
Jerry James
b3d24733fe Rebuild for new frama-c build with altered API. 2012-09-11 14:13:04 -06:00
Jerry James
6a0dc3090e Frama-c is fixed; rebuild with the Jessie plugin enabled and functioning. 2012-08-27 16:19:46 -06:00
Jerry James
b732eff318 Add -coq84 patches to adapt to Coq 8.4.
Cripple the Jessie plugin until problems with frama-c and hashtables are fixed.
2012-08-23 14:53:21 -06:00
Jerry James
e03b7a68c6 Add ocaml-mlgmpidl-devel and why3 BRs.
Add -warning and -ocaml4 patches to fix the build.
2012-08-22 17:28:12 -06:00
Jerry James
3e44fceec9 Fix a broken sed expression. 2012-07-30 21:32:45 -06:00
Jerry James
b0853faa69 Use the correct version of the patch. 2012-07-30 21:11:07 -06:00
Jerry James
06edd92de3 New upstream version.
Drop upstreamed patches.
2012-07-30 20:55:08 -06:00
Richard W.M. Jones
9497908b6a Rebuild for OCaml 4.00.0 official. 2012-07-30 08:39:16 +01:00
Dennis Gilmore
ff24587962 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 22:33:44 -05:00
Jerry James
690799dc3f Patch to work with flocq 2.0.0. 2012-01-11 15:47:54 -07:00
Jerry James
91ee4476af Rebuild for coq 8.3pl3. 2011-12-27 12:56:02 -07:00
Jerry James
9714017f13 Update alt_ergo and yices "okay" version numbers. 2011-12-06 09:06:42 -07:00
Jerry James
681e4023c1 It works better if you bump the release number. 2011-11-23 13:57:32 -07:00
Jerry James
7d0ca0e460 Rebuild with APRON and gappalib-coq support. 2011-11-23 13:56:43 -07:00
Jerry James
e52152d787 Attempt to fix failure of XEmacs while running PVS. 2011-10-28 14:03:24 -06:00
Jerry James
53fa042412 New upstream release. 2011-10-28 11:02:19 -06:00
Jerry James
d34c298577 Fix broken conditionals. 2011-07-14 11:35:56 -06:00
Jerry James
6fc19ee63f New upstream release (fixes FTBFS: bz 715902).
Remove unnecessary spec file elements (BuildRoot, etc.).
Update approach to filtering provides and requires.
Add has_pvs analogously to has_coq, and simplify macro usage.
Add (X)Emacs support packages.
New subpackage for the jessie plugin to avoid unowned directories and permit a
direct dependency on frama-c.
Prepare for the eventual availability of APRON.
2011-07-11 15:40:19 -06:00
Karsten Hopp
a6d2ac8f9d add ppc to excludearch, too. No pvs-sbcl available there 2011-04-14 11:12:13 +02:00
Karsten Hopp
c12f53988e add ppc64 to excludearch, no sbcl available there 2011-04-13 17:35:36 +02:00
Dennis Gilmore
823d312426 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 20:32:32 -06:00
Richard W.M. Jones
8df1e20e7d - Since 2.26 FTBFS, try latest upstream (2.28).
- Rebase Makefile.in patch.
- Fix(?) test result.
- No libdir/frama-c directory is created any more.
2011-01-21 18:43:31 +00:00
Richard W.M. Jones
cacf822e7c Bump and rebuild for OCaml 3.12. 2011-01-21 17:53:34 +00:00
David A. Wheeler
79306cd366 Update to version 2.26 2010-10-09 13:34:44 -04:00
Fedora Release Engineering
0ce224ac60 dist-git conversion 2010-07-29 15:18:17 +00:00
16 changed files with 1 additions and 5899 deletions

View file

@ -1,2 +0,0 @@
krakatoa.pdf
why-2.23.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: why
# $Id: Makefile,v 1.1 2008/08/04 18:32:10 kevin Exp $
NAME := why
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -1,8 +0,0 @@
Fedora why package:
Contains the main why executable and supporting tools.
Consider visiting the main Why site - http://why.lri.fr - for more
documentation. Also, there is more information about the tools
Caduceus and Krakatoa at http://caduceus.lri.fr and
http://krakatoa.lri.fr respectively.

View file

@ -1,6 +0,0 @@
Fedora why-coq package:
Contains libraries for interfacing why with Coq.
You shouldn't have to do anything extra - you should now just be able
to use the Coq-related capabilities of Why.

View file

@ -1,6 +0,0 @@
Fedora why-gwhy package:
Contains the gwhy GUI for Why.
Run gwhy with "gwhy <filename>". (If you forget and run without a
filename you'll be prompted for it.)

File diff suppressed because it is too large Load diff

1
dead.package Normal file
View file

@ -0,0 +1 @@
Abandoned by upstream and fails to build from source

View file

@ -1,53 +0,0 @@
--- why-2.23-old/bin/gwhy.sh 2010-01-04 21:08:50.401993553 -0500
+++ why-2.23/bin/gwhy.sh 2010-01-05 08:31:05.989807947 -0500
@@ -1,11 +1,17 @@
#!/bin/sh
-case $1 in
+if ! test $1; then
+file=`zenity --file-selection --title="Select the file you want to open with gwhy"`;
+else
+file=$1
+fi
+
+case $file in
*.java)
- b=`basename $1 .java`
- krakatoa $1 || exit 1
+ b=`basename $file .java`
+ krakatoa $file || exit 1
echo "krakatoa on $b.java done"
- d=`dirname $1`
+ d=`dirname $file`
echo "cd $d"
cd $d
jessie -locs $b.jloc -why-opt -split-user-conj $b.jc || exit 2
@@ -13,20 +19,23 @@
make -f $b.makefile gui
;;
*.c)
- b=`basename $1 .c`
- caduceus -why-opt -split-user-conj $1 || exit 1
+ b=`basename $file .c`
+ caduceus -why-opt -split-user-conj $b.c || exit 1
make -f $b.makefile gui
;;
*.jc)
- b=`basename $1 .jc`
+ b=`basename $file .jc`
jessie -why-opt -split-user-conj $b.jc || exit 1
make -f $b.makefile gui
;;
*.mlw|*.why)
- gwhy-bin -split-user-conj $1
+ gwhy-bin -split-user-conj $file
+ ;;
+ ?*)
+ echo "$file does not have file type extension recognized by gwhy"
;;
*)
- echo "don't know what to do with $1"
+ echo "gwhy needs the name of a file to inspect in order to run"
esac

Binary file not shown.

Before

Width:  |  Height:  |  Size: 972 B

View file

@ -1,8 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Name=gwhy
Comment=Examine and develop Why .why files
Exec=gwhy
Icon=ICON-LOCATION-BASE/gwhy-icon.png
Type=Application
Categories=Development;

View file

@ -1,4 +0,0 @@
why-2_14-2_fc9:HEAD:why-2.14-2.fc9.src.rpm:1217954050
why-2_17-1_fc11:HEAD:why-2.17-1.fc11.src.rpm:1230136029
why-2_17-4_fc10:HEAD:why-2.17-4.fc10.src.rpm:1249698515
why-2_23-1_fc12:HEAD:why-2.23-1.fc12.src.rpm:1262980547

View file

@ -1,4 +0,0 @@
logic min: int, int -> int
axiom min_ax: forall x,y:int. min(x,y) <= x
parameter r: int ref
let f (n:int) = {} r := min !r n { r <= r@ }

View file

@ -1,45 +0,0 @@
logic eq_unit : unit, unit -> prop
logic neq_unit : unit, unit -> prop
logic eq_bool : bool, bool -> prop
logic neq_bool : bool, bool -> prop
logic lt_int : int, int -> prop
logic le_int : int, int -> prop
logic gt_int : int, int -> prop
logic ge_int : int, int -> prop
logic eq_int : int, int -> prop
logic neq_int : int, int -> prop
logic add_int : int, int -> int
logic sub_int : int, int -> int
logic mul_int : int, int -> int
logic div_int : int, int -> int
logic mod_int : int, int -> int
logic neg_int : int -> int
predicate zwf_zero(a: int, b: int) = ((0 <= b) and (a < b))
logic min : int, int -> int
axiom min_ax: (forall x:int. (forall y:int. (min(x, y) <= x)))
goal f_po_1:
forall n:int.
forall r0:int.
forall r:int.
(r = min(r0, n)) ->
(r <= r0)

View file

@ -1,2 +0,0 @@
14563361a9427e58115825b4e782d23e krakatoa.pdf
8b8d8f6376e42c688521abf5d9f21a9c why-2.23.tar.gz

View file

@ -1,49 +0,0 @@
--- why-2.23-old/Makefile.in 2010-01-04 21:08:49.858843630 -0500
+++ why-2.23/Makefile.in 2010-01-05 20:34:20.912391080 -0500
@@ -650,14 +650,23 @@
bin/cadlog.opt: src/version.cmx c/cversion.cmx tools/cadlog.cmx
$(OCAMLOPT) unix.cmxa -o $@ $^
+ifeq ($(OCAMLBEST), opt)
+MAKE_FLOAT_MODEL = tools/make_float_model.opt
+else
+MAKE_FLOAT_MODEL = tools/make_float_model.byte
+endif
+
+tools/make_float_model.byte: tools/make_float_model.cmo
+ $(OCAMLC) -o $@ $^
+
tools/make_float_model.opt: tools/make_float_model.cmx
$(OCAMLOPT) -o $@ $^
-lib/why/double_model.why lib/why/double_strict.why: tools/make_float_model.opt
- tools/make_float_model.opt double 53 -1074
+lib/why/double_model.why lib/why/double_strict.why: $(MAKE_FLOAT_MODEL)
+ $(MAKE_FLOAT_MODEL) double 53 -1074
-lib/why/single_model.why lib/why/single_strict.why: tools/make_float_model.opt
- tools/make_float_model.opt single 24 -149
+lib/why/single_model.why lib/why/single_strict.why: $(MAKE_FLOAT_MODEL)
+ $(MAKE_FLOAT_MODEL) single 24 -149
static:: $(STATICBINARY)
@@ -842,15 +851,9 @@
cp -f $(V7FILES) $(LIBDIR)/why/coq7
cp -f $(VO7) $(LIBDIR)/why/coq7
install-coq-v8 install-coq-v8.1:
- if test -w $(COQLIB) ; then \
- mkdir -p $(COQLIB)/user-contrib ; \
- cp -f $(V8FILES) $(COQLIB)/user-contrib ; \
- cp -f $(VO8) $(COQLIB)/user-contrib ; \
- else \
- echo "Cannot copy to Coq standard library. Add $(LIBDIR)/why/coq to Coq include path." ;\
- mkdir -p $(LIBDIR)/why/coq ;\
- cp -f $(VO8) $(V8FILES) $(LIBDIR)/why/coq ;\
- fi
+ mkdir -p $(COQLIB)/user-contrib
+ cp -f $(V8FILES) $(COQLIB)/user-contrib
+ cp -f $(VO8) $(COQLIB)/user-contrib
install-pvs-no:
install-pvs-yes: $(PVSFILES)

333
why.spec
View file

@ -1,333 +0,0 @@
Name: why
Version: 2.23
Release: 2%{?dist}
Summary: Why software verification platform
Group: Applications/Engineering
License: GPLv2
URL: http://why.lri.fr/
Source0: http://why.lri.fr/download/why-%{version}.tar.gz
Source1: README.why-gwhy.Fedora
Source2: README.why-coq.Fedora
Source3: README.why
Source4: gwhy.desktop
Source5: gwhy-icon.png
Source6: min.mlw
Source7: min_why.why.result
Source8: http://caduceus.lri.fr/manual/caduceus.ps
Source9: http://krakatoa.lri.fr/manual/krakatoa.pdf
# The gwhy execution shell script is not particularly informative
# about when bad parameters are passed to it - this patch fixes that
# Upstream has been informed about this issue and a better fix is on
# their todo list
Patch0: gwhy-%{version}.patch
# This patch makes a Fedora-specific fix to eliminate checking for the
# location of Coq - since we're using the coq package, we know where
# it is and their checking causes the rpm building to fail
# It also makes a fix necessary to correctly build the bytecode only
# version of why by building the make_float_model tool correctly in
# this case.
Patch1: why-%{version}-Makefile.in.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ocaml >= 3.09, ocaml-camlp4-devel, gtk2-devel, ocaml-lablgtk-devel, desktop-file-utils, dos2unix, prelink
BuildRequires: ocaml-ocamlgraph-devel
BuildRequires: cvc3
ExcludeArch: sparc64 s390 s390x
%if 0%{?fedora} >= 11
# Doesn't seem to build on ppc64 for Fedora >= 11
# bz: 516317
ExcludeArch: ppc64
%endif
# No coq on ppc64 (any Fedora version) at the moment
%ifnarch ppc64
%global has_coq 1
%endif
%global __ocaml_requires_opts -i Ast -i Cc -i Error -i Logic -i Logic_decl -i Ptree -i Types
%description
Why is a software verification platform that applies formal proving
tools to annotated programs. It is currently capable of analysis of C
(through the included tool "Caduceus"), Java (through the included
tool "Krakatoa"), and potentially ML programs with some modification
into Why's own ML-like language. Furthermore, Why is capable of
analysis of any program that is mapped onto its own internal
language. It uses a weakest precondition involving calculus to
generate potential theorems necessary for the proof of a program's
correctness. It translates these theorems into formats that can be
used by external proof assistants (without any extra work, Coq, PVS,
HOL Light, Mizar are supported - having one is recommended and Coq is
packaged for Fedora) and automated theorem provers (without any extra
work, Simplify, Alt-Ergo, Yices, Z3, CVC Lite, Zenon are supported and
Zenon is packaged for Fedora) so that these results can be externally
proven, resulting in a proof of program correctness.
%package gwhy
Group: Applications/Engineering
Summary: IDE for Why software verification platform
Requires: why = %{version}, zenity
%description gwhy
Gwhy is an optional graphical user interface for the Why software
coordination platform. It assists in the coordination of dispatching
assertions that need to be proven to different theorem provers by
providing an interface to do this and also supports inspection of why
input files.
# No Coq for ppc64 -> certain subpackages can't be built, but main why can be
%if 0%{?has_coq} == 1
%package coq
Group: Applications/Engineering
Summary: Libraries for interfacing Coq with Why
Requires: why = %{version}
BuildRequires: coq
%description coq
This package contains a set of routines that assist in the
manipulation of why Coq-formatted output within Coq.
%endif
%prep
%setup -q
%patch0 -p1
%patch1 -p1
cp %SOURCE1 %SOURCE2 %SOURCE3 %SOURCE4 %SOURCE5 %SOURCE6 %SOURCE7 %SOURCE8 %SOURCE9 .
%build
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
# Native ocaml builds do not seem to work on ppc64 (many packages have
# this problem)
%ifarch ppc64
%global opt 0
%endif
# It seems that we should not be creating debuginfo regardless of
# whether we have opt or not, as debuginfo is not particularly useful
# for OCaml programs
# If we have opt, as this has a dependency on ocaml, we should have ocamlopt.opt
%global debug_package %{nil}
%if ! %{opt}
%global opt_option OCAMLBEST=byte OCAMLC=ocamlc OCAMLDEP=ocamldep OCAMLYACC=ocamlyacc OCAMLLEX=ocamllex
%else
%global opt_option OCAMLBEST=opt OCAMLOPT=ocamlopt.opt
%endif
# We actually want to install library files into a non /usr/lib
# directory as they aren't architecture dependent
./configure --prefix=%{_prefix} --bindir=%{_bindir} --libdir=%{_datadir} --mandir=%{_mandir} \
%{!?has_coq: COQC=no}
make %{opt_option}
# Remove unnecessary execstack permissions
%if %opt
execstack -c bin/*.opt bin/why-cpulimit
%endif
# Strip binaries (Makefile misses some of them, and don't want to add an extra patch)
strip bin/why-cpulimit
%if %opt
strip bin/*.opt
%endif
%check
%if %opt
%global why bin/why.opt
%else
%global why bin/why.byte
%endif
export WHYLIB=lib
%why --why --output min min.mlw
unset WHYLIB
diff min_why.why min_why.why.result > /dev/null
%install
rm -rf %{buildroot}
make %{opt_option} BINDIR=%{buildroot}%{_bindir} LIBDIR=%{buildroot}%{_datadir} MANDIR=%{buildroot}%{_mandir} \
%{?has_coq: COQLIB=%{buildroot}%{_datadir}/coq} install
# Fix a small bug in their Makefile: if no Coq, NO .v files should be installed
%if 0%{?has_coq} != 1
rm -f `find %{buildroot}%{_datadir}/coq -name '*.v'`
%endif
# Install desktop icon and menu entry
%global why_data_dir %{_datadir}/why
%if %(test -d %{buildroot}%{why_data_dir} && echo 1 || echo 0) != 1
mkdir -p %{buildroot}%{why_data_dir}
%endif
cp gwhy-icon.png %{buildroot}%{why_data_dir}
sed -i -e 's|ICON-LOCATION-BASE|%{why_data_dir}|' gwhy.desktop
desktop-file-install --vendor="fedora" \
--dir=%{buildroot}%{_datadir}/applications \
gwhy.desktop
%global why_doc_dir %{_defaultdocdir}/%{name}-%{version}/
%global why_examples_dir %{why_doc_dir}examples/
%global fix_encoding() dos2unix %1; mv %1 %1.old; \
iconv -f ISO-8859-1 -t UTF-8 < %1.old > %1; rm %1.old \
%{nil}
# Fix up documentation and examples
mkdir -p %{buildroot}%{why_examples_dir}mlw/
mkdir -p %{buildroot}%{why_examples_dir}c/
cp -p doc/manual.ps %{buildroot}%{why_doc_dir}why-manual.ps
%fix_encoding COPYING
cp -p caduceus.ps krakatoa.pdf README.why COPYING LICENSE %{buildroot}%{why_doc_dir}
# Copy in the example files after converting to proper UTF-8, fix line
# encodings, leaving behind all generated files
cd examples
for d in `find -mindepth 1 -maxdepth 1 -type d`; do
mkdir -p %{buildroot}%{why_examples_dir}mlw/$d
done
for f in `find -regex '.*\(\.mlw\|\.why\)' | egrep -v '_inv|_coq|_why'`; do
%fix_encoding $f
cp -p $f %{buildroot}%{why_examples_dir}mlw/$f
done
cd ../examples-c
for d in `find -mindepth 1 -maxdepth 1 -type d`; do
mkdir -p %{buildroot}%{why_examples_dir}c/$d
done
for f in `find -regex '.*\.c'`; do
%fix_encoding $f
cp -p $f %{buildroot}%{why_examples_dir}c/$f
done
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
# Binaries
%{_bindir}/*
%exclude %{_bindir}/gwhy*
# Data for programs
%{why_data_dir}
%exclude %{why_data_dir}/gwhy-icon.png
%{_datadir}/caduceus
%{_datadir}/jessie
# % {_datadir}/krakatoa
%exclude %{_datadir}/jessie/jc.cmo
%if %opt
%exclude %{_datadir}/jessie/jc.cmx
%exclude %{_datadir}/jessie/jc.o
%endif
# Man page
%{_mandir}/man1/why.1.gz
# Documentation and examples
%{why_doc_dir}
# This last example is really an example only for Coq - only .v files
%exclude %{why_examples_dir}mlw/string-matching/
%files gwhy
%defattr(-,root,root,-)
%{_bindir}/gwhy
%{_bindir}/gwhy-bin
%dir %{why_data_dir}
%doc README.why-gwhy.Fedora
%{why_data_dir}/gwhy-icon.png
%{_datadir}/applications/fedora-gwhy.desktop
%if 0%{?has_coq} == 1
%files coq
%defattr(-,root,root,-)
%dir %{_datadir}/coq
%dir %{_datadir}/coq/user-contrib
%{_datadir}/coq/user-contrib/Why*
# % exclude % {_datadir}/coq/user-contrib/Why*.v
%{_datadir}/coq/user-contrib/caduceus*
# % exclude % {_datadir}/coq/user-contrib/caduceus*.v
%{_datadir}/coq/user-contrib/Caduceus.v*
# % exclude % {_datadir}/coq/user-contrib/Caduceus.v
%{_datadir}/coq/user-contrib/jessie_why.v*
# % exclude % {_datadir}/coq/user-contrib/jessie_why.v
%{_datadir}/coq/jessie_why.v*
%doc README.why-coq.Fedora
%endif
%changelog
* Mon Jan 11 2010 Richard W.M. Jones <rjones@gmail.com> - 2.23-2
- Rebuild to fix dependencies.
* Fri Jan 08 2010 Alan Dunn <amdunn@gmail.com> - 2.23-1
- Upgrade to upstream version 2.23
- Move execstack fixing to spec file from patch
- Moved patch descriptions to initial patch declaration as in examples
in Fedora documentation
- New Caduceus, Krakatoa documentation
- Update test result from small test min.mlw
- Added CVC3 interfacing capabilities
- Removed patch for gwhy configuration, as there is a new mechanism for this
* Tue Sep 22 2009 Dennis Gilmore <dennis@ausil.us> - 2.17-5
- Exclude sparc64 s390 s390x there is no ocaml there
* Fri Aug 07 2009 Alan Dunn <amdunn@gmail.com> - 2.17-4
- Removed now irrelevant check for no OCaml in Fedora < 9 (those
distributions are EOL)
- Changed ExcludeArch to proper Fedora versions
- Builds coq subpackage exactly when Coq can be built, thus making
build independent of whether Coq can be built
- define -> global
- Fixed accidental use of in tar ocamlgraph instead of one that is
separately packaged
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Dec 24 2008 Alan Dunn <amdunn@gmail.com> 2.17-1
- Upgrade to version 2.17 (bz: 477790)
- Add ownership of two directories common with Coq, but neither program requires the other (bz: 474016)
- Minor filename change in 2.17 (GPL -> LICENSE)
- Added back Coq .v files to match policy for Coq
- Changed directory structure re: jessie and krakatoa to match new structure in 2.17
- Minor changes to patches to ensure they still work in 2.17
- Corrected package location gwhy-icon.png (should only be in gwhy)
* Tue Aug 5 2008 Alan Dunn <amdunn@gmail.com> 2.14-2.1
- ExcludeArch ppc64 on Fedora 8 due to no ocaml.
* Fri Aug 1 2008 Alan Dunn <amdunn@gmail.com> 2.14-2
- Fixed minor issues in response to package review:
- Inclusion of COPYING, GPL license-related files
- Added config.mll patch to make default config file created nicer
- Changes subpackage dependencies to be fully versioned.
- Makes during build allowed to be noisy (allowed to print).
* Wed Jul 30 2008 Alan Dunn <amdunn@gmail.com> 2.14-1
- Changed to new version of why, removed previous why-cpulimit name
change, zenon output format patches as the issues were fixed in
why 2.14.
- Moved doc subpackage back into main package.
- Added example files to documentation subpackage.
- Added check section with test on small why file.
- Reformatted some macro names for greater readability.
* Thu Jul 24 2008 Alan Dunn <amdunn@gmail.com> 2.13-2
- Added several patches: fixed Zenon output, completed fix of rename
of cpulimit -> why-cpulimit.
* Wed Jul 23 2008 Alan Dunn <amdunn@gmail.com> 2.13-1
- Initial Fedora RPM version.