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