forked from pool/gnuplot
This commit is contained in:
parent
d60ff7854f
commit
12c779a916
1806
gnuplot-4.2.0-demo.dif
Normal file
1806
gnuplot-4.2.0-demo.dif
Normal file
File diff suppressed because it is too large
Load Diff
@ -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
|
Wed May 30 16:12:19 CEST 2007 - werner@suse.de
|
||||||
|
|
||||||
|
18
gnuplot.spec
18
gnuplot.spec
@ -13,12 +13,12 @@
|
|||||||
Name: gnuplot
|
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
|
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/
|
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
|
Group: Productivity/Graphics/Visualization/Graph
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
PreReq: %install_info_prereq
|
PreReq: %install_info_prereq
|
||||||
Version: 4.2.0
|
Version: 4.2.0
|
||||||
Release: 26
|
Release: 60
|
||||||
Summary: Function Plotting Utility
|
Summary: Function Plotting Utility
|
||||||
Source0: gnuplot-4.2.0.tar.bz2
|
Source0: gnuplot-4.2.0.tar.bz2
|
||||||
Source2: gnuplot-fr.doc.bz2
|
Source2: gnuplot-fr.doc.bz2
|
||||||
@ -27,6 +27,7 @@ Patch0: gnuplot-4.2.0.dif
|
|||||||
Patch1: gnuplot-4.2.0-x11ovf.dif
|
Patch1: gnuplot-4.2.0-x11ovf.dif
|
||||||
Patch2: gnuplot-4.2.0-fonts.dif
|
Patch2: gnuplot-4.2.0-fonts.dif
|
||||||
Patch3: gnuplot-4.2.0-wxt.dif
|
Patch3: gnuplot-4.2.0-wxt.dif
|
||||||
|
Patch4: gnuplot-4.2.0-demo.dif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)}
|
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)}
|
||||||
%if "%_exec_prefix" == "/usr/X11R6"
|
%if "%_exec_prefix" == "/usr/X11R6"
|
||||||
@ -66,6 +67,7 @@ test $? -eq 0 || exit 1
|
|||||||
%patch -P 3 -p 0
|
%patch -P 3 -p 0
|
||||||
%patch -P 0 -p 0
|
%patch -P 0 -p 0
|
||||||
%patch -P 2 -p 0
|
%patch -P 2 -p 0
|
||||||
|
%patch -P 4 -p 0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
SECSVGA="-DSVGA_IS_SECURE=1"
|
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 NEWS VERSION BUGS $RPM_BUILD_ROOT/%{_docdir}/gnuplot/
|
||||||
install -m 0444 %{SOURCE3} $RPM_BUILD_ROOT/%{_docdir}/gnuplot/
|
install -m 0444 %{SOURCE3} $RPM_BUILD_ROOT/%{_docdir}/gnuplot/
|
||||||
rm -f $RPM_BUILD_ROOT/%{_docdir}/gnuplot/demo/Makefile*
|
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
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -164,9 +172,13 @@ test $? -eq 0 || exit 1
|
|||||||
%doc %{_mandir}/man1/gnuplot.1.gz
|
%doc %{_mandir}/man1/gnuplot.1.gz
|
||||||
%{_datadir}/gnuplot
|
%{_datadir}/gnuplot
|
||||||
%{_datadir}/texmf/tex/latex/gnuplot/
|
%{_datadir}/texmf/tex/latex/gnuplot/
|
||||||
%{_appdef}/Gnuplot.app-defaults
|
%{_appdef}/Gnuplot
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed May 30 2007 - werner@suse.de
|
||||||
- Overwrite empty default font for UTF-8 locale (bug #277876)
|
- Overwrite empty default font for UTF-8 locale (bug #277876)
|
||||||
- Get html docs fully build and installed
|
- Get html docs fully build and installed
|
||||||
|
Loading…
Reference in New Issue
Block a user