Merging from trunk
[ardour.git] / libs / cassowary / cassowary.spec.in
1 # Note that this is NOT a relocatable package
2 %define ver @VERSION@
3 %define rel 1
4 %define prefix /usr
5
6 Name: cassowary
7 Summary: A Linear Arithmetic Constraint Solving Library.
8 Version: %ver
9 Release: %rel
10 Source: http://www.cs.washington.edu/research/constraints/cassowary/cassowary-%ver.tar.gz
11 Group: Development/Libraries
12 BuildRoot: /tmp/cassowary-%ver-build
13 Copyright: Copyright (C) 1998,1999 Greg J. Badros
14 Packager: Greg J. Badros <gjb@cs.washington.edu>
15 URL: http://www.cs.washington.edu/research/constraints/cassowary
16 Requires: guile >= 1.3.4
17 Requires: GTL >= 0.3.1
18 Provides: cassowary-constraint-solver
19
20 %description
21
22 Cassowary is an advanced incremental constraint solving toolkit that
23 efficiently solves systems of linear equalities and inequalities.
24 Constraints may be either requirements or preferences.  Client code
25 specifies the constraints to be maintained, and the solver updates the
26 constrained variables to have values that satisfy the constraints.
27
28 %changelog
29 * Tue Sep 7 1999 Greg J. Badros <gjb@cs.washington.edu)
30 - added provides virtual package "cassowary-constraint-solver" so that
31   both this .spec and cassowary.spec can provide it
32
33 * Sat Sep 4 1999 Greg J. Badros <gjb@cs.washington.edu)
34 - Use -fpermissive if it is available, fix --enable-warnings
35
36 * Wed Aug 25 1999 Greg J. Badros <gjb@cs.washington.edu>
37 - Rework spec file.
38
39 * Wed Apr 14 1999 Greg J. Badros <gjb@cs.washington.edu>
40
41 - Initial release of this package.
42
43 %prep
44
45 %setup
46
47 %build
48 ln -sf . ./c++/cassowary
49
50 %ifarch alpha
51 fake_root_for_install=$RPM_BUILD_ROOT ./configure --host=alpha-linux --prefix=%prefix --with-gtl=%prefix --enable-fd-solver --enable-fsstd --enable-permissive
52 %else
53 fake_root_for_install=$RPM_BUILD_ROOT ./configure --prefix=%prefix --with-gtl=%prefix --enable-fd-solver --enable-fsstd --enable-permissive
54 %endif
55
56 make
57
58 %install
59 make prefix=$RPM_BUILD_ROOT%{prefix} fake_root_for_install=$RPM_BUILD_ROOT install-strip
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %post
65
66 %postun
67
68 %files
69 %defattr(-, root, root)
70
71 %{prefix}/bin/*
72 %{prefix}/lib/*
73 %{prefix}/include/*
74
75 %doc ANNOUNCE AUTHORS COPYING IMPORTANT INSTALL LICENSE NEWS README THANKS
76 %doc ChangeLog docs/cassowary-tr.pdf docs/cassowary-tr.ps.gz
77 %doc guile/cassowary_scm-procedures.txt guile/cassowary_scm-variables.txt
78 %doc guile/cassowary_scm.sgml