source: branches/fc11-dev/server/fedora/specs/httpdmods.spec @ 1693

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