e1a1766a51adbc9168ebb24429efd1ca5431f226
[packages/genius.git] / genius.spec
1 %define  ver     0.4.1
2 %define  rel     1
3 %define  prefix  /usr
4
5 Summary: Genius advanced calculator
6 Name: genius
7 Version: %ver
8 Release: %rel
9 Copyright: GPL
10 Group: X11/Applications
11 Source: genius-%{ver}.tar.gz
12 Url: http://www.gnome.org/
13 BuildRoot: /var/tmp/genius-%{ver}-root
14 Prefix: %prefix
15
16 %description
17 Genius is an advanced calculator and a mathematical programming language.
18 It handles multiple precision floating point numbers, infinite precision
19 integers, complex numbers and matrixes.
20
21 %changelog
22 * Tue Apr 20 1999 Erik Walthinsen <omega@cse.ogi.edu>
23 - added spec.in file, changes to makefiles as approrpiate
24
25 %prep
26 %setup
27
28 %build
29 ./configure --prefix=%prefix
30
31 if [ "$SMP" != "" ]; then
32   (make "MAKE=make -k -j $SMP"; exit 0)
33   make
34 else
35   make
36 fi
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 make prefix=$RPM_BUILD_ROOT%{prefix} install
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(-, root, root)
48
49 %doc README ABOUT-NLS AUTHORS COPYING NEWS TODO ChangeLog
50
51 %{prefix}/bin/*
52 %{prefix}/share/locale/*/*/*
53 %{prefix}/share/genius/*
54 %{prefix}/share/apps/Utilities/*
This page took 0.067378 seconds and 2 git commands to generate.