SPECS: php4-gtk.spec - cosmetics, requires php 4.3.x (not compatib...
glen
glen at pld-linux.org
Mon Sep 12 00:13:05 CEST 2005
Author: glen Date: Sun Sep 11 22:13:04 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- cosmetics, requires php 4.3.x (not compatible with php 4.4.x)
---- Files affected:
SPECS:
php4-gtk.spec (1.33 -> 1.34)
---- Diffs:
================================================================
Index: SPECS/php4-gtk.spec
diff -u SPECS/php4-gtk.spec:1.33 SPECS/php4-gtk.spec:1.34
--- SPECS/php4-gtk.spec:1.33 Wed Sep 7 16:10:34 2005
+++ SPECS/php4-gtk.spec Mon Sep 12 00:12:59 2005
@@ -1,4 +1,7 @@
# $Revision$, $Date$
+%define _modname gtk
+%define _sysconfdir /etc/php4
+%define extensionsdir %(php-config --extension-dir 2>/dev/null)
Summary: PHP language bindings for GTK+ toolkit
Summary(pl): Moduł PHP z wiązaniami do GTK+
Name: php4-gtk
@@ -16,7 +19,9 @@
BuildRequires: libglade-devel
BuildRequires: php4-cli
BuildRequires: php4-devel >= 4.3.0
+BuildRequires: php4-devel < 3.4.0
BuildRequires: php4-pcre >= 4.3.0
+%requires_eq_to php4-common php4-devel
Requires: php4-cli
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -50,15 +55,15 @@
%build
phpize
-%configure
+%configure \
+ --with-php-config=%{_bindir}/php-config
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_libdir}/php4
-
-install modules/php_gtk.so $RPM_BUILD_ROOT%{_libdir}/php4/gtk.so
+install modules/php_gtk.so $RPM_BUILD_ROOT%{extensionsdir}/%{_modname}.so
%clean
rm -rf $RPM_BUILD_ROOT
@@ -66,7 +71,7 @@
%files
%defattr(644,root,root,755)
%doc ChangeLog AUTHORS TODO NEWS
-%attr(755,root,root) %{_libdir}/php4/*.so
+%attr(755,root,root) %{extensionsdir}/%{_modname}.so
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -74,6 +79,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.34 2005/09/11 22:12:59 glen
+- cosmetics, requires php 4.3.x (not compatible with php 4.4.x)
+
Revision 1.33 2005/09/07 14:10:34 glen
- phpize already calls aclocal
@@ -103,7 +111,7 @@
- fixed E:V-R in BuildRequires: php-devel
- Requires/BuildRequires: php-cli
- removed redefinition of sysconfdir - it's not used here anyway
-- fixed %%setup
+- fixed %setup
- pass PHP=%{_bindir}/php4 to make
- builds, works
@@ -124,7 +132,7 @@
- rel 0.1
Revision 1.19 2003/10/02 08:23:52 adamg
-- removed %%post/preun - it didn't do anything anyway
+- removed %post/preun - it didn't do anything anyway
Revision 1.18 2003/07/03 11:21:00 ggodlewski
- patches for nest
@@ -155,7 +163,7 @@
- release 2
- added provides pear(gdk) pear(GtkWindow)
- new doc
-STBR
+- STBR
Revision 1.9 2002/03/14 15:57:12 baggins
- updated to 0.5.0
@@ -169,7 +177,7 @@
Group field using gettext).
Revision 1.6 2002/01/18 02:14:36 kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
Revision 1.5 2001/10/02 08:55:17 qboosh
- added Source0 URL (note: current version is 0.1.1)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/php4-gtk.spec?r1=1.33&r2=1.34&f=u
More information about the pld-cvs-commit
mailing list