1 Summary: C++ Class Library for Numbers
2 Summary(pl.UTF-8): Biblioteka klas C++ dla liczb
8 Source0: ftp://ftpthep.physik.uni-mainz.de/pub/gnu/%{name}-%{version}.tar.bz2
9 # Source0-md5: ede584cb1cafa66d56f42a3cf420469d
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: texconfig
22 BuildRequires: texinfo
23 BuildRequires: texinfo-texi2dvi
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 # won't work with -O0 because of static const initialization loops
29 %define debugcflags -O1 -g
32 A GPLed collection of C++ math classes and functions, that will bring
33 efficiency, type safety, algebraic syntax to everyone in a memory and
34 speed efficient library.
36 %description -l pl.UTF-8
37 Objęty licencją GPL zbiór klas i funkcji matematycznych C++ dający
38 wydajność, bezpieczne typy i składnię algebraiczną.
41 Summary: Development files for programs using the CLN library
42 Summary(pl.UTF-8): Pliki do programowania z użyciem biblioteki CLN
43 Group: Development/Libraries
44 Requires: %{name} = %{version}-%{release}
45 Requires: gmp-devel >= 3.0
46 Requires: libstdc++-devel
47 Obsoletes: libcln2-devel
50 This package is necessary if you wish to develop software based on the
53 %description devel -l pl.UTF-8
54 Ten pakiet jest niezbędny do tworzenia oprogramowania opartego na
58 Summary: Static CLN library
59 Summary(pl.UTF-8): Statyczna biblioteka CLN
60 Group: Development/Libraries
61 Requires: %{name}-devel = %{version}-%{release}
66 %description static -l pl.UTF-8
67 Statyczna biblioteka CLN.
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
87 DESTDIR=$RPM_BUILD_ROOT
89 install examples/{Makefile,*.cc} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
92 rm -rf $RPM_BUILD_ROOT
94 %post -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
97 %post devel -p /sbin/postshell
98 -/usr/sbin/fix-info-dir -c %{_infodir}
100 %postun devel -p /sbin/postshell
101 -/usr/sbin/fix-info-dir -c %{_infodir}
104 %defattr(644,root,root,755)
105 %doc ChangeLog NEWS README TODO*
106 %attr(755,root,root) %{_libdir}/libcln.so.*.*.*
107 %attr(755,root,root) %ghost %{_libdir}/libcln.so.6
110 %defattr(644,root,root,755)
111 %attr(755,root,root) %{_libdir}/libcln.so
114 %{_infodir}/cln.info*
115 %{_pkgconfigdir}/cln.pc
116 %{_examplesdir}/%{name}-%{version}
119 %defattr(644,root,root,755)