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