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