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