Bump version to 1.1.0
[mod_auth_gssapi.git] / contrib / mod_auth_gssapi.spec
1 Name:           mod_auth_gssapi
2 Version:        1.1.0
3 Release:        1%{?dist}
4 Summary:        A GSSAPI Authentication module for Apache
5
6 Group:          System Environment/Daemons
7 License:        MIT
8 URL:            https://github.com/modauthgssapi/mod_auth_gssapi
9 Source0:        https://github.com/modauthgssapi/%{name}/releases/download/v%{version}/%name-%{version}.tar.gz
10
11 BuildRequires:  httpd-devel, krb5-devel, openssl-devel
12 Requires:       httpd-mmn = %{_httpd_mmn}
13 Requires:       krb5-libs >= 1.11.5
14
15 %description
16 The mod_auth_gssapi module is an authentication service that implements the
17 SPNEGO based HTTP Authentication protocol defined in RFC4559.
18
19 %prep
20 %setup -q
21
22
23 %build
24 export APXS=%{_httpd_apxs}
25 %configure
26 make %{?_smp_mflags}
27
28
29 %install
30 mkdir -p %{buildroot}%{_httpd_moddir}
31 install -m 755 src/.libs/%{name}.so %{buildroot}%{_httpd_moddir}
32
33 # Apache configuration for the module
34 echo "LoadModule auth_gssapi_module modules/mod_auth_gssapi.so" > 10-auth_gssapi.conf
35 mkdir -p %{buildroot}%{_httpd_modconfdir}
36 install -m 644 10-auth_gssapi.conf %{buildroot}%{_httpd_modconfdir}
37
38 %files
39 %doc
40 %defattr(-,root,root)
41 %doc README COPYING
42 %config(noreplace) %{_httpd_modconfdir}/10-auth_gssapi.conf
43 %{_httpd_moddir}/mod_auth_gssapi.so
44
45 %changelog
46 * Thu Mar 12 2015 Simo Sorce <simo@redhat.com> 1.1.0-1
47 - New minor release 1.1.0
48
49 * Sat Nov  8 2014 Simo Sorce <simo@redhat.com> 1.0.4-1
50 - Patch release 1.0.4
51
52 * Sat Oct 11 2014 Simo Sorce <simo@redhat.com> 1.0.3-1
53 - Patch release 1.0.3
54
55 * Thu Aug 26 2014 Simo Sorce <simo@redhat.com> 1.0.2-1
56 - Patch release 1.0.2
57
58 * Thu Aug 14 2014 Simo Sorce <simo@redhat.com> 1.0.1-1
59 - Patch release 1.0.1
60
61 * Mon Aug  4 2014 Simo Sorce <simo@redhat.com> 1.0.0-1
62 - First release