source: trunk/server/fedora/specs/httpdmods.spec @ 1586

Last change on this file since 1586 was 1277, checked in by ezyang, 15 years ago
Add missing build dependency, as suggested by adehnert.
File size: 1.7 KB
Line 
1Summary: scripts.mit.edu custom apache modules
2Group: Applications/System
3Name: httpdmods
4Version: 0.%{scriptsversion}
5Release: 0
6Vendor: The scripts.mit.edu Team (scripts@mit.edu)
7URL: http://scripts.mit.edu
8License: GPL
9Source: %{name}.tar.gz
10BuildRoot: %{_tmppath}/%(%{__id_u} -n)-%{name}-%{version}-root
11BuildRequires: httpd-devel
12%define debug_package %{nil}
13
14%description 
15
16scripts.mit.edu custom apache modules
17Contains:
18 - module to do authentication based on SSL certificates <mod_auth_sslcert>
19 - module to do authorization based on Athena AFS groups <mod_authz_afsgroup>
20 - module to enable optional authentication <mod_auth_optional>
21 - module to get vhosts from LDAP, taken from Debian <mod_vhost_ldap>
22See http://scripts.mit.edu/wiki for more information.
23
24%prep
25%setup -q -n %{name}
26
27%build
28./configure CFLAGS="-I/usr/include/httpd -I/usr/include/apr-1"
29make
30
31%install
32[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
33install -D .libs/mod_auth_sslcert.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_auth_sslcert.so
34install -D .libs/mod_authz_afsgroup.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_authz_afsgroup.so
35install -D .libs/mod_auth_optional.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_auth_optional.so
36install -D .libs/mod_vhost_ldap.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_vhost_ldap.so
37
38%clean
39[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
40
41%files
42%defattr(0755, root, root)
43/usr/lib64/httpd/modules/mod_auth_sslcert.so
44/usr/lib64/httpd/modules/mod_authz_afsgroup.so
45/usr/lib64/httpd/modules/mod_auth_optional.so
46/usr/lib64/httpd/modules/mod_vhost_ldap.so
47
48%changelog
49
50* Sun Jan 13 2006  Jeff Arnold <jbarnold@MIT.EDU> 0.00
51- initial prerelease version
Note: See TracBrowser for help on using the repository browser.