|
|
29a23ac |
%global gitdate 20131231
|
|
|
29a23ac |
%global commit 98433210d31a34b55c8283eb7fb7767d6c830e14
|
|
|
29a23ac |
%global gitrev %(c=%{commit}; echo ${c:0:7})
|
|
|
29a23ac |
|
|
|
29a23ac |
Name: ginac
|
|
|
29a23ac |
Version: 1.6.2
|
|
|
ffc33af |
Release: 7.%{gitdate}git%{gitrev}%{?dist}
|
|
|
29a23ac |
Summary: C++ library for symbolic calculations
|
|
|
29a23ac |
License: GPLv2+
|
|
|
29a23ac |
URL: http://www.ginac.de/
|
|
|
29a23ac |
# Source0: http://www.ginac.de/%{name}-%{version}.tar.bz2
|
|
|
29a23ac |
# Tarball was generated by following commands:
|
|
|
29a23ac |
# 1. git clone git://www.ginac.de/ginac.git ginac-%{commit}
|
|
|
29a23ac |
# 2. tar zcvf ginac-%{commit}.tar.gz ginac-%{commit}/ --exclude=.*
|
|
|
29a23ac |
Source0: ginac-%{commit}.tar.gz
|
|
|
29a23ac |
Patch0: ginac-1.4.4-ginac_pc_in.patch
|
|
|
29a23ac |
BuildRequires: cln-devel
|
|
|
736967e |
BuildRequires: bison
|
|
|
736967e |
BuildRequires: cmake
|
|
|
736967e |
BuildRequires: flex
|
|
|
29a23ac |
BuildRequires: doxygen
|
|
|
2d75001 |
BuildRequires: python
|
|
|
29a23ac |
BuildRequires: readline-devel
|
|
|
29a23ac |
BuildRequires: tetex-latex
|
|
|
29a23ac |
BuildRequires: tetex-dvips
|
|
|
29a23ac |
BuildRequires: transfig
|
|
|
29a23ac |
Obsoletes: GiNaC < 1.3.2
|
|
|
29a23ac |
Provides: GiNaC = %{version}-%{release}
|
|
|
ffc33af |
#Requires(post): info
|
|
|
ffc33af |
#Requires(preun): info
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
%description
|
|
Quentin Spencer |
80b2248 |
GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
|
|
Quentin Spencer |
80b2248 |
open framework for symbolic computation within the C++ programming language.
|
|
Quentin Spencer |
80b2248 |
|
|
|
05b577f |
%package devel
|
|
|
05b577f |
Summary: Development files for %{name}
|
|
|
05b577f |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
05b577f |
Requires: cln-devel
|
|
|
05b577f |
Obsoletes: GiNaC-devel < 1.3.2
|
|
|
05b577f |
Provides: GiNaC-devel = %{version}-%{release}
|
|
Quentin Spencer |
80b2248 |
|
|
|
05b577f |
%description devel
|
|
|
29a23ac |
This package contains libraries and header files for
|
|
|
29a23ac |
developing applications that use %{name}.
|
|
Quentin Spencer |
80b2248 |
|
|
|
05b577f |
%package utils
|
|
|
05b577f |
Summary: GiNaC-related utilities
|
|
|
05b577f |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
05b577f |
Obsoletes: GiNaC-utils < 1.3.2
|
|
|
05b577f |
Provides: GiNaC-utils = %{version}-%{release}
|
|
Quentin Spencer |
80b2248 |
|
|
|
05b577f |
%description utils
|
|
Quentin Spencer |
80b2248 |
This package includes ginsh ("GiNaC interactive shell") which provides a
|
|
Quentin Spencer |
80b2248 |
simple and easy-to-use CAS-like interface to GiNaC for non-programmers, and
|
|
Quentin Spencer |
80b2248 |
the tool "viewgar" which displays the contents of GiNaC archives.
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
%prep
|
|
|
80e9097 |
%setup -qn ginac-%{commit}
|
|
|
26ecedb |
%patch0 -p1 -b .ginac_pc_in
|
|
|
26ecedb |
|
|
Quentin Spencer |
80b2248 |
%build
|
|
|
736967e |
%cmake
|
|
Quentin Spencer |
92350ce |
make %{?_smp_mflags}
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
%install
|
|
|
736967e |
make install DESTDIR=%{buildroot}
|
|
|
29a23ac |
rm -f %{buildroot}%{_infodir}/dir
|
|
|
29a23ac |
find %{buildroot} -name '*.la' -delete
|
|
Quentin Spencer |
80b2248 |
|
|
|
41ad764 |
%check
|
|
|
736967e |
#export LD_LIBRARY_PATH=$( pwd )/ginac/.libs
|
|
|
41ad764 |
make check
|
|
|
41ad764 |
|
|
Quentin Spencer |
80b2248 |
%post -p /sbin/ldconfig
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
%postun -p /sbin/ldconfig
|
|
Quentin Spencer |
80b2248 |
|
|
|
ffc33af |
#%post devel
|
|
|
ffc33af |
#/sbin/install-info --info-dir=%{_infodir} %{_infodir}/ginac.info.gz 2>/dev/null || :
|
|
Quentin Spencer |
80b2248 |
|
|
|
ffc33af |
#%preun devel
|
|
|
ffc33af |
#if [ "$1" = 0 ]; then
|
|
|
ffc33af |
# /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ginac.info.gz 2>/dev/null || :
|
|
|
ffc33af |
#fi
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
%files
|
|
Quentin Spencer |
80b2248 |
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
Quentin Spencer |
80b2248 |
%{_libdir}/*.so.*
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
%files devel
|
|
|
29a23ac |
%{_includedir}/ginac
|
|
|
05b577f |
#%{_infodir}/*.info*
|
|
Quentin Spencer |
80b2248 |
%{_libdir}/*.so
|
|
Quentin Spencer |
80b2248 |
%{_libdir}/pkgconfig/ginac.pc
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
%files utils
|
|
Quentin Spencer |
6e66d75 |
%{_bindir}/*
|
|
|
412dbbc |
#%{_mandir}/man1/*.1*
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
%changelog
|
|
|
ffc33af |
* Fri Jan 10 2014 Christopher Meng <rpm@cicku.me> - 1.6.2-7.20131231git9843321
|
|
|
ffc33af |
- info and man pages are no longer available.
|
|
|
ffc33af |
|
|
|
05b577f |
* Tue Dec 31 2013 Christopher Meng <rpm@cicku.me> - 1.6.2-6.20131231git9843321
|
|
|
29a23ac |
- Update to latest git snapshot.
|
|
|
29a23ac |
- SPEC cleanup, drop patch merged upstream.
|
|
|
29a23ac |
|
|
|
4aee2de |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-5
|
|
|
4aee2de |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
4aee2de |
|
|
|
7953c6a |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-4
|
|
|
7953c6a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
7953c6a |
|
|
|
09096b9 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-3
|
|
|
09096b9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
09096b9 |
|
|
|
94769de |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-2
|
|
|
94769de |
- Rebuilt for c++ ABI breakage
|
|
|
94769de |
|
|
Orion Poplawski |
b630adf |
* Tue Jan 24 2012 Orion Poplawski <orion@cora.nwra.com> - 1.6.2-1
|
|
Orion Poplawski |
b630adf |
- Update to 1.6.2 (resolves bug #781720)
|
|
Orion Poplawski |
b630adf |
|
|
|
bb8de61 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.8-4
|
|
|
bb8de61 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
bb8de61 |
|
|
|
41ad764 |
* Sat Mar 05 2011 Christoph Wickert <cwickert@fedoraproject.org> - 1.5.8-3
|
|
|
41ad764 |
- Fix several spec file problems (#560197)
|
|
|
41ad764 |
|
|
|
87c476d |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.8-2
|
|
|
87c476d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
87c476d |
|
|
|
0c99448 |
* Tue Sep 07 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.5.6-1
|
|
|
0c99448 |
- Updated to 1.5.8
|
|
|
0c99448 |
|
|
|
c7fb240 |
* Sat Jan 30 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.5.6-1
|
|
|
c7fb240 |
- Updated to 1.5.6
|
|
|
c7fb240 |
|
|
|
ca69be9 |
* Fri Dec 04 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.5.5-1
|
|
|
ca69be9 |
- Updated to 1.5.5
|
|
|
ca69be9 |
|
|
|
eaf4b3f |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-3
|
|
|
eaf4b3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
eaf4b3f |
|
|
|
d519eed |
* Thu Jul 9 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.5.1-2
|
|
|
d519eed |
- Rebuild to fix broken deps
|
|
|
d519eed |
|
|
|
26ecedb |
* Tue Mar 17 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.5.1-1
|
|
|
26ecedb |
- Patched up lexer.cpp for missing header
|
|
|
26ecedb |
- Removed rpaths in pkgconfig file #487612
|
|
|
26ecedb |
- Updated to 1.5.1:
|
|
|
26ecedb |
- Added polynomial factorization.
|
|
|
26ecedb |
- New, faster (recursive descent) expression parser.
|
|
|
26ecedb |
- Faster GCD computation.
|
|
|
26ecedb |
- Replaced custom RTTI by standard C++ RTTI.
|
|
|
26ecedb |
- Fixed recursion in polynomial divide that caused a significant slowdown in sqrfree().
|
|
|
26ecedb |
- Improved lsolve() of systems containing non-numeric coefficients.
|
|
|
26ecedb |
- Improved configuration and compatibility.
|
|
|
26ecedb |
|
|
|
90545b0 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.4-2
|
|
|
90545b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
90545b0 |
|
|
|
0d62eb3 |
* Fri Jan 16 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.4.4-1
|
|
|
0d62eb3 |
- Updated to 1.4.4
|
|
|
0d62eb3 |
|
|
Quentin Spencer |
be4e7c3 |
* Tue Apr 29 2008 Quentin Spencer <qspencer@users.sf.net> 1.4.3-1
|
|
Quentin Spencer |
be4e7c3 |
- Update to 1.4.3. Remove old patch.
|
|
Quentin Spencer |
be4e7c3 |
|
|
|
d938d94 |
* Sun Mar 2 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.4.1-4
|
|
|
d938d94 |
- Patch for building with GCC 4.3 (this has been applied upstream and so
|
|
|
d938d94 |
can be dropped in the next release of ginac).
|
|
|
d938d94 |
|
|
Quentin Spencer |
8f072f3 |
* Wed Feb 27 2008 Quentin Spencer <qspencer@users.sf.net> 1.4.1-3
|
|
Quentin Spencer |
8f072f3 |
- Rebuild for new release of cln.
|
|
Quentin Spencer |
8f072f3 |
|
|
|
1771748 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.4.1-2
|
|
|
1771748 |
- Autorebuild for GCC 4.3
|
|
|
1771748 |
|
|
Quentin Spencer |
abce957 |
* Thu Jan 3 2008 Quentin Spencer <qspencer@users.sf.net> 1.4.1-1
|
|
Quentin Spencer |
abce957 |
- Update to 1.4.1.
|
|
Quentin Spencer |
abce957 |
|
|
Quentin Spencer |
10f4470 |
* Thu Sep 13 2007 Quentin Spencer <qspencer@users.sf.net> 1.4.0-2
|
|
Quentin Spencer |
10f4470 |
- Add pkgconfig as a dependency of -devel.
|
|
Quentin Spencer |
10f4470 |
|
|
Quentin Spencer |
6e66d75 |
* Wed Sep 12 2007 Quentin Spencer <qspencer@users.sf.net> 1.4.0-1
|
|
Quentin Spencer |
6e66d75 |
- New release. Changes file lists to reflect the removal of some files
|
|
Quentin Spencer |
6e66d75 |
previously in the devel package.
|
|
Quentin Spencer |
6e66d75 |
|
|
Quentin Spencer |
d0b5380 |
* Tue Aug 21 2007 Quentin Spencer <qspencer@users.sf.net> 1.3.7-1
|
|
Quentin Spencer |
d0b5380 |
- New release.
|
|
Quentin Spencer |
d0b5380 |
|
|
Quentin Spencer |
3b3e0df |
* Wed Jan 10 2007 Quentin Spencer <qspencer@users.sf.net> 1.3.6-1
|
|
Quentin Spencer |
3b3e0df |
- New release.
|
|
Quentin Spencer |
3b3e0df |
|
|
Quentin Spencer |
3312925 |
* Mon Aug 28 2006 Quentin Spencer <qspencer@users.sf.net> 1.3.5-1
|
|
Quentin Spencer |
3312925 |
- New release.
|
|
Quentin Spencer |
3312925 |
|
|
Quentin Spencer |
b0cd064 |
* Fri Apr 14 2006 Quentin Spencer <qspencer@users.sf.net> 1.3.4-1
|
|
Quentin Spencer |
b0cd064 |
- New release. Old patch removed.
|
|
Quentin Spencer |
b0cd064 |
|
|
Quentin Spencer |
2e22291 |
* Mon Feb 13 2006 Quentin Spencer <qspencer@users.sf.net> 1.3.3-4
|
|
Quentin Spencer |
2e22291 |
- Rebuild for Fedora Extras 5.
|
|
Quentin Spencer |
2e22291 |
|
|
Quentin Spencer |
92350ce |
* Thu Feb 2 2006 Quentin Spencer <qspencer@users.sf.net> 1.3.3-3
|
|
Quentin Spencer |
92350ce |
- Patch so it builds on gcc 4.1.
|
|
Quentin Spencer |
92350ce |
- Disable static libs from build and enable parallel build.
|
|
Quentin Spencer |
92350ce |
|
|
Quentin Spencer |
49ec85d |
* Wed Feb 1 2006 Quentin Spencer <qspencer@users.sf.net> 1.3.3-2
|
|
Quentin Spencer |
49ec85d |
- Exclude /usr/share/info/dir from package.
|
|
Quentin Spencer |
49ec85d |
- New URL.
|
|
Quentin Spencer |
738beb9 |
- Exclude static libs.
|
|
Quentin Spencer |
49ec85d |
|
|
Quentin Spencer |
8944b77 |
* Mon Oct 31 2005 Quentin Spencer <qspencer@users.sf.net> 1.3.3-1
|
|
Quentin Spencer |
8944b77 |
- New upstream release.
|
|
Quentin Spencer |
8944b77 |
|
|
Quentin Spencer |
80b2248 |
* Tue Aug 2 2005 Quentin Spencer <qspencer@users.sf.net> 1.3.2-1
|
|
Quentin Spencer |
80b2248 |
- New upstream release. Changed package name to lowercase letters to
|
|
Quentin Spencer |
80b2248 |
mirror upstream sources. Added Provides and Obsoletes for upgrade.
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
* Sat Jun 11 2005 Quentin Spencer <qspencer@users.sf.net> 1.3.1-5
|
|
Quentin Spencer |
80b2248 |
- Added cln-devel as dependency of GiNaC-devel
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
* Fri May 27 2005 Quentin Spencer <qspencer@users.sf.net> 1.3.1-5
|
|
Quentin Spencer |
80b2248 |
- Removed gmp-devel--it should be in cln-devel instead
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
* Fri May 27 2005 Quentin Spencer <qspencer@users.sf.net> 1.3.1-4
|
|
Quentin Spencer |
80b2248 |
- Added gmp-devel to BuildRequires
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
* Thu May 26 2005 Quentin Spencer <qspencer@users.sf.net> 1.3.1-3
|
|
Quentin Spencer |
80b2248 |
- Added transfig to BuildRequires
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
* Thu May 26 2005 Quentin Spencer <qspencer@users.sf.net> 1.3.1-2
|
|
Quentin Spencer |
80b2248 |
- Added dist tag
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
* Wed May 18 2005 Quentin Spencer <qspencer@users.sf.net> 1.3.1-1
|
|
Quentin Spencer |
80b2248 |
- New upstream release.
|
|
Quentin Spencer |
80b2248 |
- Added missing BuildRequires (readline-devel, tetex-*, doxygen).
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
* Wed May 11 2005 Quentin Spencer <qspencer@users.sf.net> 1.3.0-2
|
|
Quentin Spencer |
80b2248 |
- Exclude .la lib.
|
|
Quentin Spencer |
80b2248 |
- Remove processing of info files (this is supposed to be automatic).
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
* Fri Apr 22 2005 Quentin Spencer <qspencer@users.sf.net> 1.3.0-2
|
|
Quentin Spencer |
80b2248 |
- Added release to Requires for devel and utils
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
* Thu Apr 21 2005 Quentin Spencer <qspencer@users.sf.net> 1.3.0-1
|
|
Quentin Spencer |
80b2248 |
- Adapted spec file for Fedora Extras
|
|
Quentin Spencer |
80b2248 |
- Fixed missing BuildRequires
|
|
Quentin Spencer |
80b2248 |
- Fixed broken install-info command
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
* Thu Nov 20 2003 Christian Bauer <Christian.Bauer@uni-mainz.de>
|
|
Quentin Spencer |
80b2248 |
- added pkg-config metadata file to devel package
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
* Thu Nov 1 2001 Christian Bauer <Christian.Bauer@uni-mainz.de>
|
|
Quentin Spencer |
80b2248 |
- moved ginsh and viewgar to "utils" package
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
* Thu Oct 5 2000 Christian Bauer <Christian.Bauer@uni-mainz.de>
|
|
Quentin Spencer |
80b2248 |
- cleaned up a bit
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
* Wed Jan 26 2000 Christian Bauer <Christian.Bauer@uni-mainz.de>
|
|
Quentin Spencer |
80b2248 |
- split into user and devel packages
|
|
Quentin Spencer |
80b2248 |
|
|
Quentin Spencer |
80b2248 |
* Wed Dec 1 1999 Christian Bauer <Christian.Bauer@uni-mainz.de>
|
|
Quentin Spencer |
80b2248 |
- aclocal macros get installed
|