SPECS: lighttpd.spec - add pkgconfig support for locating lua libs

glen glen at pld-linux.org
Mon Aug 22 17:18:45 CEST 2005


Author: glen                         Date: Mon Aug 22 15:18:45 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add pkgconfig support for locating lua libs

---- Files affected:
SPECS:
   lighttpd.spec (1.121 -> 1.122) 

---- Diffs:

================================================================
Index: SPECS/lighttpd.spec
diff -u SPECS/lighttpd.spec:1.121 SPECS/lighttpd.spec:1.122
--- SPECS/lighttpd.spec:1.121	Mon Aug 22 16:29:20 2005
+++ SPECS/lighttpd.spec	Mon Aug 22 17:18:39 2005
@@ -9,6 +9,9 @@
 # - fcgi-devel is only used for the test-scripts
 # - disable largefile, if you have 2.4 kernel to get sendfile() support, and don't need > 2GB file requests,
 #   see http://article.gmane.org/gmane.comp.web.lighttpd:722
+# - please make subpackages of modules that depend other modules than:
+#  - pcre (core binary needs it too)
+#  - openssl (core binary needs it too)
 #
 # Conditional build for lighttpd:
 %bcond_without	xattr			# support of extended attributes
@@ -19,7 +22,7 @@
 %bcond_with		ldap			# ldap support in mod_auth
 %bcond_with		lua				# LUA support in mod_cml
 %bcond_with		memcache		# memcached support in mod_cml / mod_trigger_b4_dl
-%bcond_without	gamin			# gamin for reducing number of stat() calls. NOTE: must be enabled in config: server.stat-cache-engine = "fam"
+%bcond_with		gamin			# gamin for reducing number of stat() calls. NOTE: must be enabled in config: server.stat-cache-engine = "fam"
 %bcond_with		gdbm			# gdbm in mod_trigger_b4_dl
 %bcond_with		webdav_props	# properties in mod_webdav (includes extra sqlite3/libxml deps)
 %bcond_with		valgrind		# compile code with valgrind support.
@@ -34,7 +37,7 @@
 %define _source http://www.lighttpd.net/download/%{name}-%{version}.tar.gz
 %endif
 
-%define		_rel 0.1
+%define		_rel 0.4
 
 Summary:	Fast and light HTTP server
 Summary(pl):	Szybki i lekki serwer HTTP
@@ -53,6 +56,7 @@
 Patch0:		http://minghetti.ch/blob/dirlist-hide.patch
 Patch1:		%{name}-fcgi-verbose.patch
 Patch2:		%{name}-ssl-redirect-fix.patch
+Patch3:		%{name}-lua-pkgconfig.patch
 URL:		http://www.lighttpd.net/
 %{?with_xattr:BuildRequires:	attr-devel}
 BuildRequires:	autoconf
@@ -65,7 +69,7 @@
 %{?with_mysql:BuildRequires:	mysql-devel}
 %{?with_ldap:BuildRequires:		openldap-devel}
 %{?with_ssl:BuildRequires:	openssl-devel}
-%{?with_lua:BuildRequires:	lua50-devel}
+%{?with_lua:BuildRequires:	lua50-devel >= 5.0.2-4.1}
 %{?with_memcache:BuildRequires:	libmemcache-devel}
 %{?with_gdbm:BuildRequires:	gdbm-devel}
 BuildRequires:	pcre-devel
@@ -194,11 +198,13 @@
 %{?with_dirhide:%patch0 -p0}
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
+%{__automake}
 
 %configure \
 	%{!?with_ipv6:--disable-ipv6} \
@@ -344,6 +350,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.122  2005/08/22 15:18:39  glen
+- add pkgconfig support for locating lua libs
+
 Revision 1.121  2005/08/22 14:29:20  glen
 - 1.4.1
 - reviewed dependencies
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lighttpd.spec?r1=1.121&r2=1.122&f=u




More information about the pld-cvs-commit mailing list