source: server/fedora/specs/execsys.spec @ 839

Last change on this file since 839 was 825, checked in by andersk, 16 years ago
Package the svn vhosting infrastructure into execsys.
File size: 1.5 KB
Line 
1Summary: scripts.mit.edu glue associated with file execution
2Group: Applications/System
3Name: execsys
4Version: 0.00
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 glue associated with file execution
16Contains:
17 - Apache configuration file <execsys.conf>
18 - binfmt_misc init script <execsys-binfmt>
19 - Binary for serving static content <static-cat>
20See http://scripts.mit.edu/wiki for more information.
21
22%prep
23%setup -q -n %{name}
24
25%build
26./configure --prefix=/usr/local --with-pl=/usr/bin/perl --with-php=/usr/bin/php-cgi --with-py=/usr/bin/python --with-exe=/usr/bin/mono
27make SYSCATDIR=/usr/local/sbin
28
29%install
30[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
31make install DESTDIR=$RPM_BUILD_ROOT SYSCATDIR=/usr/local/sbin
32
33%clean
34[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
35
36%files
37%defattr(0644, root, root)
38/etc/httpd/conf.d/execsys.conf
39%defattr(0755, root, root)
40/usr/local/bin/static-cat
41/etc/init.d/execsys-binfmt
42/usr/local/sbin/svnproxy.pl
43/usr/local/sbin/ldapize.pl
44/usr/libexec/scripts-trusted/svn
45/etc/xinetd.d/scripts-svn
46
47%post
48chkconfig --add execsys-binfmt
49service execsys-binfmt start
50service xinetd reload
51
52%preun
53service execsys-binfmt stop
54chkconfig --del execsys-binfmt
55
56%postun
57service xinetd reload
58
59%changelog
60
61* Sat Sep 30 2006  Jeff Arnold <jbarnold@MIT.EDU> 0.00
62- initial prerelease version
Note: See TracBrowser for help on using the repository browser.