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

Last change on this file since 1771 was 1763, checked in by mitchb, 12 years ago
Ensure that the same arch of httpd and httpdmods are installed
File size: 1.8 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: scripts-httpd-devel >= 2.2.15-1.fc11.1.scripts.1606
12Requires: httpd%{?_isa}
13Requires: scripts-httpd >= 2.2.15-1.fc11.1.scripts.1606
14%define debug_package %{nil}
15
16%description 
17
18scripts.mit.edu custom apache modules
19Contains:
20 - module to do authentication based on SSL certificates <mod_auth_sslcert>
21 - module to do authorization based on Athena AFS groups <mod_authz_afsgroup>
22 - module to enable optional authentication <mod_auth_optional>
23 - module to get vhosts from LDAP, taken from Debian <mod_vhost_ldap>
24See http://scripts.mit.edu/wiki for more information.
25
26%prep
27%setup -q -n %{name}
28
29%build
30./configure CFLAGS="-I/usr/include/httpd -I/usr/include/apr-1"
31make
32
33%install
34[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
35install -D .libs/mod_auth_sslcert.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_auth_sslcert.so
36install -D .libs/mod_authz_afsgroup.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_authz_afsgroup.so
37install -D .libs/mod_auth_optional.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_auth_optional.so
38install -D .libs/mod_vhost_ldap.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_vhost_ldap.so
39
40%clean
41[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
42
43%files
44%defattr(0755, root, root)
45/usr/lib64/httpd/modules/mod_auth_sslcert.so
46/usr/lib64/httpd/modules/mod_authz_afsgroup.so
47/usr/lib64/httpd/modules/mod_auth_optional.so
48/usr/lib64/httpd/modules/mod_vhost_ldap.so
49
50%changelog
51
52* Sun Jan 13 2006  Jeff Arnold <jbarnold@MIT.EDU> 0.00
53- initial prerelease version
Note: See TracBrowser for help on using the repository browser.