blob: cc6210a108b8ed56487aab5471e5a00e7aae09a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
Name: apachekerbauth
Version: 1.0
Release: 3
Summary: Kerberos authentication filter for Swift
Group: System Environment/Base
License: GPL
Source: %{name}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
Requires: httpd >= 2.2.15
Requires: mod_auth_kerb >= 5.4
%description
Python CGI script which is used by the swiftkerbauth package to
authenticate client requests using Kerberos.
%prep
%setup -q -n %{name}
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p \
$RPM_BUILD_ROOT/etc/httpd/conf.d \
$RPM_BUILD_ROOT/var/www/cgi-bin
install -m 644 etc/httpd/conf.d/* \
$RPM_BUILD_ROOT/etc/httpd/conf.d
install -m 644 var/www/cgi-bin/memcached.py \
$RPM_BUILD_ROOT/var/www/cgi-bin
install var/www/cgi-bin/swift-auth \
$RPM_BUILD_ROOT/var/www/cgi-bin
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%config /etc/httpd/conf.d/swift-auth.conf
/var/www/cgi-bin/memcached.py
/var/www/cgi-bin/swift-auth
%changelog
* Fri Apr 5 2013 Carsten Clasohm <clasohm@redhat.com> - 1.0-1
- initial build
|