2005-04-21 14:41:28 +00:00
|
|
|
Name: cln
|
|
|
|
Version: 1.1.9
|
|
|
|
Release: 1
|
|
|
|
Summary: Class Library for Numbers
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: GPL
|
|
|
|
URL: http://www.ginac.de/CLN/
|
|
|
|
Source0: ftp://ftpthep.physik.uni-mainz.de/pub/gnu/%{name}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
Prereq: /sbin/install-info
|
2005-04-22 14:45:36 +00:00
|
|
|
BuildRequires: gmp-devel
|
2005-04-21 14:41:28 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A collection of C++ math classes and functions, which are designed for
|
|
|
|
memory and speed efficiency, and enable type safety and algebraic
|
|
|
|
syntax.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for programs using the CLN library
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
A collection of C++ math classes and functions, which are designed for
|
|
|
|
memory and speed efficiency, and enable type safety and algebraic
|
|
|
|
syntax.
|
|
|
|
|
|
|
|
This package is necessary if you wish to develop software based on
|
|
|
|
the CLN library.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
%makeinstall
|
2005-04-22 14:45:36 +00:00
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_docdir}/%{name}-devel-%{version}
|
|
|
|
mv ${RPM_BUILD_ROOT}%{_datadir}/dvi/cln.dvi ${RPM_BUILD_ROOT}%{_datadir}/html ${RPM_BUILD_ROOT}%{_docdir}/%{name}-devel-%{version}
|
2005-04-21 14:41:28 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
2005-04-22 14:45:36 +00:00
|
|
|
%post -p /sbin/ldconfig
|
2005-04-21 14:41:28 +00:00
|
|
|
|
2005-04-22 14:45:36 +00:00
|
|
|
%postun -p /sbin/ldconfig
|
2005-04-21 14:41:28 +00:00
|
|
|
|
|
|
|
%post devel
|
|
|
|
/sbin/install-info --section="Math" %{_infodir}/cln.info.gz %{_infodir}/dir
|
|
|
|
|
|
|
|
%preun devel
|
|
|
|
if [ "$1" = 0 ]; then
|
|
|
|
/sbin/install-info --delete %{_infodir}/cln.info.gz %{_infodir}/dir
|
|
|
|
fi
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING ChangeLog FILES NEWS README TODO*
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2005-04-22 14:45:36 +00:00
|
|
|
%{_docdir}/%{name}-devel-%{version}
|
2005-04-21 14:41:28 +00:00
|
|
|
%{_libdir}/*.a
|
|
|
|
%{_libdir}/*.la
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/cln.pc
|
2005-04-22 14:45:36 +00:00
|
|
|
%{_includedir}/cln/
|
2005-04-21 14:41:28 +00:00
|
|
|
%{_infodir}/*.info*
|
|
|
|
%{_mandir}/man1/cln-config.1*
|
|
|
|
%{_bindir}/cln-config
|
|
|
|
%{_datadir}/aclocal/cln.m4
|
|
|
|
|
|
|
|
%changelog
|
2005-04-22 14:45:36 +00:00
|
|
|
* Fri Apr 22 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-1
|
|
|
|
- Added gmp-devel in BuildRequires, fixes in %files
|
|
|
|
|
2005-04-21 14:41:28 +00:00
|
|
|
* Mon Mar 21 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-1
|
|
|
|
- Adapted spec file for Fedora Extras
|
|
|
|
|
|
|
|
* Thu Nov 20 2003 Christian Bauer <Christian.Bauer@uni-mainz.de>
|
|
|
|
Added pkg-config metadata file to devel package
|
|
|
|
|
|
|
|
* Wed Nov 6 2002 Christian Bauer <Christian.Bauer@uni-mainz.de>
|
|
|
|
Added HTML and DVI docs to devel package
|
|
|
|
|
|
|
|
* Tue Nov 5 2001 Christian Bauer <Christian.Bauer@uni-mainz.de>
|
|
|
|
Added Packager
|