]> git.pld-linux.org Git - packages/phplot.git/blame - phplot.spec
- Update to 5.1.3
[packages/phplot.git] / phplot.spec
CommitLineData
622be9d2
ER
1# NOTES
2# - draws unwanted, additional X labels in comparison with 4.4.6
3
1f2d9484 4%define manual 20100830
ac67dc05 5Summary: Class for creating esientific and business charts
b0c7f7ad 6Summary(pl.UTF-8): Klasa do tworzenia naukowych i biznesowych wykresów
ac67dc05 7Name: phplot
1f2d9484 8Version: 5.1.3
622be9d2 9Release: 1
c6e64909 10License: GPL/PHP
4ee904bd 11Group: Libraries
bd011f71 12Source0: http://dl.sourceforge.net/phplot/%{name}-%{version}.tar.gz
1f2d9484 13# Source0-md5: 64c2f894147e2804e635cff241788c2d
622be9d2 14Source1: http://dl.sourceforge.net/phplot/%{name}docs-%{manual}.zip
1f2d9484 15# Source1-md5: d0c99e080d2d40f352de7ea4e46e1387
ac67dc05 16URL: http://www.sourceforge.net/projects/phplot/
622be9d2 17BuildRequires: rpmbuild(macros) >= 1.461
17664eda 18BuildRequires: unzip
499c95d6 19Requires: php-common >= 4:5.2
622be9d2 20Requires: php-gd
ac67dc05
AM
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
622be9d2
ER
24%define _appdir %{php_data_dir}/%{name}
25%define _phpdocdir %{_docdir}/phpdoc
ac67dc05
AM
26
27%description
622be9d2
ER
28A graph library for dynamic scientific, business, and stock-market
29charts. Written in PHP; requires PHP5 and GD.
30
31Optionally uses TrueType (TTF) fonts. Includes Pie, Bar, Line, Area,
32Point and other plot types.
ac67dc05 33
898ec6c9
JR
34%description -l pl.UTF-8
35Klasa do tworzenia naukowych i biznesowych wykresów.
ac67dc05 36
622be9d2
ER
37%package phpdoc
38Summary: Online manual for phplot
39Summary(pl.UTF-8): Dokumentacja online do phplot
40Group: Documentation
41Requires: php-dirs
42
43%description phpdoc
44Documentation for phplot.
45
46%description phpdoc -l pl.UTF-8
47Dokumentacja do phplot.
48
ac67dc05 49%prep
622be9d2 50%setup -q -a1
ac67dc05
AM
51
52%install
53rm -rf $RPM_BUILD_ROOT
622be9d2
ER
54install -d $RPM_BUILD_ROOT%{_appdir}
55cp -a *.php $RPM_BUILD_ROOT%{_appdir}
ac67dc05 56
622be9d2
ER
57install -d $RPM_BUILD_ROOT%{_phpdocdir}/%{name}
58cp -a phplotdocs/* $RPM_BUILD_ROOT%{_phpdocdir}/%{name}
ac67dc05 59
ac67dc05
AM
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%files
64%defattr(644,root,root,755)
622be9d2
ER
65%doc ChangeLog NEWS* README*
66%{_appdir}
67
68%files phpdoc
69%defattr(644,root,root,755)
70%{_phpdocdir}/%{name}
This page took 0.078808 seconds and 4 git commands to generate.