summaryrefslogtreecommitdiff
path: root/libs/cassowary/cassowary-nofd.spec2
diff options
context:
space:
mode:
Diffstat (limited to 'libs/cassowary/cassowary-nofd.spec2')
-rw-r--r--libs/cassowary/cassowary-nofd.spec284
1 files changed, 84 insertions, 0 deletions
diff --git a/libs/cassowary/cassowary-nofd.spec2 b/libs/cassowary/cassowary-nofd.spec2
new file mode 100644
index 0000000000..d1abb93c5f
--- /dev/null
+++ b/libs/cassowary/cassowary-nofd.spec2
@@ -0,0 +1,84 @@
+# Note that this is NOT a relocatable package
+%define ver 0.60
+%define rel 2
+%define prefix /usr
+
+Name: cassowary-nofd
+Summary: A Linear Arithmetic Constraint Solving Library.
+Version: %ver
+Release: %rel
+# This source just has a different top-level directory name
+Source: http://www.cs.washington.edu/research/constraints/cassowary/cassowary-nofd-%ver.tar.gz
+Group: Development/Libraries
+BuildRoot: /tmp/cassowary-%ver-build
+Copyright: Copyright (C) 1998,1999 Greg J. Badros
+Packager: Greg J. Badros <gjb@cs.washington.edu>
+URL: http://www.cs.washington.edu/research/constraints/cassowary
+Requires: guile >= 1.3.2
+Provides: cassowary-constraint-solver
+
+%description
+
+Cassowary is an advanced incremental constraint solving toolkit that
+efficiently solves systems of linear equalities and inequalities.
+Constraints may be either requirements or preferences. Client code
+specifies the constraints to be maintained, and the solver updates the
+constrained variables to have values that satisfy the constraints.
+
+This package lacks the finite domain subsolver. The cassowary RPM
+contains that solver as well, but also requires the GTL (Graph
+Template Library) package.
+
+
+%changelog
+* Tue Sep 7 1999 Greg J. Badros <gjb@cs.washington.edu)
+- Added cassowary-nofd package to remove GTL dependence, added provides
+ virtual package "cassowary-constraint-solver" so that both this .spec
+ and cassowary.spec can provide it
+
+* Sat Sep 4 1999 Greg J. Badros <gjb@cs.washington.edu)
+- Use -fpermissive if it is available, fix --enable-warnings
+
+* Wed Aug 25 1999 Greg J. Badros <gjb@cs.washington.edu>
+- Rework spec file.
+
+* Wed Apr 14 1999 Greg J. Badros <gjb@cs.washington.edu>
+
+- Initial release of this package.
+
+%prep
+
+%setup
+
+%build
+ln -sf . ./c++/cassowary
+
+%ifarch alpha
+./configure --host=alpha-linux --prefix=%prefix --enable-guile-build --enable-fsstd --enable-permissive
+%else
+./configure --prefix=%prefix --enable-guile-build --enable-fsstd --enable-permissive
+%endif
+
+make
+
+%install
+make prefix=$RPM_BUILD_ROOT%{prefix} install-strip
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+
+%postun
+
+%files
+%defattr(-, root, root)
+
+%{prefix}/bin/*
+%{prefix}/lib/*
+%{prefix}/include/*
+
+%doc ANNOUNCE AUTHORS COPYING IMPORTANT INSTALL LICENSE NEWS README THANKS
+%doc ChangeLog docs/cassowary-tr.pdf docs/cassowary-tr.ps.gz
+%doc guile/cassowary_scm-procedures.txt guile/cassowary_scm-variables.txt
+%doc guile/cassowary_scm.sgml