]>
Commit | Line | Data |
---|---|---|
4801f56a | 1 | Summary: Genius advanced calculator |
2 | Name: genius | |
5c28ae32 | 3 | Version: 0.4.2 |
4801f56a | 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 | |
109098b2 | 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 | |
4801f56a | 16 | BuildRoot: /tmp/%{name}-%{version}-root |
b334ae1f | 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 | ||
b334ae1f | 23 | %prep |
4801f56a | 24 | %setup -q |
b334ae1f | 25 | |
26 | %build | |
4801f56a | 27 | CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \ |
5c28ae32 AF |
28 | ./configure \ |
29 | --target=%{_target_platrorm} \ | |
30 | --host=%{_host} \ | |
4801f56a | 31 | --prefix=/usr/X11R6 \ |
32 | --enable-gnome \ | |
33 | --without-included-gettext | |
34 | make | |
b334ae1f | 35 | |
4801f56a | 36 | gzip -9nf README AUTHORS NEWS TODO ChangeLog |
b334ae1f | 37 | |
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
4801f56a | 41 | make prefix=$RPM_BUILD_ROOT/usr/X11R6 install |
b334ae1f | 42 | |
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
4801f56a | 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 | |
b334ae1f | 62 | |
4801f56a | 63 | %changelog |
64 |