X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=geg.spec;h=ec437a1f8b6adb6a888710e1248057e3a2c4c611;hb=ab46c310b98cfe96545784a6ec8ab87d4513e366;hp=7b05824200d685d2d5881fb86fe58c22e00c9fb7;hpb=63e158fb698f856aa16026b454814c572890192c;p=packages%2Fgeg.git diff --git a/geg.spec b/geg.spec index 7b05824..ec437a1 100644 --- a/geg.spec +++ b/geg.spec @@ -1,60 +1,57 @@ -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 +Summary(pl): Program do rysowania dwuwymiarowych wykresów funkcji matematycznych +Name: geg +Version: 1.0.2 +Release: 2 +License: GPL +Group: Applications/Engineering +Source0: http://www.infolaunch.com/~daveb/%{name}-%{version}.tar.gz +BuildRequires: autoconf +BuildRequires: automake +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. + +%description -l pl +Geg (GTK+ Equation Grapher) jest prostym programem rysuj±cym wykresy +funkcji matematycznych (np. f(x) = 3 + sin(x/2)). Geg pozwala ci na +ogl±danie wielu wykresów równocze¶nie, przy czym ka¿da funkcja jest +rysowana innym kolorem. Funkcje mog± byæ selektywnie usuwane. Widok +okreslonych regionów mo¿e byæ powiêkszany i zmniejszany. %prep %setup -q %build +rm -f missing +aclocal +autoconf +automake -a -c %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 +%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 -- updated to 1.0.2 -- updtaed URLs - -* Mon Jan 10 2000 Tim Powers -- rebuilt for 6.2 - -* Wed Jul 14 1999 Tim Powers -- rebuilt for 6.1 - -* Mon Apr 12 1999 Michael Maher -- built package for 6.0 - -* Tue Oct 06 1998 Michael Maher -- updated package - -* Mon Aug 10 1998 Michael Maher -- built package +%defattr(644,root,root,755) +%doc *.gz +%attr(755,root,root) %{_bindir}/* +%{_mandir}/man1/*