SPECS: jpgraph2.spec (NEW) - new spec based on one sent by Borys S...

glen glen at pld-linux.org
Mon Jan 23 10:12:51 CET 2006


Author: glen                         Date: Mon Jan 23 09:12:51 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new spec based on one sent by Borys Szlanta

---- Files affected:
SPECS:
   jpgraph2.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/jpgraph2.spec
diff -u /dev/null SPECS/jpgraph2.spec:1.1
--- /dev/null	Mon Jan 23 10:12:51 2006
+++ SPECS/jpgraph2.spec	Mon Jan 23 10:12:45 2006
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+Summary:	Class for creating esientific and business charts works with php5
+Summary(pl):	Klasa do tworzenia naukowych i biznesowych wykresów działa z php5
+Name:		jpgraph2
+Version:	2.0
+Release:	1
+License:	QPL
+Group:		Libraries
+Source0:	http://members.chello.se/jpgraph/jpgdownloads/jpgraph-%{version}.tar.gz
+# Source0-md5:	343c355a5c50cdbae49706cba20083ea
+Patch0:		%{name}-config.patch
+URL:		http://www.aditus.nu/jpgraph/
+BuildRequires:	unzip
+Requires:	%{_datadir}/fonts/TTF
+Requires:	php-common >= 4:5.1.0
+Requires:	php-gd
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_phpsharedir	%{_datadir}/php
+
+%description
+JpGraph is a fully OO graph library which makes it easy to both draw a
+"quick and dirty" graph with a minimum of code and quite complex
+graphs which requires a very fine grain of control. The library tries
+to assign sensible default values for most parameters hence making the
+learning curve quite flat since for most of the time very few commands
+is required to draw graphs with a pleasing aesthetic look.
+
+%description -l pl
+JpGraph to w pełni obiektowo zorientowana biblioteka ułatwiająca
+tworzenie zarówno prostych (,,na szybko'') jak i skomplikowanych,
+wymagających precyzji grafik.
+
+%prep
+%setup  -q -n jpgraph-%{version}
+%patch0 -p1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_phpsharedir}/%{name}
+
+install src/*.*		$RPM_BUILD_ROOT%{_phpsharedir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README* docs/*
+%{_phpsharedir}/%{name}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/01/23 09:12:45  glen
+- new spec based on one sent by Borys Szlanta
+
+Revision 2.0  2005/09/22 10:48:31  bas at kolos.math.uni.lodz.pl
+- initial pld release
================================================================


More information about the pld-cvs-commit mailing list