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