- added missing translations
[packages/genius.git] / genius.spec
1 Summary:        Genius advanced calculator
2 Summary(pl):    Zaawansowany kalkulator Genius
3 Name:           genius
4 Version:        0.4.2
5 Release:        2
6 Copyright:      GPL
7 Group:          X11/Applications
8 Source:         http://ftp.5z.com/pub/genius/%{name}-%{version}.tar.gz
9 URL:            http://www.5z.com/jirka/linux.html#genius
10 BuildRequires:  gmp-devel
11 BuildRequires:  gnome-libs-devel
12 BuildRequires:  gtk+-devel
13 BuildRequires:  imlib-devel
14 BuildRequires:  ncurses-devel
15 BuildRequires:  readline-devel
16 BuildRequires:  XFree86-devel
17 BuildRoot:      /tmp/%{name}-%{version}-root
18
19 %define         _prefix /usr/X11R6
20 %define         _mandir /usr/X11R6
21
22 %description
23 Genius is an advanced calculator and a mathematical programming language.
24 It handles multiple precision floating point numbers, infinite precision
25 integers, complex numbers and matrixes.
26
27 %description -l pl
28 Genius jest zaawansowanym kalkulatorem i j√™zykiem programowania matematycznego.
29
30 %prep
31 %setup -q
32
33 %build
34 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
35 %configure \
36         --enable-gnome \
37         --without-included-gettext
38 make
39
40 gzip -9nf README AUTHORS NEWS TODO ChangeLog
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 make install prefix=$RPM_BUILD_ROOT/usr/X11R6 \
46         bindir=$RPM_BUILD_ROOT/%{_bindir} \
47         datadir=$RPM_BUILD_ROOT/%{_datadir}
48
49 %find_lang %{name}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files -f %{name}.lang
55 %defattr(644,root,root,755)
56 %doc *.gz
57 %attr(755,root,root) /usr/X11R6/bin/*
58 /usr/X11R6/share/genius
59 /usr/X11R6/share/apps/Utilities/*
This page took 0.033173 seconds and 4 git commands to generate.