SPECS: roadsend-php.spec - updated to 2.9.2 snap (20070915) - disa...
adamg
adamg at pld-linux.org
Sun Sep 16 20:22:11 CEST 2007
Author: adamg Date: Sun Sep 16 18:22:11 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 2.9.2 snap (20070915)
- disabled gtk2 and fcgi extensions
- builds, somehow works
---- Files affected:
SPECS:
roadsend-php.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SPECS/roadsend-php.spec
diff -u SPECS/roadsend-php.spec:1.5 SPECS/roadsend-php.spec:1.6
--- SPECS/roadsend-php.spec:1.5 Sun Sep 2 16:58:54 2007
+++ SPECS/roadsend-php.spec Sun Sep 16 20:22:06 2007
@@ -1,24 +1,34 @@
# $Revision$, $Date$
# TODO
# - package files
+# - fcgi backend
+# - gtk2
+#
+# Conditional build:
+%bcond_with fcgi # try to build fcgi web backend (fails)
+%bcond_with gtk2 # try to build gtk2 extension (fails)
+#
+%define _snap 20070916
Summary: The Roadsend PCC Compiler for PHP
Summary(pl.UTF-8): Kompilator Roadsend PCC dla PHP
Name: roadsend-php
Version: 2.9.2
-Release: 0.1
+Release: 0.0.%{_snap}
License: GPL / LGPL
Group: Development/Languages
-Source0: http://code.roadsend.com/snaps/%{name}-%{version}.tar.bz2
-# Source0-md5: c7492681aa6f5f0fd7b7fd5d44e6996d
+Source0: http://code.roadsend.com/snaps/%{name}-%{_snap}.tar.bz2
+# Source0-md5: 5a89afec3b7dc2826a4960117899f3fc
Patch0: %{name}-ac.patch
URL: http://www.roadsend.com/
BuildRequires: autoconf >= 2.61
BuildRequires: automake
-BuildRequires: bigloo >= 2.9a
+BuildRequires: bigloo >= 3.0b
BuildRequires: curl-devel >= 7.15.1
-BuildRequires: fcgi-devel >= 2.4.0
+%{?with_fcgi:BuildRequires: fcgi-devel >= 2.4.0}
+%if %{with gtk2}
BuildRequires: gtk+2-devel >= 1:2.0
BuildRequires: libglade2-devel >= 1:2.0
+%endif
BuildRequires: libtool
BuildRequires: libxml2-devel >= 1:2.6.0
BuildRequires: mysql-devel
@@ -40,7 +50,7 @@
Apache.
%prep
-%setup -q
+%setup -q -n %{name}-%{_snap}
%patch0 -p1
%build
@@ -49,8 +59,9 @@
%{__autoconf}
%{__autoheader}
%configure \
- --with-gtk2
-%{__make} -j1
+ --with%{!?with_gtk:out}-gtk2 \
+ --with%{!?with_fcgi:out}-fcgi
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
@@ -62,6 +73,14 @@
%files
%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{_sysconfdir}/pcc.conf
+%attr(755,root,root) %{_libdir}/*.so
+%{_libdir}/*.a
+%{_libdir}/*.heap
+%{_libdir}/*.sch
+%{_libdir}/*.init
+%{_libdir}/*.h
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -69,6 +88,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2007/09/16 18:22:06 adamg
+- updated to 2.9.2 snap (20070915)
+- disabled gtk2 and fcgi extensions
+- builds, somehow works
+
Revision 1.5 2007/09/02 14:58:54 qboosh
- revised BRs, UTF-8 fix
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/roadsend-php.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list