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: b4a0ab4415281d2143edd44f2c8de136
10 URL: http://www.ginac.de/CLN/
11 BuildRequires: automake
12 BuildRequires: gmp-devel
13 BuildRequires: libstdc++-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 A GPLed collection of C++ math classes and functions, that will bring
19 efficiency, type safety, algebraic syntax to everyone in a memory and
20 speed efficient library.
23 Objêty licencj± GPL zbiór klas i funkcji matematycznych C++ daj±cy
24 wydajno¶æ, bezpieczne typy i sk³adniê algebraiczn±.
27 Summary: Development files for programs using the CLN library
28 Summary(pl): Pliki do programowania z u¿yciem biblioteki CLN
29 Group: Development/Libraries
30 Requires: %{name} = %{version}-%{release}
31 Obsoletes: libcln2-devel
34 This package is necessary if you wish to develop software based on the
37 %description devel -l pl
38 Ten pakiet jest niezbêdny do tworzenia oprogramowania opartego na
42 Summary: Static CLN library
43 Summary(pl): Statyczna biblioteka CLN
44 Group: Development/Libraries
45 Requires: %{name}-devel = %{version}-%{release}
50 %description static -l pl
51 Statyczna biblioteka CLN.
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
65 DESTDIR=$RPM_BUILD_ROOT
67 install examples/{Makefile,*.cc} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
70 rm -rf $RPM_BUILD_ROOT
72 %post -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
76 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
79 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
82 %defattr(644,root,root,755)
83 %doc ChangeLog NEWS README TODO*
84 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_bindir}/cln-config
89 %attr(755,root,root) %{_libdir}/lib*.so
92 %{_mandir}/man1/cln-config.1*
96 %{_examplesdir}/%{name}-%{version}
99 %defattr(644,root,root,755)