]>
Commit | Line | Data |
---|---|---|
89645b1f | 1 | Summary: C++ class library for symbolic calculations |
78364349 | 2 | Summary(pl.UTF-8): Biblioteka klas C++ do obliczeń symbolicznych |
89645b1f | 3 | Name: GiNaC |
5ab8084f | 4 | Version: 1.4.3 |
306e33e2 | 5 | Release: 2 |
5e076016 | 6 | License: GPL v2+ |
ad720634 | 7 | Group: Libraries |
d910f1cd | 8 | Source0: ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ginac-%{version}.tar.bz2 |
5ab8084f | 9 | # Source0-md5: abad55c4ae27d5d65f525fabefaddd05 |
43fda624 | 10 | Patch0: %{name}-info.patch |
89645b1f | 11 | URL: http://www.ginac.de/ |
9257dd3c | 12 | BuildRequires: automake |
306e33e2 | 13 | BuildRequires: autoconf |
5ab8084f | 14 | BuildRequires: bison >= 2.3 |
5e076016 JB |
15 | BuildRequires: cln-devel >= 1.1.6 |
16 | BuildRequires: libstdc++-devel | |
306e33e2 | 17 | BuildRequires: libtool |
5e076016 | 18 | BuildRequires: pkgconfig |
89645b1f | 19 | BuildRequires: readline-devel |
43fda624 | 20 | BuildRequires: texinfo |
5e076016 | 21 | Requires: cln >= 1.1.6 |
89645b1f JB |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra | |
26 | System)") is an open framework for symbolic computation within the C++ | |
27 | programming language. | |
28 | ||
38ca6d9e | 29 | %description -l pl.UTF-8 |
ad720634 | 30 | GiNaC (co oznacza "GiNaC is Not a CAS (Computer Algebra System)") to |
38ca6d9e | 31 | otwarty szkielet do obliczeń symbolicznych w języku programowania C++. |
ad720634 | 32 | |
89645b1f | 33 | %package devel |
ad720634 | 34 | Summary: Header files and more to develop GiNaC applications |
78364349 | 35 | Summary(pl.UTF-8): Pliki nagłówkowe i inne do tworzenia aplikacji GiNaC |
ad720634 | 36 | Group: Development/Libraries |
3380bca7 | 37 | Requires: %{name} = %{version}-%{release} |
5e076016 JB |
38 | Requires: cln-devel >= 1.1.6 |
39 | Requires: libstdc++-devel | |
89645b1f JB |
40 | |
41 | %description devel | |
edc44af5 ER |
42 | This package contains include files and other resources you can use to |
43 | develop GiNaC applications. | |
89645b1f | 44 | |
38ca6d9e JR |
45 | %description devel -l pl.UTF-8 |
46 | Ten pakiet zawiera pliki nagłówkowe i inne zasoby, których można | |
47 | używać do rozwiajania aplikacji opartych na GiNaC. | |
ad720634 | 48 | |
a3fe6057 JB |
49 | %package static |
50 | Summary: Static GiNaC library | |
78364349 | 51 | Summary(pl.UTF-8): Statyczna biblioteka GiNaC |
a3fe6057 JB |
52 | Group: Development/Libraries |
53 | Requires: %{name}-devel = %{version}-%{release} | |
54 | ||
55 | %description static | |
56 | Static GiNaC library. | |
57 | ||
38ca6d9e | 58 | %description static -l pl.UTF-8 |
a3fe6057 JB |
59 | Statyczna biblioteka GiNaC. |
60 | ||
89645b1f JB |
61 | %package utils |
62 | Summary: GiNaC-related utilities | |
78364349 | 63 | Summary(pl.UTF-8): Narzędzia związane z GiNaC |
ad720634 | 64 | Group: Applications/Science |
89645b1f JB |
65 | Requires: %{name} = %{version}-%{release} |
66 | ||
67 | %description utils | |
89645b1f JB |
68 | This package includes the ginsh ("GiNaC interactive shell") which |
69 | provides a simple and easy-to-use CAS-like interface to GiNaC for | |
70 | non-programmers, and the tool "viewgar" which displays the contents of | |
71 | GiNaC archives. | |
72 | ||
38ca6d9e JR |
73 | %description utils -l pl.UTF-8 |
74 | Ten pakiet zawiera ginsh (interaktywną powłokę GiNaC, ktora udostępnia | |
75 | prosty i łatwy w użyciu, podobny do CAS interfejs do GiNaC dla osób | |
76 | nie będących programistami) oraz narzędzie viewgar, wyświetlające | |
77 | zawartość archiwów GiNaC. | |
ad720634 | 78 | |
89645b1f | 79 | %prep |
d910f1cd | 80 | %setup -q -n ginac-%{version} |
43fda624 | 81 | %patch0 -p1 |
89645b1f | 82 | |
5ab8084f JB |
83 | # generated with wrong bison version, miscompiled by gcc 4.1+ |
84 | %{__rm} ginac/input_parser.{cc,h} | |
85 | ||
89645b1f | 86 | %build |
306e33e2 AM |
87 | %{__libtoolize} |
88 | %{__aclocal} | |
89 | %{__autoconf} | |
90 | %{__automake} | |
3380bca7 JB |
91 | %configure |
92 | %{__make} | |
93 | ||
94 | %{__make} check | |
89645b1f JB |
95 | |
96 | %install | |
97 | rm -rf $RPM_BUILD_ROOT | |
98 | ||
8856a616 JB |
99 | %{__make} install \ |
100 | DESTDIR=$RPM_BUILD_ROOT | |
89645b1f JB |
101 | |
102 | %clean | |
ad720634 | 103 | rm -rf $RPM_BUILD_ROOT |
89645b1f JB |
104 | |
105 | %post -p /sbin/ldconfig | |
106 | %postun -p /sbin/ldconfig | |
107 | ||
5ab8084f | 108 | %post devel -p /sbin/postshell |
7c16c255 | 109 | -/usr/sbin/fix-info-dir -c %{_infodir} |
89645b1f | 110 | |
5ab8084f | 111 | %postun devel -p /sbin/postshell |
f97fe2e2 | 112 | -/usr/sbin/fix-info-dir -c %{_infodir} |
89645b1f JB |
113 | |
114 | %files | |
115 | %defattr(644,root,root,755) | |
116 | %doc AUTHORS ChangeLog NEWS README | |
5e076016 JB |
117 | %attr(755,root,root) %{_libdir}/libginac-*.so.*.*.* |
118 | %attr(755,root,root) %ghost %{_libdir}/libginac-*.so.0 | |
89645b1f JB |
119 | |
120 | %files devel | |
121 | %defattr(644,root,root,755) | |
d910f1cd JB |
122 | %attr(755,root,root) %{_libdir}/libginac.so |
123 | %{_libdir}/libginac.la | |
ad720634 | 124 | %{_includedir}/ginac |
5e076016 JB |
125 | %{_infodir}/ginac.info* |
126 | %{_infodir}/ginac-examples.info* | |
d910f1cd | 127 | %{_pkgconfigdir}/ginac.pc |
89645b1f | 128 | |
ad720634 JB |
129 | %files static |
130 | %defattr(644,root,root,755) | |
d910f1cd | 131 | %{_libdir}/libginac.a |
ad720634 | 132 | |
89645b1f JB |
133 | %files utils |
134 | %defattr(644,root,root,755) | |
25e42cc1 | 135 | %attr(755,root,root) %{_bindir}/ginac-excompiler |
89645b1f JB |
136 | %attr(755,root,root) %{_bindir}/ginsh |
137 | %attr(755,root,root) %{_bindir}/viewgar | |
138 | %{_mandir}/man1/ginsh.1* | |
139 | %{_mandir}/man1/viewgar.1* |