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