- now spec is PLD coding style compliant.
[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 BuildRoot:      /tmp/%{name}-%{version}-root
10
11 %description
12 Genius is an advanced calculator and a mathematical programming language.
13 It handles multiple precision floating point numbers, infinite precision
14 integers, complex numbers and matrixes.
15
16 %prep
17 %setup -q
18
19 %build
20 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
21 ./configure %{_target} \
22         --prefix=/usr/X11R6 \
23         --enable-gnome \
24         --without-included-gettext
25 make
26
27 gzip -9nf README AUTHORS NEWS TODO ChangeLog
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31
32 make prefix=$RPM_BUILD_ROOT/usr/X11R6 install
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %doc *.gz
40 %attr(755,root,root) /usr/X11R6/bin/*
41 /usr/X11R6/share/genius
42 /usr/X11R6/share/apps/Utilities/*
43
44 %lang(de) /usr/X11R6/share/locale/de/LC_MESSAGES/genius.mo
45 %lang(es) /usr/X11R6/share/locale/es/LC_MESSAGES/genius.mo
46 %lang(fr) /usr/X11R6/share/locale/fr/LC_MESSAGES/genius.mo
47 %lang(it) /usr/X11R6/share/locale/it/LC_MESSAGES/genius.mo
48 %lang(ko) /usr/X11R6/share/locale/ko/LC_MESSAGES/genius.mo
49 %lang(cs) /usr/X11R6/share/locale/cs/LC_MESSAGES/genius.mo
50 %lang(no) /usr/X11R6/share/locale/no/LC_MESSAGES/genius.mo
51 %lang(ga) /usr/X11R6/share/locale/ga/LC_MESSAGES/genius.mo
52 %lang(pt) /usr/X11R6/share/locale/pt/LC_MESSAGES/genius.mo
53
54 %changelog
55 * Fri May  7 1999 Tomasz K¬≥oczko <kloczek@rudy.mif.pg.gda.pl>
56   [0.4.1-1]
57 - changed install prefix to /usr/X11R6,
58 - removed COPYING from %doc (copyright statment is in Copyright field),
59
60 * Tue Apr 20 1999 Erik Walthinsen <omega@cse.ogi.edu>
61 - added spec.in file, changes to makefiles as approrpiate
This page took 0.043206 seconds and 4 git commands to generate.