]> git.pld-linux.org Git - packages/geg.git/commitdiff
- completly rewrited in PLD style. geg-1_0_2-1
authorkloczek <kloczek@pld-linux.org>
Wed, 25 Oct 2000 07:11:16 +0000 (07:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    geg.spec -> 1.2

geg.spec

index 7b05824200d685d2d5881fb86fe58c22e00c9fb7..d8a379d0d9e961cd5dca0b0e9d21d07617a7a894 100644 (file)
--- a/geg.spec
+++ b/geg.spec
@@ -1,60 +1,45 @@
-Summary: A program for drawing two-dimensional mathematical functions.
-Name: geg
-Version: 1.0.2
-Release: 1
-Copyright: GPL
-Group: Applications/Engineering
-Source0: http://www.infolaunch.com/~daveb/geg-%{version}.tar.gz 
-URL: http://www.infolaunch.com/~daveb 
-BuildRoot: /var/tmp/geg-root
+Summary:       A program for drawing two-dimensional mathematical functions
+Name:          geg
+Version:       1.0.2
+Release:       1
+License:       GPL
+Group:         Applications/Engineering
+Group(de):     Applikationen/Ingenieurwesen
+Group(pl):     Aplikacje/In¿ynierskie
+Source0:       http://www.infolaunch.com/~daveb/%{name}-%{version}.tar.gz
+BuildRequires: gtk+-devel
+URL:           http://www.infolaunch.com/~daveb/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
 
 %description
 Geg (GTK+ Equation Grapher)is a simple program which will draw
 two-dimensional mathematical functions (e.g., f(x) = 3 + sin(x/2)).
 Geg allows you view multiple functions simultaneously, with each
-function drawn in a different color.  Functions can be selectively
-erased.  Geg's view can be zoomed in and out on selected regions.
+function drawn in a different color. Functions can be selectively
+erased. Geg's view can be zoomed in and out on selected regions.
 
 %prep
 %setup -q
 
 %build
 %configure
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-make prefix=$RPM_BUILD_ROOT%{_prefix} install 
-
-strip $RPM_BUILD_ROOT%{_prefix}/bin/* || :
+gzip -9nf AUTHORS ChangeLog NEWS README
 
 %clean 
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root) 
-%doc AUTHORS COPYING ChangeLog NEWS README
-%{_prefix}/bin/*
-%{_prefix}/man/*/*
-
-%changelog 
-* Wed May 10 2000 Tim Powers <timp@redhat.com>
-- updated to 1.0.2
-- updtaed URLs
-
-* Mon Jan 10 2000 Tim Powers <timp@redhat.com>
-- rebuilt for 6.2
-
-* Wed Jul 14 1999 Tim Powers <timp@redhat.com>
-- rebuilt for 6.1
-
-* Mon Apr 12 1999 Michael Maher <mike@redhat.com>
-- built package for 6.0
-
-* Tue Oct 06 1998 Michael Maher <mike@redhat.com>
-- updated package
-
-* Mon Aug 10 1998 Michael Maher <mike@redhat.com>
-- built package                                                  
+%defattr(644,root,root,755)
+%doc *.gz
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
This page took 0.075503 seconds and 4 git commands to generate.