Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 7b91f5d0a649496fb54399aa648ad724 > files > 1

JpGraph-1.17-1mdk.src.rpm

%define name	JpGraph
%define version	1.17
%define release	1mdk

Summary:	An OO graph drawing class library for PHP
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	QPL
Group:		Networking/Other
URL:		http://www.aditus.nu/jpgraph/
Source0:	http://members.chello.se/jpgraph/jpgdownloads/jpgraph-%{version}.tar.bz2
Requires:	php php-common php-gd gd
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot

%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:		Networking/Other

%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 -n jpgraph-%{version}

mv src/Changelog .

# clean up CVS stuff
for i in `find . -type d -name CVS` `find . -type f -name .cvs\*` `find . -type f -name .#\*`; do
    if [ -e "$i" ]; then rm -r $i; fi >&/dev/null
done

# fix dir perms
find . -type d | xargs chmod 755

# fix file perms
find . -type f | xargs chmod 644

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

install -d %{buildroot}%{_libdir}/jpgraph
cp -aRf src/* %{buildroot}%{_libdir}/jpgraph/

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc Changelog README* 
%{_libdir}/jpgraph

%files doc
%defattr(-,root,root)
%doc docs/*

%changelog
* Sun Jan 23 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 1.17-1mdk
- 1.17

* Tue Jun 22 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 1.16-1mdk
- 1.16

* Thu Dec 18 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.14-1mdk
- 1.14
- put docs in subpackage

* Sun Aug 24 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.13-1mdk
- 1.13

* Thu Aug 07 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.12.2-1mdk
- 1.12.2
- misc spec file fixes

* Thu Apr 10 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.12-1mdk
- 1.12

* Mon Feb 03 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.11-1mdk
- 1.11

* Tue Jan 28 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.10.1-1mdk
- 1.10.1

* Thu Jan 16 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.10-2mdk
- build release

* Mon Dec 16 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.10-1mdk
- new version

* Mon Oct 28 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.9-1mdk
- new version

* Thu Sep 19 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.8-1mdk
- new version
- misc spec file fixes
- do not require non existant php extensions

* Wed Jul 10 2002 <oden.eriksson@kvikkjokk.net> 1.7-1mdk
- new version

* Sun Jun  2 2002 <oden.eriksson@kvikkjokk.net> 1.6.3-1mdk
- initial cooker contrib