]> git.pld-linux.org Git - packages/phplot.git/blob - phplot.spec
- up to 5.0rc3 (works for me with php4)
[packages/phplot.git] / phplot.spec
1 #
2 %define         _rc 3
3 %define         _manual 20061201
4 #
5 Summary:        Class for creating esientific and business charts
6 Summary(pl):    Klasa do tworzenia naukowych i biznesowych wykresów
7 Name:           phplot
8 Version:        5.0
9 Release:        %{?_rc:0.rc%{_rc}}.0.1
10 License:        GPL/PHP
11 Group:          Libraries
12 Source0:        http://dl.sourceforge.net/phplot/%{name}-%{version}%{?_rc:rc%{_rc}}.tar.gz
13 # Source0-md5:  ddd9f4877c6f0a0b629ada1ce2bc4772
14 Source1:        http://dl.sourceforge.net/phplot/phplotdocs-%{_manual}.zip
15 # Source1-md5:  61cd9ef5fa6ac1c74d98b85fb7af816a
16 URL:            http://www.sourceforge.net/projects/phplot/
17 BuildRequires:  unzip
18 Requires:       php(gd)
19 Requires:       php-common
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _phpsharedir    %{_datadir}/php
24
25 %description
26 This routine is a class for creating scientific and business charts.
27
28 %description -l pl
29 Klasa do tworzenia naukowych i biznesowych wykresów.
30
31 %prep
32 %setup -q -n %{name}-%{version}%{?_rc:rc%{_rc}} -a1 
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_phpsharedir}/%{name}
37
38 install *.php $RPM_BUILD_ROOT%{_phpsharedir}/%{name}
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc ChangeLog NEWS* README* phplotdocs/*
46 %{_phpsharedir}/%{name}
This page took 0.033324 seconds and 4 git commands to generate.