]> git.pld-linux.org Git - packages/GiNaC.git/blame - GiNaC.spec
- rel 2; rebuild am/ac (fixes build)
[packages/GiNaC.git] / GiNaC.spec
CommitLineData
89645b1f 1Summary: C++ class library for symbolic calculations
78364349 2Summary(pl.UTF-8): Biblioteka klas C++ do obliczeń symbolicznych
89645b1f 3Name: GiNaC
5ab8084f 4Version: 1.4.3
306e33e2 5Release: 2
5e076016 6License: GPL v2+
ad720634 7Group: Libraries
d910f1cd 8Source0: ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ginac-%{version}.tar.bz2
5ab8084f 9# Source0-md5: abad55c4ae27d5d65f525fabefaddd05
43fda624 10Patch0: %{name}-info.patch
89645b1f 11URL: http://www.ginac.de/
9257dd3c 12BuildRequires: automake
306e33e2 13BuildRequires: autoconf
5ab8084f 14BuildRequires: bison >= 2.3
5e076016
JB
15BuildRequires: cln-devel >= 1.1.6
16BuildRequires: libstdc++-devel
306e33e2 17BuildRequires: libtool
5e076016 18BuildRequires: pkgconfig
89645b1f 19BuildRequires: readline-devel
43fda624 20BuildRequires: texinfo
5e076016 21Requires: cln >= 1.1.6
89645b1f
JB
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra
26System)") is an open framework for symbolic computation within the C++
27programming language.
28
38ca6d9e 29%description -l pl.UTF-8
ad720634 30GiNaC (co oznacza "GiNaC is Not a CAS (Computer Algebra System)") to
38ca6d9e 31otwarty szkielet do obliczeń symbolicznych w języku programowania C++.
ad720634 32
89645b1f 33%package devel
ad720634 34Summary: Header files and more to develop GiNaC applications
78364349 35Summary(pl.UTF-8): Pliki nagłówkowe i inne do tworzenia aplikacji GiNaC
ad720634 36Group: Development/Libraries
3380bca7 37Requires: %{name} = %{version}-%{release}
5e076016
JB
38Requires: cln-devel >= 1.1.6
39Requires: libstdc++-devel
89645b1f
JB
40
41%description devel
edc44af5
ER
42This package contains include files and other resources you can use to
43develop GiNaC applications.
89645b1f 44
38ca6d9e
JR
45%description devel -l pl.UTF-8
46Ten pakiet zawiera pliki nagłówkowe i inne zasoby, których można
47używać do rozwiajania aplikacji opartych na GiNaC.
ad720634 48
a3fe6057
JB
49%package static
50Summary: Static GiNaC library
78364349 51Summary(pl.UTF-8): Statyczna biblioteka GiNaC
a3fe6057
JB
52Group: Development/Libraries
53Requires: %{name}-devel = %{version}-%{release}
54
55%description static
56Static GiNaC library.
57
38ca6d9e 58%description static -l pl.UTF-8
a3fe6057
JB
59Statyczna biblioteka GiNaC.
60
89645b1f
JB
61%package utils
62Summary: GiNaC-related utilities
78364349 63Summary(pl.UTF-8): Narzędzia związane z GiNaC
ad720634 64Group: Applications/Science
89645b1f
JB
65Requires: %{name} = %{version}-%{release}
66
67%description utils
89645b1f
JB
68This package includes the ginsh ("GiNaC interactive shell") which
69provides a simple and easy-to-use CAS-like interface to GiNaC for
70non-programmers, and the tool "viewgar" which displays the contents of
71GiNaC archives.
72
38ca6d9e
JR
73%description utils -l pl.UTF-8
74Ten pakiet zawiera ginsh (interaktywną powłokę GiNaC, ktora udostępnia
75prosty i łatwy w użyciu, podobny do CAS interfejs do GiNaC dla osób
76nie będących programistami) oraz narzędzie viewgar, wyświetlające
77zawartość 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
97rm -rf $RPM_BUILD_ROOT
98
8856a616
JB
99%{__make} install \
100 DESTDIR=$RPM_BUILD_ROOT
89645b1f
JB
101
102%clean
ad720634 103rm -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*
This page took 0.763011 seconds and 4 git commands to generate.