auto-import changelog data from gnuplot-4.0.0-1.src.rpm
Thu Aug 12 2004 Phil Knirsch <pknirsch@redhat.com> 4.0.0-1 - Update to gnuplot-4.0.0 - Split off emacs files into new subpackage
This commit is contained in:
parent
ad2bb5f6d4
commit
d367970dc2
@ -1 +1 @@
|
|||||||
gnuplot-3.7.3.tar.gz
|
gnuplot-4.0.0.tar.gz
|
||||||
|
64
gnuplot.spec
64
gnuplot.spec
@ -1,11 +1,11 @@
|
|||||||
Summary: A program for plotting mathematical expressions and data.
|
Summary: A program for plotting mathematical expressions and data.
|
||||||
Name: gnuplot
|
Name: gnuplot
|
||||||
Version: 3.7.3
|
Version: 4.0.0
|
||||||
Release: 6
|
Release: 1
|
||||||
License: Redistributable, with restrictions
|
License: Redistributable, with restrictions
|
||||||
Group: Applications/Engineering
|
Group: Applications/Engineering
|
||||||
Source: http://prdownloads.sourceforge.net/gnuplot/gnuplot-3.7.3.tar.gz
|
Source: http://prdownloads.sourceforge.net/gnuplot/gnuplot-4.0.0.tar.gz
|
||||||
BuildPrereq: libpng-devel, tetex-latex, zlib-devel, XFree86-devel
|
BuildPrereq: libpng-devel, tetex-latex, zlib-devel, xorg-x11-devel, emacs
|
||||||
Requires: libpng
|
Requires: libpng
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
URL: http://www.gnuplot.info/
|
URL: http://www.gnuplot.info/
|
||||||
@ -19,41 +19,75 @@ dimensions and in many different formats.
|
|||||||
Install gnuplot if you need a graphics package for scientific data
|
Install gnuplot if you need a graphics package for scientific data
|
||||||
representation.
|
representation.
|
||||||
|
|
||||||
|
%package emacs
|
||||||
|
Group: Applications/Engineering
|
||||||
|
Summary: Emacs bindings for the gnuplot main application
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description emacs
|
||||||
|
The gnuplot-emacs package contains the emacs related .el files so that gnuplot
|
||||||
|
nicely interacts and integrates into emacs.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-readline=gnu --with-png --without-linux-vga \
|
%configure --with-readline=gnu --with-png --without-linux-vga \
|
||||||
--without-gd
|
--without-gd --enable-history-file
|
||||||
|
|
||||||
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
|
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
|
||||||
|
|
||||||
cd docs
|
cd docs
|
||||||
make doc2html
|
make html
|
||||||
./doc2html gnuplot.doc > gnuplot.html
|
|
||||||
cd latextut
|
|
||||||
PATH=$RPM_BUILD_DIR/gnuplot-%{version}:$PATH make
|
PATH=$RPM_BUILD_DIR/gnuplot-%{version}:$PATH make
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||||
|
|
||||||
# remove unpackaged files from the buildroot
|
%post
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
if [ "$1" = "1" ] ; then # first install
|
||||||
|
if [ -x /sbin/install-info ]; then
|
||||||
|
/sbin/install-info %{_infodir}/gnuplot.info.gz %{_infodir}/dir
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
%preun
|
||||||
|
if [ "$1" = "0" ] ; then # last uninstall
|
||||||
|
if [ -x /sbin/install-info ]; then
|
||||||
|
/sbin/install-info --delete %{_infodir}/gnuplot.info.gz %{_infodir}/dir
|
||||||
|
ir
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc docs/gnuplot.html docs/psdoc docs/latextut/tutorial.dvi demo
|
%doc docs/gnuplot.html docs/psdoc tutorial/tutorial.dvi demo
|
||||||
/usr/bin/gnuplot_x11
|
%{_libexecdir}/gnuplot/4.0/gnuplot_x11
|
||||||
/usr/bin/gnuplot
|
%{_bindir}/gnuplot
|
||||||
%{_mandir}/man1/gnuplot.*
|
%{_mandir}/man1/gnuplot.1.gz
|
||||||
/usr/share/gnuplot.gih
|
%{_datadir}/gnuplot/4.0/gnuplot.gih
|
||||||
|
%{_infodir}/gnuplot.info.gz
|
||||||
|
|
||||||
|
%files emacs
|
||||||
|
%{_datadir}/emacs/site-lisp/gnuplot-gui.el
|
||||||
|
%{_datadir}/emacs/site-lisp/gnuplot-gui.elc
|
||||||
|
%{_datadir}/emacs/site-lisp/gnuplot.el
|
||||||
|
%{_datadir}/emacs/site-lisp/gnuplot.elc
|
||||||
|
%{_datadir}/emacs/site-lisp/info-look.20.2.el
|
||||||
|
%{_datadir}/emacs/site-lisp/info-look.20.3.el
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 12 2004 Phil Knirsch <pknirsch@redhat.com> 4.0.0-1
|
||||||
|
- Update to gnuplot-4.0.0
|
||||||
|
- Split off emacs files into new subpackage
|
||||||
|
|
||||||
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user