kupa drobnych poprawek (teraz te pakiety buduja sie poprawnie)
[packages/genius.git] / genius.spec
1 Summary:        Genius advanced calculator
2 Name:           genius
3 Version:        0.4.2
4 Release:        2
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 %define _prefix /usr/X11R6
19
20 %description
21 Genius is an advanced calculator and a mathematical programming language.
22 It handles multiple precision floating point numbers, infinite precision
23 integers, complex numbers and matrixes.
24
25 %prep
26 %setup -q
27
28 %build
29 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
30 %configure \
31         --enable-gnome \
32         --without-included-gettext
33 make
34
35 gzip -9nf README AUTHORS NEWS TODO ChangeLog
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 make install prefix=$RPM_BUILD_ROOT/usr/X11R6 \
41         bindir=$RPM_BUILD_ROOT/%{_bindir} \
42         datadir=$RPM_BUILD_ROOT/%{_datadir}
43
44 %find_lang %{name}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files -f genius.lang
50 %defattr(644,root,root,755)
51 %doc *.gz
52 %attr(755,root,root) /usr/X11R6/bin/*
53 /usr/X11R6/share/genius
54 /usr/X11R6/share/apps/Utilities/*
55
56
57 %changelog
58 * Mon Jun 07 1999 Jan Rêkorajski <baggins@pld.org.pl>
59   [0.4.2-2]
60 - spec cleanup
61 - added find_lang macro
62
63 * Fri May  7 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
64   [0.4.1-1]
65 - changed install prefix to /usr/X11R6,
66 - added BuildPrereq rules,
67 - added gzipping %doc,
68 - removed COPYING from %doc (copyright statment is in Copyright field),
69
70 * Tue Apr 20 1999 Erik Walthinsen <omega@cse.ogi.edu>
71 - added spec.in file, changes to makefiles as approrpiate
This page took 0.03866 seconds and 4 git commands to generate.