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