pkg://jpgraph-1.16-0.fdr.2.src.rpm:3863612/jpgraph.spec
info downloads
Name: jpgraph
Summary: An OO graph drawing class library for PHP
Version: 1.16
Release: 0.fdr.2
Epoch: 0
Source0: http://members.chello.se/jpgraph/jpgdownloads/jpgraph-1.16.tar.gz
License: QPL
URL: http://www.aditus.nu/jpgraph/
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: php gd
%description
JpGraph is a OO Graph drawing library for PHP 4.0.2 and above.
Highlights of the available features are: text, linear, and log
scales for both the X and Y axes, anti-aliasing of lines,
color-gradient fills, support for GIF, JPG, and PNG formats,
support for two Y axes, spider plots (a.k.a Web plots),
pie-charts, lineplots, filled line plots, impulse plots, bar
plots, and error plots, support for multiple plot types in one
graph, intelligent autoscaling.
Extensive documentations are availible at:
http://www.aditus.nu/jpgraph/
%package doc
Summary: Documenation for %{name}
Group: Documentation
%description doc
JpGraph is a OO Graph drawing library for PHP 4.0.2 and above.
Highlights of the available features are: text, linear, and log
scales for both the X and Y axes, anti-aliasing of lines,
color-gradient fills, support for GIF, JPG, and PNG formats,
support for two Y axes, spider plots (a.k.a Web plots),
pie-charts, lineplots, filled line plots, impulse plots, bar
plots, and error plots, support for multiple plot types in one
graph, intelligent autoscaling.
This package contains the documenation for %{name}.
%prep
%setup -q
mv src/Changelog .
# clean up CVS stuff
find . \( -type d -name CVS \) -o \
\( -type f -name ".cvs*" \) -o \
\( -type f -name ".#*" \) | xargs rm -rf
# fix dir perms
find . -type d | xargs chmod 755
# fix file perms
find . -type f | xargs chmod 644
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/jpgraph
cp -pr src/* $RPM_BUILD_ROOT%{_datadir}/jpgraph/
rm -rf $RPM_BUILD_ROOT%{_datadir}/jpgraph/Examples
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc Changelog *README* QPL.txt
%{_datadir}/jpgraph
%files doc
%defattr(-,root,root)
%doc docs/* src/Examples
%changelog
* Sat Jul 03 2004 Aurelien Bompard <gauret[AT]free.fr> 0:1.16-0.fdr.2
- move to _datadir instead of _libdir
* Wed Jun 30 2004 Aurelien Bompard <gauret[AT]free.fr> 0:1.16-0.fdr.1
- Initial Fedora package (from Mandrake)