Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 36282e7e828d1198349dbee1f04c8a10 > files > 2

ginac-1.5.7-1mdv2010.1.src.rpm

%define api_version 1.5
%define major 0

%define libname              %mklibname ginac %{api_version} %{major}
%define libname_devel        %mklibname ginac %{api_version} -d
%define libname_static_devel %mklibname ginac %{api_version} -d -s

Name:           ginac
Version:        1.5.7
Release:        %mkrel 1
Summary:        C++ class library for symbolic calculations
License:        GPLv2+
Group:          Sciences/Mathematics
URL:            http://www.ginac.de/
Source0:        ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ginac-%{version}.tar.bz2
Requires(post): info-install
Requires(preun): info-install
BuildRequires:  chrpath
BuildRequires:  cln-devel
BuildRequires:  doxygen
BuildRequires:  ncurses-devel
BuildRequires:  readline-devel
BuildRequires:  tetex
BuildRequires:  tetex-dvips
BuildRequires:  tetex-latex
BuildRequires:  transfig
BuildRequires:	bison
BuildRequires:	flex
Obsoletes:      GiNaC < %{version}-%{release}
Provides:       GiNaC = %{version}-%{release}
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root

%description
GiNaC is Not a Cocktail.

GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra
System)") is an open framework for symbolic computation within the
C++ programming language.

%package -n     %{libname}
Summary:        C++ class library for symbolic calculations
Group:          Sciences/Mathematics

%description -n %{libname}
GiNaC is Not a Cocktail.

GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra
System)") is an open framework for symbolic computation within the
C++ programming language.

This package provides the core GiNaC libraries.

%package -n %{libname_devel}
Summary:        Libraries, includes and more for developing GiNaC applications
Group:          Development/C++
Requires:       %{libname} = %{version}-%{release}
Provides:       ginac-devel = %{version}-%{release}
Provides:       ginac%{api_version}-devel = %{version}-%{release}

%description -n        %{libname_devel}
GiNaC is Not a Cocktail.

GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra
System)") is an open framework for symbolic computation within the
C++ programming language.

This is the libraries, include files and other resources you can use
for developing GiNaC applications.

%package -n     %{libname_static_devel}
Summary:        Static libraries for developing GiNaC applications
Group:          Development/C++
Requires:       %{libname} = %{version}-%{release}
Provides:       ginac-static-devel = %{version}-%{release}
Provides:       ginac%{api_version}-static-devel = %{version}-%{release}

%description -n %{libname_static_devel}
GiNaC is Not a Cocktail.

GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra
System)") is an open framework for symbolic computation within the
C++ programming language.

This is the static libraries which you can use
for developing GiNaC applications.

%prep
%setup -q

%build
%{configure2_5x}
%{make}

%install
%{__rm} -rf %{buildroot}
%{makeinstall_std}

%{_bindir}/chrpath -d %{buildroot}%{_libdir}/libginac-%{api_version}.so.%{major}.*.*
%{_bindir}/chrpath -d %{buildroot}%{_bindir}/{ginsh,viewgar}

%check
%{make} check

%clean
%{__rm} -rf %{buildroot}

%if %mdkversion < 200900
%post -n %{libname} -p /sbin/ldconfig
%endif

%if %mdkversion < 200900
%postun -n %{libname} -p /sbin/ldconfig
%endif

%post -n %{libname_devel}
%_install_info ginac.info

%preun -n %{libname_devel}
%_remove_install_info ginac.info

%files
%defattr(-,root,root)
%doc AUTHORS NEWS README
%{_bindir}/ginsh
%{_bindir}/viewgar
%{_mandir}/man1/ginsh.1*
%{_mandir}/man1/viewgar.1*

%files -n %{libname}
%defattr(-,root,root)
%{_libdir}/*.so.%{major}*

%files -n %{libname_devel}
%defattr(-,root,root)
%doc ChangeLog
%{_bindir}/ginac-excompiler
%{_includedir}/*
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_infodir}/*.info*

%files -n %{libname_static_devel}
%defattr(-,root,root)
%{_libdir}/*.a


%changelog
* Thu Apr 22 2010 Sandro Cazzaniga <kharec@mandriva.org> 1.5.7-1mdv2010.1
+ Revision: 538002
- update to 1.5.7

* Thu Jan 28 2010 Frederik Himpe <fhimpe@mandriva.org> 1.5.6-1mdv2010.1
+ Revision: 497679
- Update to new version 1.5.6

* Sat Dec 05 2009 Funda Wang <fwang@mandriva.org> 1.5.5-1mdv2010.1
+ Revision: 473926
- new version 1.5.5

* Wed Aug 05 2009 Funda Wang <fwang@mandriva.org> 1.5.3-5mdv2010.0
+ Revision: 410281
- fix build with latest gcc
- rebuild for new cln

  + Frederik Himpe <fhimpe@mandriva.org>
    - Update to new version 1.5.3
    - Remove patch integrated upstream

* Thu May 21 2009 Guillaume Rousse <guillomovitch@mandriva.org> 1.5.1-4mdv2010.0
+ Revision: 378431
- fix build
- rebuild

  + Tomasz Pawel Gajc <tpg@mandriva.org>
    - rebuild

  + David Walluck <walluck@mandriva.org>
    - add sources
    - 1.5.1

  + Thierry Vignaud <tv@mandriva.org>
    - rebuild early 2009.0 package (before pixel changes)

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

* Sun Apr 20 2008 David Walluck <walluck@mandriva.org> 1.4.3-1mdv2009.0
+ Revision: 195976
- 1.4.3

* Sat Mar 08 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 1.4.1-2mdv2008.1
+ Revision: 182203
- rebuild for new cln
- add missing buildrequires on bison and flex
- make use of %%major in file list
- do not package COPYING file
- new license policy

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request

* Sat Nov 24 2007 David Walluck <walluck@mandriva.org> 1.4.1-1mdv2008.1
+ Revision: 111739
- 1.4.1

* Fri Oct 19 2007 David Walluck <walluck@mandriva.org> 1.4.0-2mdv2008.1
+ Revision: 100279
- rebuild

* Tue Sep 18 2007 David Walluck <walluck@mandriva.org> 1.4.0-1mdv2008.1
+ Revision: 89368
- 1.4.0

* Thu Aug 23 2007 Thierry Vignaud <tv@mandriva.org> 1.3.7-2mdv2008.0
+ Revision: 70249
- kill file require on info-install


* Fri Mar 23 2007 David Walluck <walluck@mandriva.org> 1.3.7-1mdv2007.1
+ Revision: 148697
- 1.3.7

* Sat Dec 16 2006 David Walluck <walluck@mandriva.org> 1.3.6-1mdv2007.1
+ Revision: 98069
- 1.3.6
- Import ginac

* Mon Sep 11 2006 David Walluck <walluck@mandriva.org> 1.3.5-1mdv2007.0
- 1.3.5
- major should be 2
- fix macro in changelog

* Wed Apr 19 2006 David Walluck <walluck@mandriva.org> 1.3.4-1mdk
- 1.3.4

* Sun Oct 30 2005 David Walluck <walluck@mandriva.org> 1.3.3-1mdk
- 1.3.3
- drop gcc4 patch (merged upstream)

* Sat Sep 03 2005 David Walluck <walluck@mandriva.org> 1.3.2-1mdk
- 1.3.2
- name is now ginac
- apply gcc4 patch from suse
- BuildRequires: doxygen, tetex, tetex-dvips, tetex-latex, transfig
- don't use PreReq

* Mon Apr 04 2005 Abel Cheung <deaddog@mandrake.org> 1.3.0-3mdk
- Rebuild & multiarch

* Tue Dec 28 2004 Abel Cheung <deaddog@mandrake.org> 1.3.0-2mdk
- Cleanup this beautified crap, at least make sure devel package
  is usable

* Tue Oct 26 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.3.0-1mdk
- 1.3.0

* Thu Oct 14 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.2.4-1mdk
- 1.2.4

* Sun Aug 29 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 1.2.3-2mdk 
- %%major in include path
- provide icons in the 2 sizes
- fix distlint DIRM
- fix menu capitalisation

* Sat Aug 14 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.2.3-1mdk
- 1.2.3

* Thu Aug 05 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.2.2-1mdk
- 1.2.2

* Wed Jun 16 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 1.2.1-2mdk
- rebuild
- %%mklibname

* Tue Jun 15 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.2.1-1mdk
- 1.2.1