- added BuildPrereq rules.
[packages/genius.git] / genius.spec
1 Summary:        Genius advanced calculator
2 Name:           genius
3 Version:        0.4.1
4 Release:        1
5 Copyright:      GPL
6 Group:          X11/Applications
7 Source:         http://ftp.5z.com/pub/genius/%{name}-%{version}.tar.gz
8 URL:            http://www.5z.com/jirka/linux.html#genius
9 BuildPrereq:    gmp-devel
10 BuildPrereq:    gnome-libs-devel
11 BuildPrereq:    gtk+-devel
12 BuildPrereq:    imlib-devel
13 BuildPrereq:    ncurses-devel
14 BuildPrereq:    readline-devel
15 BuildPrereq:    XFree86-devel
16 BuildRoot:      /tmp/%{name}-%{version}-root
17
18 %description
19 Genius is an advanced calculator and a mathematical programming language.
20 It handles multiple precision floating point numbers, infinite precision
21 integers, complex numbers and matrixes.
22
23 %prep
24 %setup -q
25
26 %build
27 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
28 ./configure %{_target} \
29         --prefix=/usr/X11R6 \
30         --enable-gnome \
31         --without-included-gettext
32 make
33
34 gzip -9nf README AUTHORS NEWS TODO ChangeLog
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 make prefix=$RPM_BUILD_ROOT/usr/X11R6 install
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc *.gz
47 %attr(755,root,root) /usr/X11R6/bin/*
48 /usr/X11R6/share/genius
49 /usr/X11R6/share/apps/Utilities/*
50
51 %lang(de) /usr/X11R6/share/locale/de/LC_MESSAGES/genius.mo
52 %lang(es) /usr/X11R6/share/locale/es/LC_MESSAGES/genius.mo
53 %lang(fr) /usr/X11R6/share/locale/fr/LC_MESSAGES/genius.mo
54 %lang(it) /usr/X11R6/share/locale/it/LC_MESSAGES/genius.mo
55 %lang(ko) /usr/X11R6/share/locale/ko/LC_MESSAGES/genius.mo
56 %lang(cs) /usr/X11R6/share/locale/cs/LC_MESSAGES/genius.mo
57 %lang(no) /usr/X11R6/share/locale/no/LC_MESSAGES/genius.mo
58 %lang(ga) /usr/X11R6/share/locale/ga/LC_MESSAGES/genius.mo
59 %lang(pt) /usr/X11R6/share/locale/pt/LC_MESSAGES/genius.mo
60
61 %changelog
62 * Fri May  7 1999 Tomasz K¬≥oczko <kloczek@rudy.mif.pg.gda.pl>
63   [0.4.1-1]
64 - changed install prefix to /usr/X11R6,
65 - added BuildPrereq rules,
66 - added gzipping %doc,
67 - removed COPYING from %doc (copyright statment is in Copyright field),
68
69 * Tue Apr 20 1999 Erik Walthinsen <omega@cse.ogi.edu>
70 - added spec.in file, changes to makefiles as approrpiate
This page took 0.032499 seconds and 4 git commands to generate.