forked from pool/gnuplot
This commit is contained in:
committed by
Git OBS Bridge
parent
541212488f
commit
d60ff7854f
21
gnuplot.spec
21
gnuplot.spec
@@ -13,19 +13,19 @@
|
||||
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
|
||||
License: BSD License and BSD-like, Einschraenkungen bei modifiziertem Code:
|
||||
Group: Productivity/Graphics/Visualization/Graph
|
||||
Autoreqprov: on
|
||||
PreReq: %install_info_prereq
|
||||
Version: 4.2.0
|
||||
Release: 13
|
||||
Release: 26
|
||||
Summary: Function Plotting Utility
|
||||
Source0: gnuplot-4.2.0.tar.bz2
|
||||
Source2: gnuplot-fr.doc.bz2
|
||||
Source3: README.whynot
|
||||
Patch0: gnuplot-4.2.0.dif
|
||||
Patch1: gnuplot-4.2.0-x11ovf.dif
|
||||
Patch2: gnuplot-4.0.0-fonts.dif
|
||||
Patch2: gnuplot-4.2.0-fonts.dif
|
||||
Patch3: gnuplot-4.2.0-wxt.dif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)}
|
||||
@@ -87,7 +87,7 @@ test $? -eq 0 || exit 1
|
||||
--mandir=%{_mandir} \
|
||||
--infodir=%{_infodir} \
|
||||
--libexecdir=/usr/%_lib \
|
||||
--datadir=/usr/share/gnuplot \
|
||||
--datadir=%{_datadir} \
|
||||
--with-gcc \
|
||||
--with-x \
|
||||
--x-includes=%{_x11inc} \
|
||||
@@ -97,6 +97,7 @@ test $? -eq 0 || exit 1
|
||||
--with-linux-vga \
|
||||
--with-gif=png \
|
||||
--with-freetype=/usr/%_lib \
|
||||
--enable-x11-mbfonts \
|
||||
--with-zlib \
|
||||
--with-gd \
|
||||
--enable-thin-splines \
|
||||
@@ -121,8 +122,11 @@ test $? -eq 0 || exit 1
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/html
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/gnuplot/demo
|
||||
rm -vf docs/htmldocs/images.{aux,idx,log,out,tex}
|
||||
rm -vf docs/htmldocs/*.pl
|
||||
rm -vf docs/htmldocs/*.sty
|
||||
rm -vf docs/htmldocs/WARNINGS
|
||||
rm -vf docs/htmldocs/VERSION
|
||||
rm -rvf demo/html
|
||||
install -m 0444 docs/*.info* $RPM_BUILD_ROOT/%{_infodir}/
|
||||
install -m 0444 docs/*.pdf $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
|
||||
@@ -158,11 +162,16 @@ test $? -eq 0 || exit 1
|
||||
/usr/%{_lib}/gnuplot
|
||||
%doc %{_infodir}/%{name}.info.gz
|
||||
%doc %{_mandir}/man1/gnuplot.1.gz
|
||||
/usr/share/gnuplot
|
||||
/usr/share/texmf/tex/latex/gnuplot/
|
||||
%{_datadir}/gnuplot
|
||||
%{_datadir}/texmf/tex/latex/gnuplot/
|
||||
%{_appdef}/Gnuplot.app-defaults
|
||||
|
||||
%changelog
|
||||
* Wed May 30 2007 - werner@suse.de
|
||||
- Overwrite empty default font for UTF-8 locale (bug #277876)
|
||||
- Get html docs fully build and installed
|
||||
- Correct datadir
|
||||
- The patent of gif is expired
|
||||
* Fri May 11 2007 - werner@suse.de
|
||||
- Use setlocale(..,NULL) instead of gentenv() (bug #272915)
|
||||
* Tue Apr 24 2007 - werner@suse.de
|
||||
|
||||
Reference in New Issue
Block a user