|
Quentin Spencer |
6755543 |
Name: cln
|
|
Deji Akingunola |
fe77090 |
Version: 1.3.2
|
|
|
b0f12c1 |
Release: 3%{?dist}.1
|
|
Quentin Spencer |
6755543 |
Summary: Class Library for Numbers
|
|
Quentin Spencer |
6755543 |
|
|
Quentin Spencer |
6755543 |
Group: System Environment/Libraries
|
|
Quentin Spencer |
4668f42 |
License: GPLv2+
|
|
Quentin Spencer |
6755543 |
URL: http://www.ginac.de/CLN/
|
|
Quentin Spencer |
1b12e1f |
Source0: http://www.ginac.de/CLN/%{name}-%{version}.tar.bz2
|
|
|
0dbccff |
Patch1: cln-1.3.1-s390x.patch
|
|
|
0dbccff |
Patch2: cln-arm-preprocessor-fix.patch
|
|
Quentin Spencer |
6755543 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Quentin Spencer |
6755543 |
|
|
Quentin Spencer |
bff0a19 |
Requires(post): /sbin/install-info
|
|
Quentin Spencer |
bff0a19 |
Requires(preun): /sbin/install-info
|
|
Quentin Spencer |
225f1ec |
BuildRequires: gmp-devel
|
|
|
05d6138 |
BuildRequires: texi2html texinfo-tex
|
|
Quentin Spencer |
6755543 |
|
|
Quentin Spencer |
6755543 |
%description
|
|
Quentin Spencer |
6755543 |
A collection of C++ math classes and functions, which are designed for
|
|
Quentin Spencer |
6755543 |
memory and speed efficiency, and enable type safety and algebraic
|
|
Quentin Spencer |
6755543 |
syntax.
|
|
Quentin Spencer |
6755543 |
|
|
Quentin Spencer |
6755543 |
%package devel
|
|
Quentin Spencer |
6755543 |
Summary: Development files for programs using the CLN library
|
|
Quentin Spencer |
6755543 |
Group: Development/Libraries
|
|
Quentin Spencer |
dd0724b |
Requires: %{name} = %{version}-%{release} gmp-devel pkgconfig
|
|
Quentin Spencer |
6755543 |
|
|
Quentin Spencer |
6755543 |
%description devel
|
|
Quentin Spencer |
6755543 |
A collection of C++ math classes and functions, which are designed for
|
|
Quentin Spencer |
6755543 |
memory and speed efficiency, and enable type safety and algebraic
|
|
Quentin Spencer |
6755543 |
syntax.
|
|
Quentin Spencer |
6755543 |
|
|
Quentin Spencer |
6755543 |
This package is necessary if you wish to develop software based on
|
|
Quentin Spencer |
6755543 |
the CLN library.
|
|
Quentin Spencer |
6755543 |
|
|
Deji Akingunola |
fe77090 |
%ifarch %{arm}
|
|
Deji Akingunola |
888cec0 |
%global XFLAGS %{optflags} -DNO_ASM
|
|
Deji Akingunola |
888cec0 |
%else
|
|
Deji Akingunola |
888cec0 |
%global XFLAGS %{optflags}
|
|
Deji Akingunola |
fe77090 |
%endif
|
|
Deji Akingunola |
fe77090 |
|
|
Quentin Spencer |
6755543 |
%prep
|
|
Quentin Spencer |
6755543 |
%setup -q
|
|
|
0dbccff |
%patch1 -p0 -b .s390x
|
|
|
0dbccff |
%patch2 -p0 -b .fix
|
|
Quentin Spencer |
6755543 |
|
|
Quentin Spencer |
6755543 |
%build
|
|
Deji Akingunola |
023e4fe |
%configure --disable-static CXXFLAGS="%{XFLAGS}" CFLAGS="%{XFLAGS}"
|
|
Quentin Spencer |
3d0daf8 |
make %{?_smp_mflags}
|
|
|
0b97a6e |
make pdf
|
|
|
0b97a6e |
make html
|
|
Quentin Spencer |
755310b |
|
|
Quentin Spencer |
6755543 |
%install
|
|
|
0b97a6e |
rm -rf %{buildroot}
|
|
|
0b97a6e |
make DESTDIR=%{buildroot} install
|
|
Quentin Spencer |
6755543 |
|
|
|
0b97a6e |
mkdir -p %{buildroot}%{_docdir}/%{name}-devel-%{version}
|
|
|
0b97a6e |
cp -p doc/cln.pdf doc/cln.html %{buildroot}%{_docdir}/%{name}-devel-%{version}/
|
|
|
0b97a6e |
|
|
|
0b97a6e |
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
|
|
|
0b97a6e |
rm -f %{buildroot}%{_infodir}/dir
|
|
|
0b97a6e |
rm -rf %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1/pi.*
|
|
Quentin Spencer |
6755543 |
|
|
|
0a27fca |
%check
|
|
|
0a27fca |
make %{_smp_mflags} check
|
|
|
0a27fca |
|
|
|
0b97a6e |
%clean
|
|
|
0b97a6e |
rm -rf %{buildroot}
|
|
|
0b97a6e |
|
|
Quentin Spencer |
225f1ec |
%post -p /sbin/ldconfig
|
|
Quentin Spencer |
6755543 |
|
|
Quentin Spencer |
225f1ec |
%postun -p /sbin/ldconfig
|
|
Quentin Spencer |
6755543 |
|
|
Quentin Spencer |
6755543 |
%post devel
|
|
Quentin Spencer |
bff0a19 |
/sbin/install-info --section="Math" %{_infodir}/cln.info.gz %{_infodir}/dir 2>/dev/null || :
|
|
Quentin Spencer |
6755543 |
|
|
Quentin Spencer |
6755543 |
%preun devel
|
|
Quentin Spencer |
6755543 |
if [ "$1" = 0 ]; then
|
|
Quentin Spencer |
bff0a19 |
/sbin/install-info --delete %{_infodir}/cln.info.gz %{_infodir}/dir 2>/dev/null || :
|
|
Quentin Spencer |
6755543 |
fi
|
|
Quentin Spencer |
6755543 |
|
|
Quentin Spencer |
6755543 |
%files
|
|
Quentin Spencer |
6755543 |
%defattr(-,root,root)
|
|
|
0dbccff |
%doc COPYING NEWS README TODO
|
|
Quentin Spencer |
6755543 |
%{_libdir}/*.so.*
|
|
Quentin Spencer |
6755543 |
|
|
Quentin Spencer |
6755543 |
%files devel
|
|
Quentin Spencer |
6755543 |
%defattr(-,root,root)
|
|
Quentin Spencer |
6755543 |
%{_libdir}/*.so
|
|
Quentin Spencer |
6755543 |
%{_libdir}/pkgconfig/cln.pc
|
|
Quentin Spencer |
225f1ec |
%{_includedir}/cln/
|
|
Quentin Spencer |
6755543 |
%{_infodir}/*.info*
|
|
|
0b97a6e |
%{_docdir}/%{name}-devel-%{version}
|
|
Quentin Spencer |
6755543 |
|
|
Quentin Spencer |
6755543 |
%changelog
|
|
|
b0f12c1 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-3.1
|
|
|
b0f12c1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
b0f12c1 |
|
|
|
3474585 |
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.3.2-2.1
|
|
|
3474585 |
- rebuild with new gmp without compat lib
|
|
|
3474585 |
|
|
Deji Akingunola |
023e4fe |
* Wed Oct 19 2011 Deji Akingunola <dakingun@gmail.com> - 1.3.2-2
|
|
Deji Akingunola |
023e4fe |
- Also add -DNO_ASM to CFLAGS for arm archs.
|
|
Deji Akingunola |
023e4fe |
|
|
|
15c567a |
* Mon Oct 10 2011 Peter Schiffer <pschiffe@redhat.com> - 1.3.2-1.1
|
|
|
15c567a |
- rebuild with new gmp
|
|
|
15c567a |
|
|
Deji Akingunola |
fe77090 |
* Sun Oct 09 2011 Deji Akingunola <dakingun@gmail.com> - 1.3.2-1
|
|
Deji Akingunola |
fe77090 |
- New upstream version
|
|
Deji Akingunola |
fe77090 |
- Add -DNO_ASM flag for arm archs.
|
|
Deji Akingunola |
fe77090 |
|
|
|
a4d6f32 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2
|
|
|
a4d6f32 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
a4d6f32 |
|
|
|
0dbccff |
* Tue Dec 29 2009 Deji Akingunola <dakingun@gmail.com> - 1.3.1-1
|
|
|
0dbccff |
- New upstream version
|
|
|
0dbccff |
- Apply patch by Jitesh Shah to fix build on arm
|
|
|
0dbccff |
|
|
|
4e4c859 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
|
|
|
4e4c859 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
4e4c859 |
|
|
|
0b97a6e |
* Thu Jul 02 2009 Deji Akingunola <dakingun@gmail.com> - 1.3.0-1
|
|
|
0b97a6e |
- Update to latest upstream release 1.3.0
|
|
|
0b97a6e |
|
|
|
0a27fca |
* Thu May 28 2009 Dan Horak <dan[at]danny.cz> - 1.2.2-5
|
|
|
0a27fca |
- fix build on s390x
|
|
|
0a27fca |
- run the test-suite during build
|
|
|
0a27fca |
|
|
|
9c57ed6 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-4
|
|
|
9c57ed6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
9c57ed6 |
|
|
|
ae8b542 |
* Wed Feb 04 2009 Deji Akingunola <dakingun@gmail.com> - 1.2.2-3
|
|
|
ae8b542 |
- Add upstream patch to build with gcc-4.4
|
|
|
ae8b542 |
|
|
|
469839e |
* Fri Jan 16 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.2.2-2
|
|
|
469839e |
- Bump to solve dependency for ginac-devel
|
|
|
469839e |
|
|
Quentin Spencer |
406e1df |
* Tue Apr 29 2008 Quentin Spencer <qspencer@users.sf.net> 1.2.2-1
|
|
Quentin Spencer |
406e1df |
- Update to 1.2.2.
|
|
Quentin Spencer |
406e1df |
|
|
Quentin Spencer |
4668f42 |
* Mon Feb 25 2008 Quentin Spencer <qspencer@users.sf.net> 1.2.0-1
|
|
Quentin Spencer |
4668f42 |
- Update to 1.2.0.
|
|
Quentin Spencer |
4668f42 |
- Update License tag.
|
|
Quentin Spencer |
4668f42 |
|
|
|
6b04d0f |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.13-5
|
|
|
6b04d0f |
- Autorebuild for GCC 4.3
|
|
|
6b04d0f |
|
|
Quentin Spencer |
dd0724b |
* Thu Sep 13 2007 Quentin Spencer <qspencer@users.sf.net> 1.1.13-4
|
|
Quentin Spencer |
dd0724b |
- Add pkgconfig as a dependency of -devel.
|
|
Quentin Spencer |
dd0724b |
|
|
Quentin Spencer |
92c6541 |
* Tue Aug 21 2007 Quentin Spencer <qspencer@users.sf.net> 1.1.13-3
|
|
Quentin Spencer |
92c6541 |
- Rebuild for F8.
|
|
Quentin Spencer |
92c6541 |
|
|
Quentin Spencer |
43ffca6 |
* Mon Aug 28 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.13-2
|
|
Quentin Spencer |
43ffca6 |
- Rebuild for FC-6.
|
|
Quentin Spencer |
43ffca6 |
|
|
Quentin Spencer |
43ffca6 |
* Thu Aug 17 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.13-1
|
|
Quentin Spencer |
c49ffa7 |
- New release.
|
|
Quentin Spencer |
c49ffa7 |
|
|
Quentin Spencer |
3d0daf8 |
* Mon Feb 13 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-5
|
|
Quentin Spencer |
3d0daf8 |
- Disable static build.
|
|
Quentin Spencer |
3d0daf8 |
- Enable parallel build.
|
|
Quentin Spencer |
3d0daf8 |
|
|
Quentin Spencer |
b769987 |
* Mon Feb 13 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-4
|
|
Quentin Spencer |
b769987 |
- Rebuild for Fedora Extras 5.
|
|
Quentin Spencer |
b769987 |
- Remove /usr/share/info/dir after install.
|
|
Quentin Spencer |
b769987 |
- Exclude static libs.
|
|
Quentin Spencer |
b769987 |
|
|
Quentin Spencer |
2eb166e |
* Mon Jan 16 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-3
|
|
Quentin Spencer |
2eb166e |
- Exclude /usr/share/info/dir from package (bug 178660).
|
|
Quentin Spencer |
2eb166e |
|
|
Quentin Spencer |
1b12e1f |
* Mon Jan 16 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-2
|
|
Quentin Spencer |
1b12e1f |
- Update source URL.
|
|
Quentin Spencer |
1b12e1f |
|
|
Quentin Spencer |
b4899ff |
* Mon Jan 16 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-1
|
|
Quentin Spencer |
b4899ff |
- New upstream release.
|
|
Quentin Spencer |
b4899ff |
|
|
Quentin Spencer |
134c42e |
* Mon Oct 31 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.10-1
|
|
Quentin Spencer |
134c42e |
- New upstream release, incorporating previous patch.
|
|
Quentin Spencer |
134c42e |
|
|
Quentin Spencer |
5a478c8 |
* Mon Jun 20 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-8
|
|
Quentin Spencer |
0e494cb |
- Rebuild
|
|
Quentin Spencer |
0e494cb |
|
|
Quentin Spencer |
322f8d8 |
* Mon Jun 13 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-4
|
|
Quentin Spencer |
322f8d8 |
- Patched include/cln/string.h to correctly compile on gcc-c++-4.0.0-9
|
|
Quentin Spencer |
322f8d8 |
|
|
Quentin Spencer |
3f56881 |
* Fri May 27 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-3
|
|
Quentin Spencer |
3f56881 |
- Added gmp-devel to Requires for devel
|
|
Quentin Spencer |
3f56881 |
|
|
Quentin Spencer |
a2b4f94 |
* Fri May 20 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-2
|
|
Quentin Spencer |
a2b4f94 |
- Added dist tag.
|
|
Quentin Spencer |
a2b4f94 |
|
|
Quentin Spencer |
468db86 |
* Wed May 11 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-1
|
|
Quentin Spencer |
468db86 |
- Excluded .la file
|
|
Quentin Spencer |
468db86 |
|
|
Quentin Spencer |
225f1ec |
* Fri Apr 22 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-1
|
|
Quentin Spencer |
1cef8da |
- Added gmp-devel in BuildRequires, fixes in files
|
|
Quentin Spencer |
1cef8da |
- Added release to name in Requires for devel
|
|
Quentin Spencer |
225f1ec |
|
|
Quentin Spencer |
6755543 |
* Mon Mar 21 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-1
|
|
Quentin Spencer |
6755543 |
- Adapted spec file for Fedora Extras
|
|
Quentin Spencer |
6755543 |
|
|
Quentin Spencer |
6755543 |
* Thu Nov 20 2003 Christian Bauer <Christian.Bauer@uni-mainz.de>
|
|
Quentin Spencer |
6755543 |
Added pkg-config metadata file to devel package
|
|
Quentin Spencer |
6755543 |
|
|
Quentin Spencer |
6755543 |
* Wed Nov 6 2002 Christian Bauer <Christian.Bauer@uni-mainz.de>
|
|
Quentin Spencer |
6755543 |
Added HTML and DVI docs to devel package
|
|
Quentin Spencer |
6755543 |
|
|
Quentin Spencer |
6755543 |
* Tue Nov 5 2001 Christian Bauer <Christian.Bauer@uni-mainz.de>
|
|
Quentin Spencer |
6755543 |
Added Packager
|