Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > d44dd8fc8e69a22cb9a9b48d9c908bdf > files > 2

phplot-4.4.6-2mdk.src.rpm

%define name phplot
%define version 4.4.6
%define release 2mdk

Summary: Dynamic plots, charts, and graphs in PHP
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.bz2
License: BSD
Url: http://www.phplot.com/
Group: Networking/Other
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Requires: php php-common php-session php-gd gd
BuildArch: noarch

%description
A graph library for dynamic scientific, business, and
stock-market charts. Written in PHP and supports, PHP3,
PHP4, TTF (or no ttf), and GD versions 1.2 - latest
version. Includes Pie, Bar, Line, Area, Point and
combination plots.

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

%setup -q

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
install -d %{buildroot}%{_libdir}/phplot
install -m644 *.php %{buildroot}%{_libdir}/phplot/
install -m644 *.ttf %{buildroot}%{_libdir}/phplot/

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

%files
%defattr(-,root,root)
%doc README.txt doc examples
%{_libdir}/phplot/*

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

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