Name: mod_falcon Version: 0.9.4 Release: 2%{?dist} Summary: An embedded Falcon interpreter for the Apache HTTP Server Group: System Environment/Daemons License: GPLv2+ URL: http://falconpl.org Source0: http://falconpl.org/project_dl/falcon-apache2/falcon-apache2-%{version}.tgz Patch0: mod_falcon-install.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: Falcon-devel >= 0.8.12 BuildRequires: httpd-devel >= 2.0.40 BuildRequires: apr-devel Requires: Falcon >= 0.8.12 Requires: httpd-mmn = %(cat %{_includedir}/httpd/.mmn || echo missing) Requires: httpd >= 2.0.40 %description Mod_falcon is a module that embeds the Falcon language interpreter within the server, allowing Apache handlers to be written in Falcon. %prep %setup -q -n falcon-apache2-%{version} %patch0 %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake} \ -DAPACHE_INCLUDE_DIR=%{_includedir}/httpd \ .. popd make %{?_smp_mflags} -C %{_target_platform} %install rm -rf %{buildroot} make -C %{_target_platform} DESTDIR=%{buildroot} install %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc ChangeLog copyright LICENSE_GPLv2 README TODO %{_libdir}/httpd/modules/mod_falcon.so %config(noreplace) %{_sysconfdir}/httpd/conf.d/*.conf %config(noreplace) %{_sysconfdir}/falcon.ini %changelog * Tue Mar 24 2009 Ben Boeckel 0.9.4-2 - Fix licensing * Tue Mar 24 2009 Ben Boeckel 0.9.4-1 - Initial package