]> granicus.if.org Git - apache/commitdiff
RPM: Add support for mod_lua.
authorGraham Leggett <minfrin@apache.org>
Tue, 29 Nov 2011 17:20:24 +0000 (17:20 +0000)
committerGraham Leggett <minfrin@apache.org>
Tue, 29 Nov 2011 17:20:24 +0000 (17:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1207977 13f79535-47bb-0310-9956-ffa450edef68

build/rpm/httpd.spec.in

index da8f548b324410d994175a4f001d648c8ff2dbfd..9e91960247cb8b5e9628736fbcf0931f595764a7 100644 (file)
@@ -76,6 +76,16 @@ The mod_authnz_ldap module for the Apache HTTP server provides
 authentication and authorization against an LDAP server, while
 mod_ldap provides an LDAP cache.
 
+%package -n mod_lua
+Group: System Environment/Daemons
+Summary: Lua language module for the Apache HTTP server
+BuildRequires: lua-devel
+Requires: httpd = %{epoch}:%{version}-%{release}, httpd-mmn = %{mmn}
+
+%description -n mod_lua
+The mod_lua module for the Apache HTTP server allows the server to be
+extended with scripts written in the Lua programming language.
+
 %package -n mod_proxy_html
 Group: System Environment/Daemons
 Summary: Proxy HTML filter modules for the Apache HTTP server
@@ -444,6 +454,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/httpd/modules/mod_ldap.so
 %{_libdir}/httpd/modules/mod_authnz_ldap.so
 
+%files -n mod_lua
+%defattr(-,root,root)
+%{_libdir}/httpd/modules/mod_lua.so
+
 %files -n mod_proxy_html
 %defattr(-,root,root)
 %{_libdir}/httpd/modules/mod_proxy_html.so