]> git.pld-linux.org Git - packages/GiNaC.git/blob - GiNaC.spec
- fixed install - now builds
[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         DESTDIR=$RPM_BUILD_ROOT
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %post devel
90 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
91
92 %preun devel
93 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
94
95 %files
96 %defattr(644,root,root,755)
97 %doc AUTHORS ChangeLog NEWS README
98 %attr(755,root,root) %{_libdir}/lib*.so.*.*
99
100 %files devel
101 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_bindir}/ginac-config
103 %attr(755,root,root) %{_libdir}/*.so
104 %{_libdir}/*.la
105 %{_includedir}/ginac
106 %{_infodir}/*.info*
107 %{_mandir}/man1/ginac-config.1*
108 %{_aclocaldir}/*
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/*.a
113
114 %files utils
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_bindir}/ginsh
117 %attr(755,root,root) %{_bindir}/viewgar
118 %{_mandir}/man1/ginsh.1*
119 %{_mandir}/man1/viewgar.1*
This page took 0.679867 seconds and 4 git commands to generate.