- release 6, STABLE genius-0_4_6-6
authorkloczek <kloczek@pld-linux.org>
Fri, 27 Oct 2000 11:47:48 +0000 (11:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- use new rpm automation,
- rebuild against gnome-libs linked with db3.

Changed files:
    genius.spec -> 1.26

genius.spec

index a810f31913229f882faf2618a7ada3856ef2fde6..058e2ace0487ab98369b8462525a3c864c36b681 100644 (file)
@@ -2,13 +2,14 @@ Summary:      Genius advanced calculator
 Summary(pl):   Zaawansowany kalkulator Genius
 Name:          genius
 Version:       0.4.6
-Release:       5
+Release:       6
 License:       GPL
 Group:         X11/Applications
+Group(de):     X11/Applikationen
 Group(pl):     X11/Aplikacje
 Source0:       http://ftp.5z.com/pub/genius/%{name}-%{version}.tar.gz
-Patch0:                genius-applnk.patch
-Patch1:                genius-termlib.patch
+Patch0:                %{name}-applnk.patch
+Patch1:                %{name}-termlib.patch
 URL:           http://www.5z.com/jirka/genius.html
 BuildRequires: gmp-devel
 BuildRequires: gnome-libs-devel
@@ -42,9 +43,7 @@ zespolone oraz macierze.
 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 \
@@ -56,8 +55,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/genius/lib*so
-
 gzip -9nf README AUTHORS NEWS TODO ChangeLog
 
 %find_lang %{name}
This page took 0.029046 seconds and 4 git commands to generate.