From a2e7672a07fe3a871b1f6b4a973cda4b846abaf9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 19 Dec 2012 07:30:23 +0100 Subject: php-pluf: backport --- Makefile | 10 ++++++++++ php-pluf.spec | 6 +++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d095534 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +INCL1 := $(shell php-config --includes) +INCL2 := -I $(shell php-config --include-dir)/sapi/embed +LIBS := -lphp5 $(shell php-config --libs) + +include ../../common/Makefile + +tembed: tembed.c + gcc -Wall $(INCL1) $(INCL2) tembed.c $(LIBS) -o tembed diff --git a/php-pluf.spec b/php-pluf.spec index 733064b..0f6fbad 100644 --- a/php-pluf.spec +++ b/php-pluf.spec @@ -14,10 +14,11 @@ URL: http://www.pluf.org/ # following commands to generate the archive: # wget http://projects.ceondo.com/p/pluf/source/download/b1fed2e6d592d18527cfff6e78a5e14058708173 -O pluf-b1fed2e6d592d18527cfff6e78a5e14058708173.zip Source0: %{shortname}-%{git}.zip + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -Requires: php-common >= 5.2.4 +Requires: php(language) >= 5.2.4 Requires: php-gd Requires: php-mbstring Requires: php-mysql @@ -57,6 +58,9 @@ rm -rf %{buildroot} %changelog +* Wed Dec 19 2012 Remi Collet - 1.0-3.gitb1fed2e +- backport for remi repo. + * Tue Dec 04 2012 Guillaume Kulakowski - 1.0-3.gitb1fed2e - Update from git to satisfy Indefero dependancy https://bugzilla.redhat.com/show_bug.cgi?id=575956 -- cgit