mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-30 03:43:40 +01:00
"rpm package with current jpgraph version"
This commit is contained in:
parent
b966494f01
commit
f02b16904f
57
doc/rpm-build/jpgraph-epl.spec
Normal file
57
doc/rpm-build/jpgraph-epl.spec
Normal file
@ -0,0 +1,57 @@
|
||||
Name: jpgraph-epl
|
||||
Version: 2.3.4
|
||||
Release:
|
||||
Summary: Object-Oriented Graph creating library for PHP
|
||||
Group: Development/Languages
|
||||
License: QPL 1.0 (Qt Free Licensee)
|
||||
URL: http://www.aditus.nu/jpgraph/
|
||||
Vendor: Stylite GmbH, http://www.stylite.de/
|
||||
Packager: Ralf Becker <rb@stylite.de>
|
||||
Prefix: /usr/share
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%define php php5
|
||||
%else
|
||||
%define php php
|
||||
%endif
|
||||
|
||||
Source: jpgraph-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-buildroot
|
||||
|
||||
Buildarch: noarch
|
||||
|
||||
Requires: %{php} >= 5.1.2
|
||||
Requires: %{php}-gd
|
||||
|
||||
%description
|
||||
JpGraph is a Object-Oriented Graph creating library for PHP.
|
||||
The library is completely written in PHP and ready to be used in any
|
||||
PHP scripts (both CGI/APXS/CLI versions of PHP are supported).
|
||||
|
||||
The library can be used to create numerous types of graphs either on-line
|
||||
or written to a file. JpGraph makes it easy to draw both "quick and dirty"
|
||||
graphs with a minimum of code as well as complex graphs which requires a
|
||||
very fine grained control. The library assigns context sensitive default
|
||||
values for most of the parameters which minimizes the learning curve.
|
||||
The features are there when you need them - not as an obstacle to overcome!
|
||||
|
||||
%prep
|
||||
%setup -c -n jpgraph-%{version}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
||||
mkdir -p $RPM_BUILD_ROOT%{prefix}/jpgraph
|
||||
cp -aRf jpgraph-%{version}/* $RPM_BUILD_ROOT%{prefix}/jpgraph
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/jpgraph
|
||||
|
||||
%changelog
|
||||
* Sat Jun 6 2009 Ralf Becker <rb@stylite.de> 2.3.4
|
||||
Aditus Version: 2.3.4 (31 Jan 2009)
|
Loading…
Reference in New Issue
Block a user