Name: disconnect-apache-websocket Version: 952e5b6 Release: 1%{?dist} Summary: Development files for %{name} License: Apache URL: https://github.com/disconnect/apache-websocket Source0: disconnect-apache-websocket-952e5b6.zip BuildRequires: httpd-devel BuildRequires: apr-devel Requires: httpd Requires: apr %description %prep %setup -q #pushd %{name}-%{version} %build apxs -a -c mod_websocket.c %install #rm -rf $RPM_BUILD_ROOT LEXEC=$(apxs -q LIBEXECDIR) install -d -m 0755 "${RPM_BUILD_ROOT}${LEXEC}" apxs -S LIBEXECDIR="${RPM_BUILD_ROOT}${LEXEC}" -i mod_websocket.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc %{_libdir}/httpd/modules/*.so %changelog