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