From 4801f56a3ebfbb16d3d0f88b9346d71e4e4e7f68 Mon Sep 17 00:00:00 2001 From: kloczek Date: Fri, 14 May 1999 18:49:58 +0000 Subject: [PATCH] - now spec is PLD coding style compliant. Changed files: genius.spec -> 1.2 --- genius.spec | 73 +++++++++++++++++++++++++++++------------------------ 1 file changed, 40 insertions(+), 33 deletions(-) diff --git a/genius.spec b/genius.spec index e1a1766..9e2fbf1 100644 --- a/genius.spec +++ b/genius.spec @@ -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 -- 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 + [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 +- added spec.in file, changes to makefiles as approrpiate -- 2.43.0