- now spec is PLD coding style compliant.
authorkloczek <kloczek@pld-linux.org>
Fri, 14 May 1999 18:49:58 +0000 (18:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    genius.spec -> 1.2

genius.spec

index e1a1766a51adbc9168ebb24429efd1ca5431f226..9e2fbf13214b61fdde927191b58ca8464626f3cd 100644 (file)
@@ -1,54 +1,61 @@
-%define  ver     0.4.1
-%define  rel     1
-%define  prefix  /usr
-
-Summary: Genius advanced calculator
-Name: genius
-Version: %ver
-Release: %rel
-Copyright: GPL
-Group: X11/Applications
-Source: genius-%{ver}.tar.gz
-Url: http://www.gnome.org/
-BuildRoot: /var/tmp/genius-%{ver}-root
-Prefix: %prefix
+Summary:       Genius advanced calculator
+Name:          genius
+Version:       0.4.1
+Release:       1
+Copyright:     GPL
+Group:         X11/Applications
+Source:                http://ftp.5z.com/pub/genius/%{name}-%{version}.tar.gz
+URL:           http://www.5z.com/jirka/linux.html#genius
+BuildRoot:     /tmp/%{name}-%{version}-root
 
 %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.
 
-%changelog
-* Tue Apr 20 1999 Erik Walthinsen <omega@cse.ogi.edu>
-- added spec.in file, changes to makefiles as approrpiate
-
 %prep
-%setup
+%setup -q
 
 %build
-./configure --prefix=%prefix
+CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
+./configure %{_target} \
+       --prefix=/usr/X11R6 \
+       --enable-gnome \
+       --without-included-gettext
+make
 
-if [ "$SMP" != "" ]; then
-  (make "MAKE=make -k -j $SMP"; exit 0)
-  make
-else
-  make
-fi
+gzip -9nf README AUTHORS NEWS TODO ChangeLog
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make prefix=$RPM_BUILD_ROOT%{prefix} install
+make prefix=$RPM_BUILD_ROOT/usr/X11R6 install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-, root, root)
+%defattr(644,root,root,755)
+%doc *.gz
+%attr(755,root,root) /usr/X11R6/bin/*
+/usr/X11R6/share/genius
+/usr/X11R6/share/apps/Utilities/*
+
+%lang(de) /usr/X11R6/share/locale/de/LC_MESSAGES/genius.mo
+%lang(es) /usr/X11R6/share/locale/es/LC_MESSAGES/genius.mo
+%lang(fr) /usr/X11R6/share/locale/fr/LC_MESSAGES/genius.mo
+%lang(it) /usr/X11R6/share/locale/it/LC_MESSAGES/genius.mo
+%lang(ko) /usr/X11R6/share/locale/ko/LC_MESSAGES/genius.mo
+%lang(cs) /usr/X11R6/share/locale/cs/LC_MESSAGES/genius.mo
+%lang(no) /usr/X11R6/share/locale/no/LC_MESSAGES/genius.mo
+%lang(ga) /usr/X11R6/share/locale/ga/LC_MESSAGES/genius.mo
+%lang(pt) /usr/X11R6/share/locale/pt/LC_MESSAGES/genius.mo
 
-%doc README ABOUT-NLS AUTHORS COPYING NEWS TODO ChangeLog
+%changelog
+* Fri May  7 1999 Tomasz K¬≥oczko <kloczek@rudy.mif.pg.gda.pl>
+  [0.4.1-1]
+- changed install prefix to /usr/X11R6,
+- removed COPYING from %doc (copyright statment is in Copyright field),
 
-%{prefix}/bin/*
-%{prefix}/share/locale/*/*/*
-%{prefix}/share/genius/*
-%{prefix}/share/apps/Utilities/*
+* Tue Apr 20 1999 Erik Walthinsen <omega@cse.ogi.edu>
+- added spec.in file, changes to makefiles as approrpiate
This page took 0.528871 seconds and 4 git commands to generate.