From 89645b1f1fce718f0f4ea88b525dda5942b84711 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Fri, 30 May 2003 14:30:26 +0000 Subject: [PATCH] - added lost spec Changed files: GiNaC.spec -> 1.1 --- GiNaC.spec | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 GiNaC.spec diff --git a/GiNaC.spec b/GiNaC.spec new file mode 100644 index 0000000..4d3b366 --- /dev/null +++ b/GiNaC.spec @@ -0,0 +1,98 @@ +Summary: C++ class library for symbolic calculations +Name: GiNaC +Version: 1.1.0 +Release: 1 +License: GPL +Group: Sciences/Mathematics +Source0: ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/%{name}-%{version}.tar.bz2 +Source1: ginac.png +URL: http://www.ginac.de/ +BuildRequires: cln-devel >= 1.1 +BuildRequires: readline-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +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 devel +Summary: Libraries, includes and more to develop GiNaC applications +Group: Development/C++ +Requires: %{lib_name} = %{version}-%{release} +Provides: %{name}-devel = %{version}-%{release} +Provides: %{lib_name_orig}-devel = %{version}-%{release} + +%description devel +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 +to develop GiNaC applications. + +%package utils +Summary: GiNaC-related utilities +Group: Sciences/Mathematics +Requires: %{name} = %{version}-%{release} + +%description utils +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 includes the ginsh ("GiNaC interactive shell") which +provides a simple and easy-to-use CAS-like interface to GiNaC for +non-programmers, and the tool "viewgar" which displays the contents of +GiNaC archives. + +%prep +%setup -q + +%build +%define __libtoolize /bin/true +%configure CFLAGS=" -O2 " CXXFLAGS=" -O2 " +%make +make check + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%post devel +%_install_info ginac.info + +%preun devel +%_remove_install_info ginac.info + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README +%{_libdir}/lib*.so.*.* + +%files devel +%defattr(644,root,root,755) +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%{_includedir}/ginac/*.h +%{_infodir}/*.info* +%{_mandir}/man1/ginac-config.1* +%attr(755,root,root) %{_bindir}/ginac-config +%{_aclocaldir}/* + +%files utils +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/ginsh +%attr(755,root,root) %{_bindir}/viewgar +%{_mandir}/man1/ginsh.1* +%{_mandir}/man1/viewgar.1* +%_menudir/%name-utils +%_iconsdir/ginac.png -- 2.44.0