2 %define version @CL_VERSION@
5 Summary: Class Library for Numbers
10 Group: System Environment/Libraries
11 Source: %{name}-%{version}.tar.gz
12 URL: http://clisp.cons.org/~haible/packages-cln.html
13 Prereq: /sbin/install-info
14 BuildRoot: %{_tmppath}/%{name}-root
18 A GPLed collection of math classes and functions, that will bring
19 efficiency, type safety, algebraic syntax to everyone in a memory
20 and speed efficient library.
23 Summary: Development files for programs using the CLN library
24 Group: Development/Libraries
25 Requires: %{name} = %{version}
28 This package is necessary if you wish to develop software based on
35 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS -fno-exceptions" ./configure --prefix=%{_prefix}
39 rm -rf ${RPM_BUILD_ROOT}
40 make prefix=%{_prefix} DESTDIR=${RPM_BUILD_ROOT} install
41 gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/cln.info*
44 rm -rf ${RPM_BUILD_ROOT}
53 /sbin/install-info %{_infodir}/cln.info.gz %{_infodir}/dir
57 /sbin/install-info --del %{_infodir}/cln.info.gz %{_infodir}/dir
62 %doc COPYING ChangeLog FILES NEWS README TODO*