Author: glen Date: Mon Jul 20 15:27:14 2009 GMT Module: packages Tag: HEAD ---- Log message: - up to 5.0.7, docs 20090614; subpkg for docs
---- Files affected: packages/phplot: phplot.spec (1.15 -> 1.16) ---- Diffs: ================================================================ Index: packages/phplot/phplot.spec diff -u packages/phplot/phplot.spec:1.15 packages/phplot/phplot.spec:1.16 --- packages/phplot/phplot.spec:1.15 Fri Jan 23 21:04:17 2009 +++ packages/phplot/phplot.spec Mon Jul 20 17:27:09 2009 @@ -1,51 +1,74 @@ # $Revision$, $Date$ -# -# NOTES: - draws unwanted, additional X labels in comparison with 4.4.6 -# -%define _manual 20090121 -# +# NOTES +# - draws unwanted, additional X labels in comparison with 4.4.6 + +%define manual 20090614 Summary: Class for creating esientific and business charts Summary(pl.UTF-8): Klasa do tworzenia naukowych i biznesowych wykresów Name: phplot -Version: 5.0.6 -Release: 0.1 +Version: 5.0.7 +Release: 1 License: GPL/PHP Group: Libraries Source0: http://dl.sourceforge.net/phplot/%{name}-%{version}.tar.gz -# Source0-md5: 80ccae467c550348c37f991e8ff81897 -Source1: http://dl.sourceforge.net/phplot/phplotdocs-%{_manual}.zip -# Source1-md5: 8500e3323910ace8cf4d9da97126a939 +# Source0-md5: c19b733fed664014cc1e4e2c6ae3bf44 +Source1: http://dl.sourceforge.net/phplot/%{name}docs-%{manual}.zip +# Source1-md5: b2efead25f95f4e263011cfa1756a4da URL: http://www.sourceforge.net/projects/phplot/ +BuildRequires: rpmbuild(macros) >= 1.461 BuildRequires: unzip -Requires: php(gd) Requires: php-common +Requires: php-gd BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _phpsharedir %{_datadir}/php +%define _appdir %{php_data_dir}/%{name} +%define _phpdocdir %{_docdir}/phpdoc %description -This routine is a class for creating scientific and business charts. +A graph library for dynamic scientific, business, and stock-market +charts. Written in PHP; requires PHP5 and GD. + +Optionally uses TrueType (TTF) fonts. Includes Pie, Bar, Line, Area, +Point and other plot types. %description -l pl.UTF-8 Klasa do tworzenia naukowych i biznesowych wykresów. +%package phpdoc +Summary: Online manual for phplot +Summary(pl.UTF-8): Dokumentacja online do phplot +Group: Documentation +Requires: php-dirs + +%description phpdoc +Documentation for phplot. + +%description phpdoc -l pl.UTF-8 +Dokumentacja do phplot. + %prep -%setup -q -a1 +%setup -q -a1 %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_phpsharedir}/%{name} +install -d $RPM_BUILD_ROOT%{_appdir} +cp -a *.php $RPM_BUILD_ROOT%{_appdir} -install *.php $RPM_BUILD_ROOT%{_phpsharedir}/%{name} +install -d $RPM_BUILD_ROOT%{_phpdocdir}/%{name} +cp -a phplotdocs/* $RPM_BUILD_ROOT%{_phpdocdir}/%{name} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc ChangeLog NEWS* README* phplotdocs/* -%{_phpsharedir}/%{name} +%doc ChangeLog NEWS* README* +%{_appdir} + +%files phpdoc +%defattr(644,root,root,755) +%{_phpdocdir}/%{name} %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -53,6 +76,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.16 2009/07/20 15:27:09 glen +- up to 5.0.7, docs 20090614; subpkg for docs + Revision 1.15 2009/01/23 20:04:17 duddits - up to 5.0.6, manual updated to 20090121 @@ -95,7 +121,7 @@ Group field using gettext). Revision 1.2 2002/01/18 02:14:36 kloczek -perl -pi -e "s/[email protected]/[email protected]/" +- perl -pi -e "s/[email protected]/[email protected]/" Revision 1.1 2001/09/01 17:57:29 misiek -initial pld relese +- initial pld relese ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/phplot/phplot.spec?r1=1.15&r2=1.16&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
