1 |
Summary: JPGraph |
2 |
%define name jpgraph |
3 |
%define version 4.3.4 |
4 |
%define release 1 |
5 |
Name: %{name} |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
License: GPL |
9 |
Group: SME Server/addon |
10 |
Source: %{name}-%{version}.tgz |
11 |
Patch0: jpgraph-patch-ttf-dir.patch |
12 |
#Patch1: jpgraph-bz1111.patch |
13 |
|
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildArch: noarch |
16 |
BuildRequires: e-smith-devtools |
17 |
Requires: smeserver-release >= 10.0 |
18 |
Requires: msttcorefonts |
19 |
|
20 |
%changelog |
21 |
* Mon Nov 23 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 4.3.4-1-sme |
22 |
- Initial import to SME10 tree [SME: 11178] |
23 |
- requires msttcorefonts |
24 |
- patch to set the msttcorefonts dir in config |
25 |
|
26 |
%description |
27 |
JpGraph is an Object-Oriented Graph creating library for PHP5 (>=5.1) and PHP7.0 |
28 |
|
29 |
%prep |
30 |
%setup |
31 |
%patch0 -p1 |
32 |
#%patch1 -p1 |
33 |
|
34 |
%build |
35 |
perl createlinks |
36 |
|
37 |
%install |
38 |
rm -rf $RPM_BUILD_ROOT |
39 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
40 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
41 |
echo "%doc " >> %{name}-%{version}-filelist |
42 |
|
43 |
%clean |
44 |
rm -rf $RPM_BUILD_ROOT |
45 |
|
46 |
%files -f %{name}-%{version}-filelist |
47 |
%defattr(-,root,root) |