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: 7313dc20608ddc5dcfdae4d2f9138762
10 Patch0: %{name}-info.patch
11 URL: http://www.ginac.de/CLN/
12 BuildRequires: autoconf >= 2.50
13 BuildRequires: automake
14 BuildRequires: gmp-devel >= 3.0
15 BuildRequires: libstdc++-devel
16 BuildRequires: libtool >= 2:1.5
17 BuildRequires: tetex-dvips
18 BuildRequires: tetex-fonts-latex
19 BuildRequires: tetex-format-plain
20 BuildRequires: tetex-metafont
21 BuildRequires: texinfo
22 BuildRequires: texinfo-texi2dvi
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 # won't work with -O0 because of static const initialization loops
28 %define debugcflags -O1 -g
31 A GPLed collection of C++ math classes and functions, that will bring
32 efficiency, type safety, algebraic syntax to everyone in a memory and
33 speed efficient library.
36 Objêty licencj± GPL zbiór klas i funkcji matematycznych C++ daj±cy
37 wydajno¶æ, bezpieczne typy i sk³adniê algebraiczn±.
40 Summary: Development files for programs using the CLN library
41 Summary(pl): Pliki do programowania z u¿yciem biblioteki CLN
42 Group: Development/Libraries
43 Requires: %{name} = %{version}-%{release}
44 Requires: gmp-devel >= 3.0
45 Requires: libstdc++-devel
46 Obsoletes: libcln2-devel
49 This package is necessary if you wish to develop software based on the
52 %description devel -l pl
53 Ten pakiet jest niezbêdny do tworzenia oprogramowania opartego na
57 Summary: Static CLN library
58 Summary(pl): Statyczna biblioteka CLN
59 Group: Development/Libraries
60 Requires: %{name}-devel = %{version}-%{release}
65 %description static -l pl
66 Statyczna biblioteka CLN.
82 rm -rf $RPM_BUILD_ROOT
83 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
86 DESTDIR=$RPM_BUILD_ROOT
88 install examples/{Makefile,*.cc} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
91 rm -rf $RPM_BUILD_ROOT
93 %post -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
97 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
100 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
103 %defattr(644,root,root,755)
104 %doc ChangeLog NEWS README TODO*
105 %attr(755,root,root) %{_libdir}/libcln.so.*.*.*
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_bindir}/cln-config
110 %attr(755,root,root) %{_libdir}/libcln.so
113 %{_mandir}/man1/cln-config.1*
114 %{_infodir}/cln.info*
115 %{_aclocaldir}/cln.m4
116 %{_pkgconfigdir}/cln.pc
117 %{_examplesdir}/%{name}-%{version}
120 %defattr(644,root,root,755)