]>
Commit | Line | Data |
---|---|---|
4801f56a | 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 | |
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" \ |
28 | ./configure %{_target} \ | |
29 | --prefix=/usr/X11R6 \ | |
30 | --enable-gnome \ | |
31 | --without-included-gettext | |
32 | make | |
b334ae1f | 33 | |
4801f56a | 34 | gzip -9nf README AUTHORS NEWS TODO ChangeLog |
b334ae1f | 35 | |
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
4801f56a | 39 | make prefix=$RPM_BUILD_ROOT/usr/X11R6 install |
b334ae1f | 40 | |
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
4801f56a | 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 | |
b334ae1f | 60 | |
4801f56a | 61 | %changelog |
62 |