|
@@ -1,11 +1,12 @@
|
|
-%define gpmainver 4.2
|
|
|
|
-%define gpver %{gpmainver}.5
|
|
|
|
|
|
+%define gpmainver 4.4
|
|
|
|
+%define gpver %{gpmainver}.3
|
|
|
|
|
|
Summary: A program for plotting mathematical expressions and data.
|
|
Summary: A program for plotting mathematical expressions and data.
|
|
Summary(ja): 数学系の関数やデータのプロット・プログラム
|
|
Summary(ja): 数学系の関数やデータのプロット・プログラム
|
|
Name: gnuplot
|
|
Name: gnuplot
|
|
Version: %{gpver}
|
|
Version: %{gpver}
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
|
|
+
|
|
License: gnuplot and GPLv2
|
|
License: gnuplot and GPLv2
|
|
Group: Applications/Engineering
|
|
Group: Applications/Engineering
|
|
URL: http://gnuplot.sourceforge.net/
|
|
URL: http://gnuplot.sourceforge.net/
|
|
@@ -13,17 +14,20 @@ URL: http://gnuplot.sourceforge.net/
|
|
Source: http://prdownloads.sourceforge.net/gnuplot/gnuplot-%{version}.tar.gz
|
|
Source: http://prdownloads.sourceforge.net/gnuplot/gnuplot-%{version}.tar.gz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
-BuildRequires: gd-devel >= 2.0.27, libpng-devel, tetex, zlib-devel
|
|
|
|
|
|
+BuildRequires: gd-devel >= 2.0.27, libpng-devel, zlib-devel
|
|
BuildRequires: libX11-devel, libXt-devel, wx-gtk2-devel
|
|
BuildRequires: libX11-devel, libXt-devel, wx-gtk2-devel
|
|
BuildRequires: readline-devel
|
|
BuildRequires: readline-devel
|
|
-BuildRequires: autoconf, automake
|
|
|
|
|
|
+BuildRequires: lua-devel cairo-devel pango-devel
|
|
|
|
+
|
|
|
|
+BuildRequires: texlive
|
|
|
|
+BuildRequires: texlive-collection-latexextra
|
|
BuildRequires: texinfo, emacsen
|
|
BuildRequires: texinfo, emacsen
|
|
Requires(post): install-info
|
|
Requires(post): install-info
|
|
Requires(preun): install-info
|
|
Requires(preun): install-info
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
-Packager: daisuke
|
|
|
|
|
|
+Packager: daisuke, inagaki
|
|
|
|
|
|
%description
|
|
%description
|
|
Gnuplot is a command-line driven, interactive function plotting
|
|
Gnuplot is a command-line driven, interactive function plotting
|
|
@@ -47,7 +51,7 @@ Gnuplotは関数や座標データを同時にプロットしたり、3次元化
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%build
|
|
-autoreconf -f -i
|
|
|
|
|
|
+#autoreconf -f -i
|
|
%ifarch alpha
|
|
%ifarch alpha
|
|
%define optflags -O0
|
|
%define optflags -O0
|
|
%endif
|
|
%endif
|
|
@@ -63,7 +67,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|
rm -f demo/Makefile* tutorial/Makefile*
|
|
rm -f demo/Makefile* tutorial/Makefile*
|
|
|
|
|
|
# move app-dafaults to %%_datadir
|
|
# move app-dafaults to %%_datadir
|
|
-mv $RPM_BUILD_ROOT%{_libdir}/X11 $RPM_BUILD_ROOT%{_datadir}/
|
|
|
|
|
|
+#mv $RPM_BUILD_ROOT%{_libdir}/X11 $RPM_BUILD_ROOT%{_datadir}/
|
|
|
|
|
|
# move texmf config
|
|
# move texmf config
|
|
mv $RPM_BUILD_ROOT%{_datadir}/texmf-local $RPM_BUILD_ROOT%{_datadir}/texmf
|
|
mv $RPM_BUILD_ROOT%{_datadir}/texmf-local $RPM_BUILD_ROOT%{_datadir}/texmf
|
|
@@ -79,24 +83,29 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%preun
|
|
%preun
|
|
if [ $1 = 0 ]; then
|
|
if [ $1 = 0 ]; then
|
|
- /sbin/install-info --quiet --info-dir=%{_infodir} --delete %{_infodir}/gnuplot.info.gz
|
|
|
|
|
|
+ /sbin/install-info --quiet --info-dir=%{_infodir} \
|
|
|
|
+ --delete %{_infodir}/gnuplot.info.gz
|
|
fi
|
|
fi
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%doc demo tutorial
|
|
%doc demo tutorial
|
|
-%doc README README.1ST README.exp INSTALL Copyright TODO
|
|
|
|
-%doc PATCHLEVEL VERSION BUGS ChangeLog FAQ
|
|
|
|
|
|
+%doc README README.1ST INSTALL Copyright TODO
|
|
|
|
+%doc PATCHLEVEL VERSION BUGS ChangeLog
|
|
%{_bindir}/gnuplot
|
|
%{_bindir}/gnuplot
|
|
%{_libexecdir}/gnuplot/%{gpmainver}/*
|
|
%{_libexecdir}/gnuplot/%{gpmainver}/*
|
|
%{_datadir}/gnuplot/%{gpmainver}/*
|
|
%{_datadir}/gnuplot/%{gpmainver}/*
|
|
-%{_datadir}/X11/app-defaults/Gnuplot
|
|
|
|
|
|
+#{_datadir}/X11/app-defaults/Gnuplot
|
|
%{_datadir}/texmf/tex/latex/gnuplot
|
|
%{_datadir}/texmf/tex/latex/gnuplot
|
|
%{_datadir}/emacs/site-lisp/*
|
|
%{_datadir}/emacs/site-lisp/*
|
|
%{_infodir}/gnuplot.info*
|
|
%{_infodir}/gnuplot.info*
|
|
%{_mandir}/man1/gnuplot.*
|
|
%{_mandir}/man1/gnuplot.*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-1
|
|
|
|
+- update to gnuplot-4.4.3
|
|
|
|
+- use BR: texlive instead of tetex
|
|
|
|
+
|
|
* Sun May 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.5-1
|
|
* Sun May 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.5-1
|
|
- update to gnuplot-4.2.5
|
|
- update to gnuplot-4.2.5
|
|
- drop plus patch (merged in upstream)
|
|
- drop plus patch (merged in upstream)
|