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