]> git.pld-linux.org Git - packages/GiNaC.git/blame - GiNaC.spec
- added lost spec
[packages/GiNaC.git] / GiNaC.spec
CommitLineData
89645b1f
JB
1Summary: C++ class library for symbolic calculations
2Name: GiNaC
3Version: 1.1.0
4Release: 1
5License: GPL
6Group: Sciences/Mathematics
7Source0: ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/%{name}-%{version}.tar.bz2
8Source1: ginac.png
9URL: http://www.ginac.de/
10BuildRequires: cln-devel >= 1.1
11BuildRequires: readline-devel
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra
16System)") is an open framework for symbolic computation within the C++
17programming language.
18
19%package devel
20Summary: Libraries, includes and more to develop GiNaC applications
21Group: Development/C++
22Requires: %{lib_name} = %{version}-%{release}
23Provides: %{name}-devel = %{version}-%{release}
24Provides: %{lib_name_orig}-devel = %{version}-%{release}
25
26%description devel
27GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra
28System)") is an open framework for symbolic computation within the C++
29programming language.
30
31This is the libraries, include files and other resources you can use
32to develop GiNaC applications.
33
34%package utils
35Summary: GiNaC-related utilities
36Group: Sciences/Mathematics
37Requires: %{name} = %{version}-%{release}
38
39%description utils
40GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra
41System)") is an open framework for symbolic computation within the C++
42programming language.
43
44This package includes the ginsh ("GiNaC interactive shell") which
45provides a simple and easy-to-use CAS-like interface to GiNaC for
46non-programmers, and the tool "viewgar" which displays the contents of
47GiNaC archives.
48
49%prep
50%setup -q
51
52%build
53%define __libtoolize /bin/true
54%configure CFLAGS=" -O2 " CXXFLAGS=" -O2 "
55%make
56make check
57
58%install
59rm -rf $RPM_BUILD_ROOT
60
61%{__make} install
62
63%clean
64rm -rf ${RPM_BUILD_ROOT}
65
66%post -p /sbin/ldconfig
67%postun -p /sbin/ldconfig
68
69%post devel
70%_install_info ginac.info
71
72%preun devel
73%_remove_install_info ginac.info
74
75%files
76%defattr(644,root,root,755)
77%doc AUTHORS ChangeLog NEWS README
78%{_libdir}/lib*.so.*.*
79
80%files devel
81%defattr(644,root,root,755)
82%{_libdir}/*.a
83%{_libdir}/*.la
84%{_libdir}/*.so
85%{_includedir}/ginac/*.h
86%{_infodir}/*.info*
87%{_mandir}/man1/ginac-config.1*
88%attr(755,root,root) %{_bindir}/ginac-config
89%{_aclocaldir}/*
90
91%files utils
92%defattr(644,root,root,755)
93%attr(755,root,root) %{_bindir}/ginsh
94%attr(755,root,root) %{_bindir}/viewgar
95%{_mandir}/man1/ginsh.1*
96%{_mandir}/man1/viewgar.1*
97%_menudir/%name-utils
98%_iconsdir/ginac.png
This page took 0.069896 seconds and 4 git commands to generate.