From bc7e8a417575d87d9edb4f273d260cced1ec91b531d2e03fbd0f2bba8d99815e Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 15 Jan 2007 23:32:57 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plotutils?expand=0&rev=1 --- .gitattributes | 23 ++++ .gitignore | 1 + plotutils-2.5.dif | 63 ++++++++++ plotutils-2.5.tar.bz2 | 3 + plotutils.changes | 151 ++++++++++++++++++++++++ plotutils.spec | 263 ++++++++++++++++++++++++++++++++++++++++++ plotutils.test | 25 ++++ ready | 0 8 files changed, 529 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 plotutils-2.5.dif create mode 100644 plotutils-2.5.tar.bz2 create mode 100644 plotutils.changes create mode 100644 plotutils.spec create mode 100644 plotutils.test create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/plotutils-2.5.dif b/plotutils-2.5.dif new file mode 100644 index 0000000..211c3cb --- /dev/null +++ b/plotutils-2.5.dif @@ -0,0 +1,63 @@ +--- manpage.1 ++++ manpage.1 2006-05-22 14:15:56.000000000 +0200 +@@ -0,0 +1,49 @@ ++.\" ++.TH PLOTUTILS 1 "March 2, 2000" "Version 2.4.1" "GNU Plotting Utilities" ++.SH NAME ++plotutils \- The GNU plotting utilities. ++.PP ++double \- Final plotting utility. ++.br ++graph \- Converts table format to plot or graphic formats. ++.br ++ode \- Integrates ordinary differential equation(s). ++.br ++plot \- The plot filter. ++.br ++plotfont\- Displays mapping of available plot fonts. ++.br ++spline \- Spline interpolation of data. ++.br ++tek2plot \- Translates tektronix format to plot. ++.SH SYNOPSIS ++.B double ++[--help | options] ++.br ++.B graph ++[--help | options] ++.br ++.B ode ++[--help | options] ++.br ++.B plot ++[--help | options] ++.br ++.B plotfont ++[--help | options] ++.br ++.B spline ++[--help | options] ++.br ++.B tek2plot ++[--help | options] ++.SH DESCRIPTION ++.B plotutils ++does not have useful man pages. Documentation is available through ++the info system. The relevant command is "info plotutils". ++.SH SEE ALSO ++.BR ode (1), ++.BR plot (1), ++.BR plotfont (1), ++.BR spline (1), ++.BR tek2plot (1). +--- libplot/g_range.c ++++ libplot/g_range.c 2006-05-22 14:59:13.000000000 +0200 +@@ -172,7 +172,7 @@ + void + _set_line_join_bbox (plOutbuf *bufp, double xleft, double yleft, double x, double y, double xright, double yright, double linewidth, int joinstyle, double miterlimit, double m[6]) + { +- plVector v1, v2, vsum; ++ plVector v1 = {0.0, 0.0}, v2 = {0.0, 0.0}, vsum; + double v1len, v2len; + double halfwidth; + double mitrelen; diff --git a/plotutils-2.5.tar.bz2 b/plotutils-2.5.tar.bz2 new file mode 100644 index 0000000..ef7aade --- /dev/null +++ b/plotutils-2.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6c1ef815d73e8d2acd2458623c27f30563d8c2bc480b6c52c829e57d7d9b475 +size 3174070 diff --git a/plotutils.changes b/plotutils.changes new file mode 100644 index 0000000..5084a91 --- /dev/null +++ b/plotutils.changes @@ -0,0 +1,151 @@ +------------------------------------------------------------------- +Thu Aug 10 12:49:46 CEST 2006 - mfabian@suse.de + +- move fonts to /usr/share/fonts/misc (because of X11R7). + +------------------------------------------------------------------- +Mon May 22 14:23:56 CEST 2006 - werner@suse.de + +- Update to plotutils 2.5 + libplot: + * support for rotated and sheared (i.e., "anamorphically + transformed") X Window System fonts has been completely rewritten. + * URW versions of the standard 35 Adobe fonts (Helvetica, + Times-Roman etc.) are now checked for under their own names on any + X Window System display, as well as under the Adobe names. + * SVG output is now conformant SVG 1.1 + * vertical positioning of text strings by the SVG driver improved + * the ROTATION parameter can now take values other than 0, 90, 180, and 270. + * modifiers fixed, such as appended "xsize=6in", "yoffset=8cm" + * problems with PS output triggering an error in some versions of + ghostscript now fixed + * most external symbols not meant to be publicly accessible now have + names beginning with the prefix "_pl_", to reduce the possibility + of namespace collisions. This will be completed in a later release. + graph: + * plotting of rotated y-axis labels by the `-Y' option, when `-T X' is + specified + * new short `-Q' option, equivalent to `--toggle-rotate-y-axis-label'. + graph,plot,tek2plot,plotfont,pic2plot: + * `--display-type' long option, the name of which confused some users, + has been changed to `--output-format'. + +------------------------------------------------------------------- +Wed Jan 25 21:40:23 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Fri Dec 03 20:53:57 CET 2004 - mfabian@suse.de + +- use new macro "%run_suseconfig_fonts". + +------------------------------------------------------------------- +Wed Dec 1 17:46:23 CET 2004 - werner@suse.de + +- Do not be fooled by missing SuSEconfig module on non X11 systems + +------------------------------------------------------------------- +Fri Mar 19 21:48:26 CET 2004 - mfabian@suse.de + +- use %suseconfig_fonts_prereq +- run SuSEconfig.fonts and SuSEconfig.pango in %post and %postun + +------------------------------------------------------------------- +Sun Jan 11 10:02:34 CET 2004 - adrian@suse.de + +- build as user + +------------------------------------------------------------------- +Sat Jan 10 10:17:03 CET 2004 - adrian@suse.de + +- add %run_ldconfig + +------------------------------------------------------------------- +Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de + +- fix install_info --delete call and move from preun to postun + +------------------------------------------------------------------- +Fri Feb 28 17:25:02 CET 2003 - werner@suse.de + +- Fix bug #23452: use intall-info for info file + +------------------------------------------------------------------- +Fri Nov 22 23:49:21 CET 2002 - olh@suse.de + +- obsoletes/provides plotutil (#21848) + +------------------------------------------------------------------- +Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de + +- removed bogus self-provides + +------------------------------------------------------------------- +Tue Jun 18 16:41:46 CEST 2002 - meissner@suse.de + +- rerun auto* tools. + +------------------------------------------------------------------- +Fri May 3 15:32:44 CEST 2002 - werner@suse.de + +- Set correct X11 library path +- Automagic update of config.guess and config.sub + +------------------------------------------------------------------- +Mon Dec 17 14:49:58 CET 2001 - werner@suse.de + +- Update to 2.4.1 +- Use BuildRoot +- Rename package from plotutil to plotutils + +------------------------------------------------------------------- +Tue Jun 26 22:27:08 CEST 2001 - schwab@suse.de + +- Fix for gcc 3.0. + +------------------------------------------------------------------- +Tue May 8 14:15:10 CEST 2001 - mfabian@suse.de + +- bzip2 sources + +------------------------------------------------------------------- +Wed May 31 16:06:32 CEST 2000 - werner@suse.de + +- Use %{_defaultdocdir} + +------------------------------------------------------------------- +Wed Mar 8 11:28:46 CET 2000 - bs@suse.de + +- no ldconfig in %post please. + +------------------------------------------------------------------- +Fri Feb 11 22:13:50 CET 2000 - werner@suse.de + +- Fix call of ldconfig, only if called in real root file system + +------------------------------------------------------------------- +Thu Jan 20 23:48:17 CET 2000 - ro@suse.de + +- update to 2.3 to make it build +- info,man: use macros to move to /usr/share + +------------------------------------------------------------------- +Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de + +- ran old prepare_spec on spec file to switch to new prepare_spec. + +------------------------------------------------------------------- +Mon Apr 5 14:26:29 MEST 1999 - bs@suse.de + +- fixed date strings in .changes. + +---------------------------------------------------------------------------- +Fri Mar 26 15:28:02 CET 1999 - werner@suse.de + + - Update to version 2.2 + +---------------------------------------------------------------------------- +Wed Mar 3 13:14:00 MET 1999 - werner@suse.de + + - New package, version 2.1.6 diff --git a/plotutils.spec b/plotutils.spec new file mode 100644 index 0000000..cf25555 --- /dev/null +++ b/plotutils.spec @@ -0,0 +1,263 @@ +# +# spec file for package plotutils (Version 2.5) +# +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: plotutils +BuildRequires: gcc-c++ libpng libpng-devel zlib zlib-devel +%if %suse_version > 910 +BuildRequires: xorg-x11 xorg-x11-devel +%else +BuildRequires: XFree86 XFree86-devel +%endif +%if "%(xft-config --prefix)" == "/usr" +%define fontdir /usr/share/fonts/misc +%define xlibraries /usr/%{_lib} +%define xincludes /usr/include +%else +%define fontdir /usr/X11R6/lib/X11/fonts/misc +%define xlibraries /usr/X11R6/%{_lib} +%define xincludes /usr/X11R6/include +%endif +License: GPL +Group: Productivity/Graphics/Visualization/Graph +Autoreqprov: on +PreReq: %install_info_prereq %suseconfig_fonts_prereq +Obsoletes: plotutil +Provides: plotutil +Version: 2.5 +Release: 2 +Summary: The GNU Plotting Utilities +Source0: plotutils-2.5.tar.bz2 +Patch: plotutils-2.5.dif +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +The GNU plotting utilities consist of seven command line programs: the +graphics programs `graph', `plot', `tek2plot', and `plotfont', and the +mathematical programs `spline', `ode', and `double'. GNU `libplot' is +distributed with these programs; it is the library on which the +graphics programs are based. `Libplot' is a function library for +device-independent two-dimensional vector graphics, including vector +graphics animations under the X Window System. + + + +Authors: +-------- + Rich Murphey + Robert Maier + Edward Moy + Nick Tufillaro + +%prep +%setup -n plotutils-2.5 +%patch + +%build + %{?suse_update_config:%{suse_update_config -f}} + libtoolize --copy --force + aclocal + autoconf + X11LIB=%{xlibraries} + CC="gcc" + CFLAGS="${RPM_OPT_FLAGS} -pipe" + CXX="g++" + CXXFLAGS="$CFLAGS" + CPPFLAGS="-I%{xincludes}" + LDFLAGS="-L${X11LIB}" + export CC CXX CFLAGS CXXFLAGS CPPFLAGS LDFLAGS + ./configure %{_target_platform} \ + --prefix=/usr \ + --libexecdir=%{_libdir} \ + --libdir=%{_libdir} \ + --with-gcc \ + --with-gnu-ld \ + --enable-libplotter \ + --enable-libxmi \ + --mandir=%{_mandir} \ + --infodir=%{_infodir} \ + --with-x --x-includes=%{xincludes} --x-libraries=${X11LIB} + make CC=$CC CXX="$CXX" \ + CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" + +%install + make install DESTDIR=${RPM_BUILD_ROOT} + chmod 755 ${RPM_BUILD_ROOT}%{_libdir}/libplot.so.* + # + rm -rf ${RPM_BUILD_ROOT}%{_defaultdocdir}/plotutil/ + mkdir -p ${RPM_BUILD_ROOT}%{_defaultdocdir}/plotutil + install -m 0444 AUTHORS ${RPM_BUILD_ROOT}%{_defaultdocdir}/plotutil/ + install -m 0444 COMPAT ${RPM_BUILD_ROOT}%{_defaultdocdir}/plotutil/ + install -m 0444 COPYING ${RPM_BUILD_ROOT}%{_defaultdocdir}/plotutil/ + install -m 0444 INSTALL.fonts ${RPM_BUILD_ROOT}%{_defaultdocdir}/plotutil/ + install -m 0444 KNOWN_BUGS ${RPM_BUILD_ROOT}%{_defaultdocdir}/plotutil/ + install -m 0444 PROBLEMS ${RPM_BUILD_ROOT}%{_defaultdocdir}/plotutil/ + install -m 0444 README ${RPM_BUILD_ROOT}%{_defaultdocdir}/plotutil/ + install -m 0444 THANKS ${RPM_BUILD_ROOT}%{_defaultdocdir}/plotutil/ + install -m 0444 TODO ${RPM_BUILD_ROOT}%{_defaultdocdir}/plotutil/ + mv ${RPM_BUILD_ROOT}/usr/share/libplot ${RPM_BUILD_ROOT}%{_defaultdocdir}/plotutil/ + mv ${RPM_BUILD_ROOT}/usr/share/ode ${RPM_BUILD_ROOT}%{_defaultdocdir}/plotutil/ + mv ${RPM_BUILD_ROOT}/usr/share/pic2plot ${RPM_BUILD_ROOT}%{_defaultdocdir}/plotutil/ + mv ${RPM_BUILD_ROOT}/usr/share/tek2plot ${RPM_BUILD_ROOT}%{_defaultdocdir}/plotutil/ + # + mkdir -p ${RPM_BUILD_ROOT}%{fontdir} + install -m 0444 fonts/pcf/*.pcf ${RPM_BUILD_ROOT}%{fontdir}/ + gzip -9f ${RPM_BUILD_ROOT}%{fontdir}/*.pcf + # + install -m 0444 manpage.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/plotutils.1 + gzip -9f ${RPM_BUILD_ROOT}%{_mandir}/man1/plotutils.1 + ln -sf plotutils.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/double.1.gz + ln -sf plotutils.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/graph.1.gz + ln -sf plotutils.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/ode.1.gz + ln -sf plotutils.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/pic2plot.1.gz + ln -sf plotutils.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/plot.1.gz + ln -sf plotutils.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/plotfont.1.gz + ln -sf plotutils.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/spline.1.gz + ln -sf plotutils.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/tek2plot.1.gz + # + +%post +%run_ldconfig +%install_info --info-dir=%{_infodir} %{_infodir}/plotutils.info.gz +%install_info --info-dir=%{_infodir} %{_infodir}/libxmi.info.gz +%run_suseconfig_fonts + +%postun +%run_ldconfig +%install_info_delete --info-dir=%{_infodir} %{_infodir}/plotutils.info.gz +%install_info_delete --info-dir=%{_infodir} %{_infodir}/libxmi.info.gz +%run_suseconfig_fonts + +%files +%defattr(-,root,root) +/usr/bin/double +/usr/bin/graph +/usr/bin/ode +/usr/bin/pic2plot +/usr/bin/plot +/usr/bin/plotfont +/usr/bin/spline +/usr/bin/tek2plot +%doc %{_defaultdocdir}/plotutil/ +/usr/include/plot.h +/usr/include/plotcompat.h +/usr/include/plotter.h +/usr/include/xmi.h +%doc %{_infodir}/plotutils.info.gz +%doc %{_infodir}/libxmi.info.gz +%{_libdir}/libplot.so.2.2.2 +%{_libdir}/libplot.so.2 +%{_libdir}/libplot.so +%{_libdir}/libplot.la +%{_libdir}/libplot.a +%{_libdir}/libxmi.so.0.1.3 +%{_libdir}/libxmi.so.0 +%{_libdir}/libxmi.so +%{_libdir}/libxmi.la +%{_libdir}/libxmi.a +%{_libdir}/libplotter.so.2.2.2 +%{_libdir}/libplotter.so.2 +%{_libdir}/libplotter.so +%{_libdir}/libplotter.la +%{_libdir}/libplotter.a +%doc %{_mandir}/man1/plotutils.1.gz +%doc %{_mandir}/man1/double.1.gz +%doc %{_mandir}/man1/graph.1.gz +%doc %{_mandir}/man1/ode.1.gz +%doc %{_mandir}/man1/pic2plot.1.gz +%doc %{_mandir}/man1/plot.1.gz +%doc %{_mandir}/man1/plotfont.1.gz +%doc %{_mandir}/man1/spline.1.gz +%doc %{_mandir}/man1/tek2plot.1.gz +%dir %{fontdir} +%{fontdir}/tekfont0.pcf.gz +%{fontdir}/tekfont1.pcf.gz +%{fontdir}/tekfont2.pcf.gz +%{fontdir}/tekfont3.pcf.gz + +%changelog -n plotutils +* Thu Aug 10 2006 - mfabian@suse.de +- move fonts to /usr/share/fonts/misc (because of X11R7). +* Mon May 22 2006 - werner@suse.de +- Update to plotutils 2.5 + libplot: + * support for rotated and sheared (i.e., "anamorphically + transformed") X Window System fonts has been completely rewritten. + * URW versions of the standard 35 Adobe fonts (Helvetica, + Times-Roman etc.) are now checked for under their own names on any + X Window System display, as well as under the Adobe names. + * SVG output is now conformant SVG 1.1 + * vertical positioning of text strings by the SVG driver improved + * the ROTATION parameter can now take values other than 0, 90, 180, and 270. + * modifiers fixed, such as appended "xsize=6in", "yoffset=8cm" + * problems with PS output triggering an error in some versions of + ghostscript now fixed + * most external symbols not meant to be publicly accessible now have + names beginning with the prefix "_pl_", to reduce the possibility + of namespace collisions. This will be completed in a later release. + graph: + * plotting of rotated y-axis labels by the `-Y' option, when `-T X' is + specified + * new short `-Q' option, equivalent to `--toggle-rotate-y-axis-label'. + graph,plot,tek2plot,plotfont,pic2plot: + * `--display-type' long option, the name of which confused some users, + has been changed to `--output-format'. +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Fri Dec 03 2004 - mfabian@suse.de +- use new macro "%%run_suseconfig_fonts". +* Wed Dec 01 2004 - werner@suse.de +- Do not be fooled by missing SuSEconfig module on non X11 systems +* Fri Mar 19 2004 - mfabian@suse.de +- use %%suseconfig_fonts_prereq +- run SuSEconfig.fonts and SuSEconfig.pango in %%post and %%postun +* Sun Jan 11 2004 - adrian@suse.de +- build as user +* Sat Jan 10 2004 - adrian@suse.de +- add %%run_ldconfig +* Thu Apr 24 2003 - ro@suse.de +- fix install_info --delete call and move from preun to postun +* Fri Feb 28 2003 - werner@suse.de +- Fix bug #23452: use intall-info for info file +* Fri Nov 22 2002 - olh@suse.de +- obsoletes/provides plotutil (#21848) +* Tue Sep 17 2002 - ro@suse.de +- removed bogus self-provides +* Tue Jun 18 2002 - meissner@suse.de +- rerun auto* tools. +* Fri May 03 2002 - werner@suse.de +- Set correct X11 library path +- Automagic update of config.guess and config.sub +* Mon Dec 17 2001 - werner@suse.de +- Update to 2.4.1 +- Use BuildRoot +- Rename package from plotutil to plotutils +* Tue Jun 26 2001 - schwab@suse.de +- Fix for gcc 3.0. +* Tue May 08 2001 - mfabian@suse.de +- bzip2 sources +* Wed May 31 2000 - werner@suse.de +- Use %%{_defaultdocdir} +* Wed Mar 08 2000 - bs@suse.de +- no ldconfig in %%post please. +* Fri Feb 11 2000 - werner@suse.de +- Fix call of ldconfig, only if called in real root file system +* Thu Jan 20 2000 - ro@suse.de +- update to 2.3 to make it build +- info,man: use macros to move to /usr/share +* Mon Sep 13 1999 - bs@suse.de +- ran old prepare_spec on spec file to switch to new prepare_spec. +* Mon Apr 05 1999 - bs@suse.de +- fixed date strings in .changes. +* Fri Mar 26 1999 - werner@suse.de +- Update to version 2.2 +* Wed Mar 03 1999 - werner@suse.de +- New package, version 2.1.6 diff --git a/plotutils.test b/plotutils.test new file mode 100644 index 0000000..a7fe840 --- /dev/null +++ b/plotutils.test @@ -0,0 +1,25 @@ + Testform für plotutils + ====================== + +Datum: Mon May 22 14:18:34 CEST 2006 +Version: 2.5 +Maintainer: werner@suse.de + +Voraussetzungen: +================ + +Folgende Pakete müssen installiert werden: + + gcc/gpp + +Aufruf(e): +======== + +siehe `info plotutils' + +Ergebnis(se): +=========== + +Plotausgaben in verschiedenen Formaten. + + diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4