]> git.pld-linux.org Git - packages/phplot.git/blob - phplot.spec
- php 5.2 needed
[packages/phplot.git] / phplot.spec
1 # NOTES
2 #  - draws unwanted, additional X labels in comparison with 4.4.6
3
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
7 Name:           phplot
8 Version:        5.0.7
9 Release:        1
10 License:        GPL/PHP
11 Group:          Libraries
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
18 BuildRequires:  unzip
19 Requires:       php-common >= 4:5.2
20 Requires:       php-gd
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _appdir         %{php_data_dir}/%{name}
25 %define         _phpdocdir      %{_docdir}/phpdoc
26
27 %description
28 A graph library for dynamic scientific, business, and stock-market
29 charts. Written in PHP; requires PHP5 and GD.
30
31 Optionally uses TrueType (TTF) fonts. Includes Pie, Bar, Line, Area,
32 Point and other plot types.
33
34 %description -l pl.UTF-8
35 Klasa do tworzenia naukowych i biznesowych wykresów.
36
37 %package phpdoc
38 Summary:        Online manual for phplot
39 Summary(pl.UTF-8):      Dokumentacja online do phplot
40 Group:          Documentation
41 Requires:       php-dirs
42
43 %description phpdoc
44 Documentation for phplot.
45
46 %description phpdoc -l pl.UTF-8
47 Dokumentacja do phplot.
48
49 %prep
50 %setup -q -a1
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{_appdir}
55 cp -a *.php $RPM_BUILD_ROOT%{_appdir}
56
57 install -d $RPM_BUILD_ROOT%{_phpdocdir}/%{name}
58 cp -a phplotdocs/* $RPM_BUILD_ROOT%{_phpdocdir}/%{name}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc ChangeLog NEWS* README*
66 %{_appdir}
67
68 %files phpdoc
69 %defattr(644,root,root,755)
70 %{_phpdocdir}/%{name}
This page took 0.029461 seconds and 4 git commands to generate.