2005-04-21 14:41:28 +00:00
|
|
|
Name: cln
|
2006-08-17 20:21:08 +00:00
|
|
|
Version: 1.1.13
|
|
|
|
Release: 1%{?dist}
|
2005-04-21 14:41:28 +00:00
|
|
|
Summary: Class Library for Numbers
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: GPL
|
|
|
|
URL: http://www.ginac.de/CLN/
|
2006-01-16 21:40:26 +00:00
|
|
|
Source0: http://www.ginac.de/CLN/%{name}-%{version}.tar.bz2
|
2005-04-21 14:41:28 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2005-04-22 16:41:45 +00:00
|
|
|
Requires(post): /sbin/install-info
|
|
|
|
Requires(preun): /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
|
2005-05-27 11:01:22 +00:00
|
|
|
Requires: %{name} = %{version}-%{release} gmp-devel
|
2005-04-21 14:41:28 +00:00
|
|
|
|
|
|
|
%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
|
2006-02-13 18:21:37 +00:00
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
2005-05-11 20:33:08 +00:00
|
|
|
|
2005-04-21 14:41:28 +00:00
|
|
|
%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}
|
2006-02-13 17:41:50 +00:00
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
|
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
|
2005-04-22 16:41:45 +00:00
|
|
|
/sbin/install-info --section="Math" %{_infodir}/cln.info.gz %{_infodir}/dir 2>/dev/null || :
|
2005-04-21 14:41:28 +00:00
|
|
|
|
|
|
|
%preun devel
|
|
|
|
if [ "$1" = 0 ]; then
|
2005-04-22 16:41:45 +00:00
|
|
|
/sbin/install-info --delete %{_infodir}/cln.info.gz %{_infodir}/dir 2>/dev/null || :
|
2005-04-21 14:41:28 +00:00
|
|
|
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}/*.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
|
2005-05-11 20:00:51 +00:00
|
|
|
%exclude %{_libdir}/*.la
|
2005-04-21 14:41:28 +00:00
|
|
|
|
|
|
|
%changelog
|
2006-08-17 20:21:08 +00:00
|
|
|
* Thu Feb 17 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.13-1
|
|
|
|
- New release.
|
|
|
|
|
2006-02-13 18:21:37 +00:00
|
|
|
* Mon Feb 13 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-5
|
|
|
|
- Disable static build.
|
|
|
|
- Enable parallel build.
|
|
|
|
|
2006-02-13 17:41:50 +00:00
|
|
|
* Mon Feb 13 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-4
|
|
|
|
- Rebuild for Fedora Extras 5.
|
|
|
|
- Remove /usr/share/info/dir after install.
|
|
|
|
- Exclude static libs.
|
|
|
|
|
2006-01-30 21:21:06 +00:00
|
|
|
* Mon Jan 16 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-3
|
|
|
|
- Exclude /usr/share/info/dir from package (bug 178660).
|
|
|
|
|
2006-01-16 21:40:26 +00:00
|
|
|
* Mon Jan 16 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-2
|
|
|
|
- Update source URL.
|
|
|
|
|
2006-01-16 21:36:43 +00:00
|
|
|
* Mon Jan 16 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-1
|
|
|
|
- New upstream release.
|
|
|
|
|
2005-10-31 22:00:25 +00:00
|
|
|
* Mon Oct 31 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.10-1
|
|
|
|
- New upstream release, incorporating previous patch.
|
|
|
|
|
2005-06-20 13:26:34 +00:00
|
|
|
* Mon Jun 20 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-8
|
2005-06-14 01:00:07 +00:00
|
|
|
- Rebuild
|
|
|
|
|
2005-06-13 15:13:55 +00:00
|
|
|
* Mon Jun 13 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-4
|
|
|
|
- Patched include/cln/string.h to correctly compile on gcc-c++-4.0.0-9
|
|
|
|
|
2005-05-27 11:01:22 +00:00
|
|
|
* Fri May 27 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-3
|
|
|
|
- Added gmp-devel to Requires for devel
|
|
|
|
|
2005-05-20 20:58:53 +00:00
|
|
|
* Fri May 20 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-2
|
|
|
|
- Added dist tag.
|
|
|
|
|
2005-05-11 20:00:51 +00:00
|
|
|
* Wed May 11 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-1
|
|
|
|
- Excluded .la file
|
|
|
|
|
2005-04-22 14:45:36 +00:00
|
|
|
* Fri Apr 22 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-1
|
2005-04-25 14:07:41 +00:00
|
|
|
- Added gmp-devel in BuildRequires, fixes in files
|
|
|
|
- Added release to name in Requires for devel
|
2005-04-22 14:45:36 +00:00
|
|
|
|
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
|