]> git.pld-linux.org Git - packages/genius.git/blobdiff - genius.spec
- added using %%{__make} macro.
[packages/genius.git] / genius.spec
index ee9df9d3afd96a7806eced9232f807001a3dd8a6..6dd9a40e08c1924f5b01f44afff85a09eb10d2cf 100644 (file)
@@ -2,11 +2,11 @@ Summary:      Genius advanced calculator
 Summary(pl):   Zaawansowany kalkulator Genius
 Name:          genius
 Version:       0.4.6
-Release:       2
+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
@@ -15,23 +15,23 @@ BuildRequires:      gnome-libs-devel
 BuildRequires: gtk+-devel >= 1.2.0
 BuildRequires: imlib-devel
 BuildRequires: ncurses-devel >= 5.0
-BuildRequires: readline-devel
-BuildRequires: XFree86-devel
+BuildRequires: readline-devel >= 4.1
 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
@@ -54,7 +54,7 @@ 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.0503749999999999 seconds and 4 git commands to generate.