1 Summary: C++ Class Library for Numbers
2 Summary(pl): Biblioteka klas C++ dla liczb
8 Source0: ftp://ftpthep.physik.uni-mainz.de/pub/gnu/%{name}-%{version}.tar.bz2
9 # Source0-md5: 76fbeeeeac1559e482b404b4674915e2
10 Patch0: %{name}-info.patch
11 Patch1: %{name}-link.patch
12 URL: http://www.ginac.de/CLN/
13 BuildRequires: autoconf >= 2.50
14 BuildRequires: automake
15 BuildRequires: gmp-devel >= 3.0
16 BuildRequires: libstdc++-devel
17 BuildRequires: libtool >= 2:1.5
18 BuildRequires: texinfo
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 # won't work with -O0 because of static const initialization loops
24 %define debugcflags -O1 -g
27 A GPLed collection of C++ math classes and functions, that will bring
28 efficiency, type safety, algebraic syntax to everyone in a memory and
29 speed efficient library.
32 Objêty licencj± GPL zbiór klas i funkcji matematycznych C++ daj±cy
33 wydajno¶æ, bezpieczne typy i sk³adniê algebraiczn±.
36 Summary: Development files for programs using the CLN library
37 Summary(pl): Pliki do programowania z u¿yciem biblioteki CLN
38 Group: Development/Libraries
39 Requires: %{name} = %{version}-%{release}
40 Requires: gmp-devel >= 3.0
41 Requires: libstdc++-devel
42 Obsoletes: libcln2-devel
45 This package is necessary if you wish to develop software based on the
48 %description devel -l pl
49 Ten pakiet jest niezbêdny do tworzenia oprogramowania opartego na
53 Summary: Static CLN library
54 Summary(pl): Statyczna biblioteka CLN
55 Group: Development/Libraries
56 Requires: %{name}-devel = %{version}-%{release}
61 %description static -l pl
62 Statyczna biblioteka CLN.
69 # kill m4/libtool.m4 inclusion
70 head -n 871 autoconf/aclocal.m4 > acinclude.m4
80 rm -rf $RPM_BUILD_ROOT
81 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
84 DESTDIR=$RPM_BUILD_ROOT
86 install examples/{Makefile,*.cc} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
89 rm -rf $RPM_BUILD_ROOT
91 %post -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
95 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
98 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
101 %defattr(644,root,root,755)
102 %doc ChangeLog NEWS README TODO*
103 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
106 %defattr(644,root,root,755)
107 %attr(755,root,root) %{_bindir}/cln-config
108 %attr(755,root,root) %{_libdir}/lib*.so
111 %{_mandir}/man1/cln-config.1*
114 %{_pkgconfigdir}/*.pc
115 %{_examplesdir}/%{name}-%{version}
118 %defattr(644,root,root,755)