2 # - draws unwanted, additional X labels in comparison with 4.4.6
4 %define manual 20090614
5 Summary: Class for creating esientific and business charts
6 Summary(pl.UTF-8): Klasa do tworzenia naukowych i biznesowych wykresów
12 Source0: http://dl.sourceforge.net/phplot/%{name}-%{version}.tar.gz
13 # Source0-md5: c19b733fed664014cc1e4e2c6ae3bf44
14 Source1: http://dl.sourceforge.net/phplot/%{name}docs-%{manual}.zip
15 # Source1-md5: b2efead25f95f4e263011cfa1756a4da
16 URL: http://www.sourceforge.net/projects/phplot/
17 BuildRequires: rpmbuild(macros) >= 1.461
19 Requires: php-common >= 4:5.2
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define _appdir %{php_data_dir}/%{name}
25 %define _phpdocdir %{_docdir}/phpdoc
28 A graph library for dynamic scientific, business, and stock-market
29 charts. Written in PHP; requires PHP5 and GD.
31 Optionally uses TrueType (TTF) fonts. Includes Pie, Bar, Line, Area,
32 Point and other plot types.
34 %description -l pl.UTF-8
35 Klasa do tworzenia naukowych i biznesowych wykresów.
38 Summary: Online manual for phplot
39 Summary(pl.UTF-8): Dokumentacja online do phplot
44 Documentation for phplot.
46 %description phpdoc -l pl.UTF-8
47 Dokumentacja do phplot.
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{_appdir}
55 cp -a *.php $RPM_BUILD_ROOT%{_appdir}
57 install -d $RPM_BUILD_ROOT%{_phpdocdir}/%{name}
58 cp -a phplotdocs/* $RPM_BUILD_ROOT%{_phpdocdir}/%{name}
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
65 %doc ChangeLog NEWS* README*
69 %defattr(644,root,root,755)