auto-import cln-1.1.9-1 on branch devel from cln-1.1.9-1.src.rpm

This commit is contained in:
Quentin Spencer 2005-04-21 14:41:28 +00:00
parent 103b7f5836
commit 6755543e69
3 changed files with 94 additions and 0 deletions

View File

@ -0,0 +1 @@
cln-1.1.9.tar.bz2

92
cln.spec Normal file
View File

@ -0,0 +1,92 @@
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
%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
gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/cln.info*
mkdir -p ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}-devel-%{version}
mv ${RPM_BUILD_ROOT}%{_datadir}/dvi/cln.dvi ${RPM_BUILD_ROOT}%{_datadir}/html ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}-devel-%{version}
%clean
rm -rf ${RPM_BUILD_ROOT}
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%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)
%{_defaultdocdir}/%{name}-devel-%{version}
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/cln.pc
%{_includedir}/cln/*
%{_infodir}/*.info*
%{_mandir}/man1/cln-config.1*
%{_bindir}/cln-config
%{_datadir}/aclocal/cln.m4
%changelog
* 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

View File

@ -0,0 +1 @@
76fbeeeeac1559e482b404b4674915e2 cln-1.1.9.tar.bz2