[users] ploticus patches

Phil Schaffner Philip.R.Schaffner at nasa.gov
Thu Jan 19 23:53:24 CET 2006


I rebuilt ploticus from the rpmforge src.rpm on x86_64.  Changed .spec
file and patch are attached.  (I know rigorous netiquette would dictate
putting in-line, but given all the mail that shows up as text
attachments, I'll stretch a point.  :-)  Also added in the test suite
directory in /usr/share/ploticus/pltestsuite which makes the package
larger but provides some nice examples.  Could be packaged separately.

Phil

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ploticus-2.32-x86_64.patch
Type: text/x-patch
Size: 758 bytes
Desc: not available
URL: <http://lists.repoforge.org/pipermail/users/attachments/20060119/35c3e457/attachment-0004.bin>
-------------- next part --------------
# $Id: ploticus.spec 3660 2005-10-15 12:51:29Z dries $
# Authority: dries
# Upstream: Steve Grubb <scg$jax,org>

%{?dist: %{expand: %%define %dist 1}}

%{?fc1:%define _without_xorg 1}
%{?el3:%define _without_xorg 1}
%{?rh9:%define _without_xorg 1}
%{?rh8:%define _without_xorg 1}
%{?rh7:%define _without_xorg 1}
%{?el2:%define _without_xorg 1}
%{?rh6:%define _without_xorg 1}
%{?yd3:%define _without_xorg 1}

%define real_version 232

Summary: Command line utility for creating charts and plots
Name: ploticus
Version: 2.32
Release: 2.rf
License: GPL
Group: Applications/Publishing
URL: http://ploticus.sourceforge.net/

Packager: Dries Verachtert <dries at ulyssis.org>
Vendor: Dag Apt Repository, http://dag.wieers.com/apt/

Source: http://ploticus.sourceforge.net/download/pl%{real_version}src.tar.gz
%ifarch x86_64
Patch:         ploticus-2.32-x86_64.patch
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: libpng-devel, zlib-devel
%{?_without_xorg:BuildRequires: XFree86-devel}
%{!?_without_xorg:BuildRequires: xorg-x11-devel}

%description
PLOTICUS is a command line utility for creating bar, line, pie, boxplot, 
scatterplot, sweep, heatmap, vector, timeline, Venn diagrams, and other 
types of charts and plots. ploticus is good for automated or just-in-time 
graph generation. It handles date, time, and categorical data nicely, and 
has some basic statistical capabilities. It can output to GIF, PNG, SVG, 
SWF, JPEG, PostScript, EPS, and X11. You can use convenient preset options 
or create complex scripts with rich and detailed color and style operations.

%prep
%setup -n pl%{real_version}src
%ifarch x86_64
%patch -p0 -b .x86_64
%endif

%build
cd src
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__install} -d -m0755 %{buildroot}%{_bindir} %{buildroot}%{_datadir}/ploticus
%{__install} -d -m0755 %{buildroot}%{_bindir} %{buildroot}%{_datadir}/ploticus/pltestsuite
cd src
%makeinstall BIN=%{buildroot}%{_bindir}
%{__install} -D ../prefabs/* %{buildroot}%{_datadir}/ploticus
%{__install} -D ../pltestsuite/* %{buildroot}%{_datadir}/ploticus/pltestsuite

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc README
%{_bindir}/pl
%{_datadir}/ploticus

%changelog
* Thu Jan 19 2006 Phil Schaffner <Philip.R.Schaffner at NASA.gov> - 2.32-2
- patch for x86_64

* Fri Oct 14 2005 Dries Verachtert <dries at ulyssis.org> - 2.32-2 - 3660/dries
- xorg/XFree86 buildreqs added.

* Wed Aug 31 2005 Dries Verachtert <dries at ulyssis.org> - 2.32-1
- Initial package.


More information about the users mailing list