Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 28de9b424b7369f818485286c5192a32 > files > 3

php-jpgraph-3.0.6-1mdv2010.1.src.rpm

%undefine __find_provides
%undefine __find_requires

Summary:	An OO graph drawing class library for PHP5
Name:		php-jpgraph
Version:	3.0.6
Release:	%mkrel 1
License:	QPL
Group:		Networking/Other
URL:		http://www.aditus.nu/jpgraph/
Source0:	http://hem.bredband.net/jpgraph2/jpgraph-%{version}.tar.bz2
Patch0:		jpgraph-3.0.6-CVE-2009-4422.diff
Requires:	gd
Requires:	php-gd
Requires:	fonts-ttf-bitstream-vera
BuildArch:	noarch
Obsoletes:	php5-jpgraph
BuildRoot:	%{_tmppath}/%{name}-%{version}

%description
JpGraph is a OO Graph drawing library for PHP 5.0.x 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 JpGraph
Group:		Networking/Other

%description	doc
JpGraph is a OO Graph drawing library for PHP 5.0.x 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 -c -n jpgraph-%{version}
%patch0 -p0

%install
rm -rf %{buildroot}

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

install -d -m 755 %{buildroot}%{_docdir}/%{name}
cp -r docportal %{buildroot}%{_docdir}/%{name}
cp -r src/Examples %{buildroot}%{_docdir}/%{name}
install -m 644 README VERSION %{buildroot}%{_docdir}/%{name}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{_docdir}/%{name}
%{_datadir}/php/jpgraph
%exclude %{_docdir}/%{name}/Examples
%exclude %{_docdir}/%{name}/docportal

%files doc
%defattr(-,root,root)
%{_docdir}/%{name}/Examples
%{_docdir}/%{name}/docportal


%changelog
* Sat Dec 26 2009 Oden Eriksson <oeriksson@mandriva.com> 3.0.6-1mdv2010.1
+ Revision: 482455
- 3.0.6
- P0: security fix for CVE-2009-4422

* Thu Oct 01 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.3.3-4mdv2010.0
+ Revision: 452370
- fix dependencies
- don't suplicate spec-helper job
- spec cleanup
- install documentation under %%{_docdir}/%%{name}
- install php files under %%{_datadir}/php

* Sun Jul 19 2009 Raphaël Gertz <rapsys@mandriva.org> 2.3.3-3mdv2010.0
+ Revision: 397545
- Rebuild

* Wed Dec 31 2008 Oden Eriksson <oeriksson@mandriva.com> 2.3.3-2mdv2009.1
+ Revision: 321861
- rebuild

* Sun Jul 20 2008 Oden Eriksson <oeriksson@mandriva.com> 2.3.3-1mdv2009.0
+ Revision: 239139
- 2.3.3

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request


* Thu Mar 08 2007 Emmanuel Andry <eandry@mandriva.org> 2.1.4-1mdv2007.1
+ Revision: 138537
- Import php-jpgraph