]> git.pld-linux.org Git - packages/genius.git/blobdiff - genius.spec
- more %%{__make} macros.
[packages/genius.git] / genius.spec
index 4bf714c543df93e0fb28e2e58eaab2a5ac20be3b..d78b628ff29e7732845890380061b478eeec0142 100644 (file)
@@ -6,7 +6,7 @@ Release:        3
 License:       GPL
 Group:         X11/Applications
 Group(pl):     X11/Aplikacje
-Source:                http://ftp.5z.com/pub/genius/%{name}-%{version}.tar.gz
+Source0:       http://ftp.5z.com/pub/genius/%{name}-%{version}.tar.gz
 Patch0:                genius-applnk.patch
 Patch1:                genius-termlib.patch
 URL:           http://www.5z.com/jirka/genius.html
@@ -16,22 +16,22 @@ BuildRequires:      gtk+-devel >= 1.2.0
 BuildRequires: imlib-devel
 BuildRequires: ncurses-devel >= 5.0
 BuildRequires: readline-devel >= 4.1
-BuildRequires: XFree86-devel
 BuildRequires: gettext-devel
-BuildRoot:     /tmp/%{name}-%{version}-root
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _prefix         /usr/X11R6
 %define                _mandir         %{_prefix}/man
-%define                _applnkdir      %{_datadir}/applnk
 
 %description
-Genius is an advanced calculator and a mathematical programming language.
-It handles multiple precision floating point numbers, infinite precision
-integers, complex numbers and matrixes.
+Genius is an advanced calculator and a mathematical programming
+language. It handles multiple precision floating point numbers,
+infinite precision integers, complex numbers and matrixes.
 
 %description -l pl
 Genius jest zaawansowanym kalkulatorem i jêzykiem programowania
-matematycznego.
+matematycznego. Mozna go uzyæ do obliczeñ wykorzystuj±cych liczby
+zmiennoprzecinkowe, liczby ca³kowite o nieskoñczonej precyzji, liczby
+zespolone oraz matryce.
 
 %prep
 %setup -q
@@ -49,12 +49,12 @@ export CFLAGS LDFLAGS
        --enable-gnome \
        --disable-static \
        --without-included-gettext
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/genius/lib*so
 
This page took 0.063485 seconds and 4 git commands to generate.