source: trunk/server/fedora/specs/execsys.spec

Last change on this file was 2836, checked in by andersk, 8 years ago
Remove the old C version of static-cat
File size: 1.6 KB
Line 
1Summary: scripts.mit.edu glue associated with file execution
2Group: Applications/System
3Name: execsys
4Version: 0.%{scriptsversion}
5Release: 0
6Vendor: The scripts.mit.edu Team (scripts@mit.edu)
7URL: http://scripts.mit.edu
8License: GPL
9Requires: xinetd
10Source: %{name}.tar.gz
11BuildRoot: %{_tmppath}/%(%{__id_u} -n)-%{name}-%{version}-root
12%define debug_package %{nil}
13
14%description
15
16scripts.mit.edu glue associated with file execution
17Contains:
18 - Apache configuration file <execsys.conf>
19 - binfmt_misc init script <execsys-binfmt>
20 - Binary for serving static content <static-cat>
21See http://scripts.mit.edu/wiki for more information.
22
23%prep
24%setup -q -n %{name}
25
26%build
27./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
28make
29
30%install
31[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
32make install DESTDIR=$RPM_BUILD_ROOT
33
34%clean
35[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
36
37%files
38%defattr(0755, root, root)
39/etc/init.d/execsys-binfmt
40/usr/local/sbin/ldapize.pl
41/usr/local/sbin/svnproxy.pl
42/usr/libexec/scripts-trusted/svn
43/etc/xinetd.d/scripts-svn
44/usr/local/sbin/gitproxy.pl
45/usr/libexec/scripts-trusted/git
46/etc/xinetd.d/scripts-git
47
48%post
49chkconfig --add execsys-binfmt
50service execsys-binfmt start
51service xinetd reload
52
53%preun
54if [ "$1" = "0" ] ; then
55   service execsys-binfmt stop
56   chkconfig --del execsys-binfmt
57fi
58
59%postun
60service xinetd reload
61
62%changelog
63* Wed Dec 31 2008  Quentin Smith <quentin@mit.edu>
64- don't stop execsys on package updates
65
66* Sat Sep 30 2006  Jeff Arnold <jbarnold@MIT.EDU> 0.00
67- initial prerelease version
Note: See TracBrowser for help on using the repository browser.