SHA256
1
0
forked from pool/gnuplot
OBS User unknown 2007-09-06 20:19:11 +00:00 committed by Git OBS Bridge
parent d60ff7854f
commit 12c779a916
3 changed files with 1828 additions and 3 deletions

1806
gnuplot-4.2.0-demo.dif Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Sep 5 17:02:11 CEST 2007 - werner@suse.de
- Correct name of app-defaults file
- Make samples in demo directory usable from any path
thanks goes to Dieter Jurzitza
-------------------------------------------------------------------
Wed May 30 16:12:19 CEST 2007 - werner@suse.de

View File

@ -13,12 +13,12 @@
Name: gnuplot
BuildRequires: cairo-devel freetype2-devel gcc-c++ gd-devel gtk2-devel latex2html libjpeg-devel libpng-devel pango-devel plotutils readline-devel texlive-latex wxGTK-devel xorg-x11-devel
URL: http://www.gnuplot.info/
License: BSD License and BSD-like, Einschraenkungen bei modifiziertem Code:
License: BSD 3-Clause, Change notification
Group: Productivity/Graphics/Visualization/Graph
Autoreqprov: on
PreReq: %install_info_prereq
Version: 4.2.0
Release: 26
Release: 60
Summary: Function Plotting Utility
Source0: gnuplot-4.2.0.tar.bz2
Source2: gnuplot-fr.doc.bz2
@ -27,6 +27,7 @@ Patch0: gnuplot-4.2.0.dif
Patch1: gnuplot-4.2.0-x11ovf.dif
Patch2: gnuplot-4.2.0-fonts.dif
Patch3: gnuplot-4.2.0-wxt.dif
Patch4: gnuplot-4.2.0-demo.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)}
%if "%_exec_prefix" == "/usr/X11R6"
@ -66,6 +67,7 @@ test $? -eq 0 || exit 1
%patch -P 3 -p 0
%patch -P 0 -p 0
%patch -P 2 -p 0
%patch -P 4 -p 0
%build
SECSVGA="-DSVGA_IS_SECURE=1"
@ -145,6 +147,12 @@ test $? -eq 0 || exit 1
install -m 0444 NEWS VERSION BUGS $RPM_BUILD_ROOT/%{_docdir}/gnuplot/
install -m 0444 %{SOURCE3} $RPM_BUILD_ROOT/%{_docdir}/gnuplot/
rm -f $RPM_BUILD_ROOT/%{_docdir}/gnuplot/demo/Makefile*
mv -f $RPM_BUILD_ROOT/%_appdef/Gnuplot.app-defaults $RPM_BUILD_ROOT/%_appdef/Gnuplot
for dem in $RPM_BUILD_ROOT/%{_docdir}/gnuplot/demo/* ; do
sed "s|@@GNUPLOTDEMOPATH@@|%{_docdir}/gnuplot/demo/|g" < ${dem} > ${dem}.tmp
touch -r ${dem} ${dem}.tmp
mv -f ${dem}.tmp ${dem}
done
%clean
rm -rf $RPM_BUILD_ROOT
@ -164,9 +172,13 @@ test $? -eq 0 || exit 1
%doc %{_mandir}/man1/gnuplot.1.gz
%{_datadir}/gnuplot
%{_datadir}/texmf/tex/latex/gnuplot/
%{_appdef}/Gnuplot.app-defaults
%{_appdef}/Gnuplot
%changelog
* Wed Sep 05 2007 - werner@suse.de
- Correct name of app-defaults file
- Make samples in demo directory usable from any path
thanks goes to Dieter Jurzitza
* Wed May 30 2007 - werner@suse.de
- Overwrite empty default font for UTF-8 locale (bug #277876)
- Get html docs fully build and installed