]> git.pld-linux.org Git - packages/genius.git/blobdiff - genius.spec
- release 6,
[packages/genius.git] / genius.spec
index 4313f868ba1ef7edbfc87ebd491ceff1db139952..058e2ace0487ab98369b8462525a3c864c36b681 100644 (file)
@@ -2,13 +2,14 @@ Summary:      Genius advanced calculator
 Summary(pl):   Zaawansowany kalkulator Genius
 Name:          genius
 Version:       0.4.6
-Release:       3
+Release:       6
 License:       GPL
 Group:         X11/Applications
+Group(de):     X11/Applikationen
 Group(pl):     X11/Aplikacje
-Source:                http://ftp.5z.com/pub/genius/%{name}-%{version}.tar.gz
-Patch0:                genius-applnk.patch
-Patch1:                genius-termlib.patch
+Source0:       http://ftp.5z.com/pub/genius/%{name}-%{version}.tar.gz
+Patch0:                %{name}-applnk.patch
+Patch1:                %{name}-termlib.patch
 URL:           http://www.5z.com/jirka/genius.html
 BuildRequires: gmp-devel
 BuildRequires: gnome-libs-devel
@@ -16,7 +17,6 @@ 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:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -24,15 +24,15 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                _mandir         %{_prefix}/man
 
 %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. Mozna go uzyæ do obliczeñ wykorzystuj±cych liczby 
-zmiennoprzecinkowe, liczby ca³kowite o nieskoñczonej precyzji, liczby zespolone
-oraz matryce.
+matematycznego. Mo¿na go u¿yæ do obliczeñ wykorzystuj±cych liczby
+zmiennoprzecinkowe, liczby ca³kowite o nieskoñczonej precyzji, liczby
+zespolone oraz macierze.
 
 %prep
 %setup -q
@@ -43,21 +43,17 @@ oraz matryce.
 autoconf
 automake
 gettextize --copy --force
-CFLAGS="$RPM_OPT_FLAGS -I/usr/include/ncurses"
-LDFLAGS="-s"
-export CFLAGS LDFLAGS
+CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g} -I/usr/include/ncurses"
 %configure \
        --enable-gnome \
        --disable-static \
        --without-included-gettext
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make install DESTDIR=$RPM_BUILD_ROOT
-
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/genius/lib*so
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 gzip -9nf README AUTHORS NEWS TODO ChangeLog
 
This page took 0.047814 seconds and 4 git commands to generate.