]>
Commit | Line | Data |
---|---|---|
1 | Summary: Genius advanced calculator | |
2 | Name: genius | |
3 | Version: 0.4.2 | |
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 \ | |
29 | --target=%{_target_platrorm} \ | |
30 | --host=%{_host} \ | |
31 | --prefix=/usr/X11R6 \ | |
32 | --enable-gnome \ | |
33 | --without-included-gettext | |
34 | make | |
35 | ||
36 | gzip -9nf README AUTHORS NEWS TODO ChangeLog | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | make prefix=$RPM_BUILD_ROOT/usr/X11R6 install | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc *.gz | |
49 | %attr(755,root,root) /usr/X11R6/bin/* | |
50 | /usr/X11R6/share/genius | |
51 | /usr/X11R6/share/apps/Utilities/* | |
52 | ||
53 | %lang(de) /usr/X11R6/share/locale/de/LC_MESSAGES/genius.mo | |
54 | %lang(es) /usr/X11R6/share/locale/es/LC_MESSAGES/genius.mo | |
55 | %lang(fr) /usr/X11R6/share/locale/fr/LC_MESSAGES/genius.mo | |
56 | %lang(it) /usr/X11R6/share/locale/it/LC_MESSAGES/genius.mo | |
57 | %lang(ko) /usr/X11R6/share/locale/ko/LC_MESSAGES/genius.mo | |
58 | %lang(cs) /usr/X11R6/share/locale/cs/LC_MESSAGES/genius.mo | |
59 | %lang(no) /usr/X11R6/share/locale/no/LC_MESSAGES/genius.mo | |
60 | %lang(ga) /usr/X11R6/share/locale/ga/LC_MESSAGES/genius.mo | |
61 | %lang(pt) /usr/X11R6/share/locale/pt/LC_MESSAGES/genius.mo | |
62 | ||
63 | %changelog | |
64 |