b8fd13620fb3587aa92299d68232df122250724e
[mod_auth_kerb.git] / mod_auth_gssapi.spec
1 Summary: GSSAPI authentication module for the Apache HTTP Server
2 Name: mod_auth_gssapi
3 Version: 1.0
4 Release: 1%{?dist}
5 License: BSD
6 Group: System Environment/Daemons
7 URL: http://wiki.moonshot.ja.net/
8 Source0:        %{name}-%{version}.tar.gz
9 BuildRequires: httpd-devel, krb5-devel, libtool
10
11 %description
12 The mod_auth_gssapi package provides support for authenticating
13 users of the Apache HTTP server using the SPNEGO-based HTTP 
14 Authentication protocol defined in RFC4559.
15
16 %prep
17 %setup -q -n mod_auth_gssapi
18
19 %build
20 autoreconf -i
21 %configure
22 make
23
24 %install
25 rm -rf $RPM_BUILD_ROOT
26
27 # install the DSO
28 mkdir -p $RPM_BUILD_ROOT%{_libdir}/httpd/modules
29 install -m 755 .libs/mod_auth_gssapi.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules
30
31 # install the conf.d fragment
32 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
33 install -m 644 $RPM_SOURCE_DIR/mod_auth_gssapi.conf \
34    $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/auth_gssapi.conf
35
36 rm -f $RPM_BUILD_ROOT%{_libdir}/httpd/modules/{*.la,*.so.*}
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(-,root,root,-)
43 %{_sysconfdir}/httpd/conf.d/auth_gssapi.conf
44 %{_libdir}/httpd/modules/*.so
45
46 %changelog
47 * Fri Jan 16 2015 Stefan Paetow <stefan.paetow@jisc.ac.uk> 1.0-1
48 - Initial build.