[LON-CAPA-cvs] cvs: modules /matthew/gnuplot gnuplot.spec gnuplot.spec.orig

matthew lon-capa-cvs@mail.lon-capa.org
Mon, 07 Jun 2004 21:00:19 -0000


This is a MIME encoded message

--matthew1086642019
Content-Type: text/plain

matthew		Mon Jun  7 17:00:19 2004 EDT

  Added files:                 
    /modules/matthew/gnuplot	gnuplot.spec gnuplot.spec.orig 
  Log:
  rpmbuild spec files for gnuplot 4.0.0-1
  gnuplot.spec.orig is the original one from http://trific.ath.cx/resources/rpm/
  gnuplot.spec is a stripped down version of the *.orig - no X, no ggi, 
  no PDFlib.
  
  
--matthew1086642019
Content-Type: text/plain
Content-Disposition: attachment; filename="matthew-20040607170019.txt"


Index: modules/matthew/gnuplot/gnuplot.spec
+++ modules/matthew/gnuplot/gnuplot.spec
# info pages installation and uninstallation
%define installinfo /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir
%define uninstallinfo if test "$1" = 0; then /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir; fi
Summary: A program for plotting mathematical expressions and data.
Name: gnuplot
Version: 4.0.0
Release: 1
License: Proprietary with source code, see Copyright
Group: Applications/Engineering
Source0: ftp://ftp.gnuplot.info/pub/gnuplot/gnuplot-%{version}.tar.gz
BuildPrereq: libpng-devel, tetex-latex, zlib-devel, readline-devel
BuildPrereq: ncurses-devel, freetype-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
URL: http://www.gnuplot.info/

%description
Gnuplot is a command-line driven, interactive function plotting
program especially suited for scientific data representation.  Gnuplot
can be used to plot functions and data points in both two and three
dimensions and in many different formats.

Install gnuplot if you need a graphics package for scientific data
representation.

%prep
%setup -q

%build
%configure --with-readline=gnu --without-linux-vga --with-gd --without-pdf \
  --with-gif=png --with-freetype --without-ggi --enable-history-file \
  --without-lisp-files --without-x

#test -f src/getcolor_x11.c && rm src/getcolor_x11.c
#%make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" X11_DRIVER_DIR=%{_bindir}
cd docs && make html ps

%install
[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
%makeinstall GIHDIR=$RPM_BUILD_ROOT%{_datadir}/gnuplot/4.0/

# fix insane install paths
#mv $RPM_BUILD_ROOT%{_libexecdir}/gnuplot/4.0/gnuplot_x11 $RPM_BUILD_ROOT%{_bindir}

# remove unpackaged files from the buildroot
%__rm -rf $RPM_BUILD_ROOT%{_infodir}/dir

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT

%post
%installinfo

%postun
%uninstallinfo

%files
%defattr(-,root,root)
%doc docs/gnuplot.html docs/gnuplot.ps docs/psdoc demo BUGS ChangeLog CodeStyle Copyright FAQ INSTALL NEWS PGPKEYS PORTING README README.1ST README.exp TODO
%{_bindir}/gnuplot*
%{_mandir}/man1/gnuplot.*
%{_datadir}/gnuplot/4.0/gnuplot.gih
%{_infodir}/gnuplot.info*

%changelog
* Mon Jun  7 2004 matthew
- Removed dependence on ggi and PDFlib
- Modified configure parameters -without-x
- Commented out X11 specific stuff

* Tue Apr 17 2004 Yeti
- updated for 4.0.0
- proper info manual installation

* Tue Aug 05 2003 Yeti
- added --without-lisp-files
- more path fixes

* Sat May 03 2003 Yeti
- built with much more stuff included (gd, freetype, ggi, PDFlib)
- added more docs, namely the license

* Fri May 02 2003 Yeti
- updated to 3.8i.0 (silly version number!)
- added readline-devel build dependency
- fixed docs generation for 3.8
- added rm src/getcolor_x11.c
- fixed X11_DRIVER_DIR location

* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt

* Tue Jan 21 2003 Bill Nottingham <notting@redhat.com> 3.7.3-1
- update to 3.7.3
- don't bother patching it to do jpegs with gd instead of gifs,
  as we haven't been building it with gd support anyway

* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 3.7.2-2
- remove unpackaged files from the buildroot

* Thu Jul 18 2002 Bill Nottingham <notting@redhat.com> 3.7.2-1
- update to 3.7.2

* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Thu Feb 21 2002 Bill Nottingham <notting@redhat.com>
- rebuild

* Wed Jan 23 2002 Bill Nottingham <notting@redhat.com> 3.7.1-16
- fix bug #43620 (<broeker@physik.rwth-aachen.de>)

* Tue Jan 22 2002 Bill Nottingham <notting@redhat.com> 3.7.1-15
- fix bug #21341 (<wtcorrea@cs.princeton.edu>)

* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Fri May 11 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.7.1-13
- rebuild with new readline
- Fix up License: and URL: tags in specfile

* Tue Aug 22 2000 Bill Nottingham <notting@redhat.com>
- remove zlib-devel requirement (#16718)

* Wed Aug 02 2000 Trond Eivind Glomsrød <teg@redhat.com>
- rebuild with libpng 1.0.8

* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild

* Mon Jun 18 2000 Bill Nottingham <notting@redhat.com>
- fix  manpage paths

* Fri Jun  9 2000 Bill Nottingham <notting@redhat.com>
- rebuild in new environment

* Fri May 19 2000 Nalin Dahyabhai <nalin@redhat.com>
- rebuild with new gd, changing gif terminal to jpeg terminal (release 7)

* Mon May 08 2000 Preston Brown <pbrown@redhat.com>
- build for 7.0

* Thu Apr  6 2000 Bill Nottingham <notting@redhat.com>
- use gnu readline, not built-in version

* Mon Apr  3 2000 Bill Nottingham <notting@redhat.com>
- add latex tutorial, demo files, other docs (#10508)

* Wed Mar  1 2000 Bill Nottingham <notting@redhat.com>
- update to 3.7.1. Oops.

* Thu Feb  3 2000 Bill Nottingham <notting@redhat.com>
- handle compressed man pages

* Thu Nov  4 1999 Bill Nottingham <notting@redhat.com>
- update to 3.7.1

* Mon Oct 11 1999 Bill Nottingham <notting@redhat.com>
- ship some docs.

* Wed Aug 18 1999 Bill Nottingham <notting@redhat.com>
- add a patch to fix postscript output from Bernd Kischnick
 (kisch@die-herrmanns.de)

* Fri Jul 30 1999 Bill Nottingham <notting@redhat.com>
- fix license

* Thu Jul 15 1999 Bill Nottingham <notting@redhat.com>
- rebuild without svgalib

* Tue Jun 15 1999 Bill Nottingham <notting@redhat.com>
- update to 3.7.0.1

* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
- auto rebuild in the new build environment (release 2)

* Tue Feb  2 1999 Jeff Johnson <jbj@redhat.com>
- update to 3.7.

* Thu Dec 17 1998 Michael Maher <mike@redhat.com>
- built package for 6.0

* Fri Sep 11 1998 Jeff Johnson <jbj@redhat.com>
- update to 2.6beta347

* Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
- build root

* Thu May 07 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr

* Mon Oct 20 1997 Donnie Barnes <djb@redhat.com>
- spec file cleanups

* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
- built against glibc

Index: modules/matthew/gnuplot/gnuplot.spec.orig
+++ modules/matthew/gnuplot/gnuplot.spec.orig
# info pages installation and uninstallation
%define installinfo /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir
%define uninstallinfo if test "$1" = 0; then /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir; fi
Summary: A program for plotting mathematical expressions and data.
Name: gnuplot
Version: 4.0.0
Release: 1
License: Proprietary with source code, see Copyright
Group: Applications/Engineering
Source0: ftp://ftp.gnuplot.info/pub/gnuplot/gnuplot-%{version}.tar.gz
BuildPrereq: libpng-devel, tetex-latex, zlib-devel, readline-devel
BuildPrereq: ncurses-devel, ggi-devel, freetype-devel, PDFlib-Lite
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
URL: http://www.gnuplot.info/

%description
Gnuplot is a command-line driven, interactive function plotting
program especially suited for scientific data representation.  Gnuplot
can be used to plot functions and data points in both two and three
dimensions and in many different formats.

Install gnuplot if you need a graphics package for scientific data
representation.

%prep
%setup -q

%build
%configure --with-readline=gnu --without-linux-vga --with-gd --with-pdf \
  --with-gif=png --with-freetype --with-ggi --enable-history-file \
  --without-lisp-files

test -f src/getcolor_x11.c && rm src/getcolor_x11.c
%make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" X11_DRIVER_DIR=%{_bindir}
cd docs && make html ps

%install
[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
%makeinstall GIHDIR=$RPM_BUILD_ROOT%{_datadir}/gnuplot/4.0/

# fix insane install paths
mv $RPM_BUILD_ROOT%{_libexecdir}/gnuplot/4.0/gnuplot_x11 $RPM_BUILD_ROOT%{_bindir}

# remove unpackaged files from the buildroot
%__rm -rf $RPM_BUILD_ROOT%{_infodir}/dir

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT

%post
%installinfo

%postun
%uninstallinfo

%files
%defattr(-,root,root)
%doc docs/gnuplot.html docs/gnuplot.ps docs/psdoc demo BUGS ChangeLog CodeStyle Copyright FAQ INSTALL NEWS PGPKEYS PORTING README README.1ST README.exp TODO
%{_bindir}/gnuplot*
%{_mandir}/man1/gnuplot.*
%{_datadir}/gnuplot/4.0/gnuplot.gih
%{_infodir}/gnuplot.info*

%changelog
* Tue Apr 17 2004 Yeti
- updated for 4.0.0
- proper info manual installation

* Tue Aug 05 2003 Yeti
- added --without-lisp-files
- more path fixes

* Sat May 03 2003 Yeti
- built with much more stuff included (gd, freetype, ggi, PDFlib)
- added more docs, namely the license

* Fri May 02 2003 Yeti
- updated to 3.8i.0 (silly version number!)
- added readline-devel build dependency
- fixed docs generation for 3.8
- added rm src/getcolor_x11.c
- fixed X11_DRIVER_DIR location

* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt

* Tue Jan 21 2003 Bill Nottingham <notting@redhat.com> 3.7.3-1
- update to 3.7.3
- don't bother patching it to do jpegs with gd instead of gifs,
  as we haven't been building it with gd support anyway

* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 3.7.2-2
- remove unpackaged files from the buildroot

* Thu Jul 18 2002 Bill Nottingham <notting@redhat.com> 3.7.2-1
- update to 3.7.2

* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Thu Feb 21 2002 Bill Nottingham <notting@redhat.com>
- rebuild

* Wed Jan 23 2002 Bill Nottingham <notting@redhat.com> 3.7.1-16
- fix bug #43620 (<broeker@physik.rwth-aachen.de>)

* Tue Jan 22 2002 Bill Nottingham <notting@redhat.com> 3.7.1-15
- fix bug #21341 (<wtcorrea@cs.princeton.edu>)

* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Fri May 11 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.7.1-13
- rebuild with new readline
- Fix up License: and URL: tags in specfile

* Tue Aug 22 2000 Bill Nottingham <notting@redhat.com>
- remove zlib-devel requirement (#16718)

* Wed Aug 02 2000 Trond Eivind Glomsrød <teg@redhat.com>
- rebuild with libpng 1.0.8

* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild

* Mon Jun 18 2000 Bill Nottingham <notting@redhat.com>
- fix  manpage paths

* Fri Jun  9 2000 Bill Nottingham <notting@redhat.com>
- rebuild in new environment

* Fri May 19 2000 Nalin Dahyabhai <nalin@redhat.com>
- rebuild with new gd, changing gif terminal to jpeg terminal (release 7)

* Mon May 08 2000 Preston Brown <pbrown@redhat.com>
- build for 7.0

* Thu Apr  6 2000 Bill Nottingham <notting@redhat.com>
- use gnu readline, not built-in version

* Mon Apr  3 2000 Bill Nottingham <notting@redhat.com>
- add latex tutorial, demo files, other docs (#10508)

* Wed Mar  1 2000 Bill Nottingham <notting@redhat.com>
- update to 3.7.1. Oops.

* Thu Feb  3 2000 Bill Nottingham <notting@redhat.com>
- handle compressed man pages

* Thu Nov  4 1999 Bill Nottingham <notting@redhat.com>
- update to 3.7.1

* Mon Oct 11 1999 Bill Nottingham <notting@redhat.com>
- ship some docs.

* Wed Aug 18 1999 Bill Nottingham <notting@redhat.com>
- add a patch to fix postscript output from Bernd Kischnick
 (kisch@die-herrmanns.de)

* Fri Jul 30 1999 Bill Nottingham <notting@redhat.com>
- fix license

* Thu Jul 15 1999 Bill Nottingham <notting@redhat.com>
- rebuild without svgalib

* Tue Jun 15 1999 Bill Nottingham <notting@redhat.com>
- update to 3.7.0.1

* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
- auto rebuild in the new build environment (release 2)

* Tue Feb  2 1999 Jeff Johnson <jbj@redhat.com>
- update to 3.7.

* Thu Dec 17 1998 Michael Maher <mike@redhat.com>
- built package for 6.0

* Fri Sep 11 1998 Jeff Johnson <jbj@redhat.com>
- update to 2.6beta347

* Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
- build root

* Thu May 07 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr

* Mon Oct 20 1997 Donnie Barnes <djb@redhat.com>
- spec file cleanups

* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
- built against glibc

--matthew1086642019--