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