1 Summary: C++ class library for symbolic calculations
2 Summary(pl.UTF-8): Biblioteka klas C++ do obliczeń symbolicznych
8 Source0: ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ginac-%{version}.tar.bz2
9 # Source0-md5: abad55c4ae27d5d65f525fabefaddd05
10 Patch0: %{name}-info.patch
11 URL: http://www.ginac.de/
12 BuildRequires: automake
13 BuildRequires: bison >= 2.3
14 BuildRequires: cln-devel >= 1.1.6
15 BuildRequires: libstdc++-devel
16 BuildRequires: pkgconfig
17 BuildRequires: readline-devel
18 BuildRequires: texinfo
19 Requires: cln >= 1.1.6
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra
24 System)") is an open framework for symbolic computation within the C++
27 %description -l pl.UTF-8
28 GiNaC (co oznacza "GiNaC is Not a CAS (Computer Algebra System)") to
29 otwarty szkielet do obliczeń symbolicznych w języku programowania C++.
32 Summary: Header files and more to develop GiNaC applications
33 Summary(pl.UTF-8): Pliki nagłówkowe i inne do tworzenia aplikacji GiNaC
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
36 Requires: cln-devel >= 1.1.6
37 Requires: libstdc++-devel
40 This package contains include files and other resources you can use to
41 develop GiNaC applications.
43 %description devel -l pl.UTF-8
44 Ten pakiet zawiera pliki nagłówkowe i inne zasoby, których można
45 używać do rozwiajania aplikacji opartych na GiNaC.
48 Summary: Static GiNaC library
49 Summary(pl.UTF-8): Statyczna biblioteka GiNaC
50 Group: Development/Libraries
51 Requires: %{name}-devel = %{version}-%{release}
56 %description static -l pl.UTF-8
57 Statyczna biblioteka GiNaC.
60 Summary: GiNaC-related utilities
61 Summary(pl.UTF-8): Narzędzia związane z GiNaC
62 Group: Applications/Science
63 Requires: %{name} = %{version}-%{release}
66 This package includes the ginsh ("GiNaC interactive shell") which
67 provides a simple and easy-to-use CAS-like interface to GiNaC for
68 non-programmers, and the tool "viewgar" which displays the contents of
71 %description utils -l pl.UTF-8
72 Ten pakiet zawiera ginsh (interaktywną powłokę GiNaC, ktora udostępnia
73 prosty i łatwy w użyciu, podobny do CAS interfejs do GiNaC dla osób
74 nie będących programistami) oraz narzędzie viewgar, wyświetlające
75 zawartość archiwów GiNaC.
78 %setup -q -n ginac-%{version}
81 # generated with wrong bison version, miscompiled by gcc 4.1+
82 %{__rm} ginac/input_parser.{cc,h}
85 cp -f /usr/share/automake/config.* .
92 rm -rf $RPM_BUILD_ROOT
95 DESTDIR=$RPM_BUILD_ROOT
98 rm -rf $RPM_BUILD_ROOT
100 %post -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig
103 %post devel -p /sbin/postshell
104 -/usr/sbin/fix-info-dir -c %{_infodir}
106 %postun devel -p /sbin/postshell
107 -/usr/sbin/fix-info-dir -c %{_infodir}
110 %defattr(644,root,root,755)
111 %doc AUTHORS ChangeLog NEWS README
112 %attr(755,root,root) %{_libdir}/libginac-*.so.*.*.*
113 %attr(755,root,root) %ghost %{_libdir}/libginac-*.so.0
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/libginac.so
118 %{_libdir}/libginac.la
120 %{_infodir}/ginac.info*
121 %{_infodir}/ginac-examples.info*
122 %{_pkgconfigdir}/ginac.pc
125 %defattr(644,root,root,755)
126 %{_libdir}/libginac.a
129 %defattr(644,root,root,755)
130 %attr(755,root,root) %{_bindir}/ginac-excompiler
131 %attr(755,root,root) %{_bindir}/ginsh
132 %attr(755,root,root) %{_bindir}/viewgar
133 %{_mandir}/man1/ginsh.1*
134 %{_mandir}/man1/viewgar.1*