-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathgaol.spec.in
81 lines (65 loc) · 2.1 KB
/
gaol.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
%define name @PACKAGE@
%define version @VERSION@
%define release @GAOL_RPM_RELEASE@
Summary: An interval arithmetic C++ library
Name: %{name}
Version: %{version}
Release: %{release}
License: GNU LGPL
Group: Sciences/Libraries
Vendor: Laboratoire d'Informatique de Nantes-Atlantique, France
#Provides: %{name} = %{version}-%{release}
Source0: %{name}-%{version}.tar.gz
URL: ftp://gaol.sf.net/gaol-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
Prefix: %{_prefix}
Requires: mathlib /sbin/ldconfig
Packager: Frederic Goualard <[email protected]>
%description
Gaol is a C++ library that offers an "interval" data type
to perform interval arithmetic. Its specificity is to implement
also "relational" interval arithmetic as needed by interval constraint
solvers.
See:
- Interval Analysis, Ramon E. Moore, Prentice Hall, 1966
- Introduction to Numerical Analysis, Arnold Neumaier,
Cambridge Univ. Press, 2001
- Interval Computation Homepage
(http://www.cs.utep.edu/interval-comp/main.html)
- Logical Arithmetic, John G. Cleary, Future Generation Computing
Systems 2(2):125-149
######################################################################
%prep
%setup -q
%build
%configure --enable-optimize
make
%install
rm -rf ${RPM_BUILD_ROOT}
%makeinstall
%clean
rm -rf ${RPM_BUILD_ROOT}
######################################################################
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
######################################################################
%files
%defattr(-,root,root)
%doc AUTHORS BUGS README TODO NEWS COPYING ChangeLog doc/gaol.pdf doc/html
#%doc %{_infodir}/gaol.info*
%{_libdir}/*.so*
%{_libdir}/*.a
%{_libdir}/*.la
%{_includedir}/gaol/*.h
%{_includedir}/gaol/gaol
%{_includedir}/gaol/sysdeps/*.h
%changelog
* Fri Jul 15 2005 Frederic Goualard <[email protected]> %{version}
- modified %post and %postun rules
* Thu Oct 14 2004 Frederic Goualard <[email protected]> %{version}
- changed the Vendor from IRIN to LINA
* Mon Aug 12 2002 Frederic Goualard <[email protected]> %{version}
- initial build
# end of file