/[smecontribs]/rpms/jpgraph/contribs10/jpgraph.spec
ViewVC logotype

Contents of /rpms/jpgraph/contribs10/jpgraph.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Nov 24 14:29:54 2020 UTC (4 years ago) by jcrisp
Branch: MAIN
CVS Tags: jpgraph-4_3_4-1_el7_sme, HEAD
Initial import

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)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed