1 | Summary: scripts.mit.edu glue associated with file execution |
---|
2 | Group: Applications/System |
---|
3 | Name: execsys |
---|
4 | Version: 0.00 |
---|
5 | Release: 0 |
---|
6 | Vendor: The scripts.mit.edu Team (scripts@mit.edu) |
---|
7 | URL: http://scripts.mit.edu |
---|
8 | License: GPL |
---|
9 | Source: %{name}.tar.gz |
---|
10 | BuildRoot: %{_tmppath}/%(%{__id_u} -n)-%{name}-%{version}-root |
---|
11 | %define debug_package %{nil} |
---|
12 | |
---|
13 | %description |
---|
14 | |
---|
15 | scripts.mit.edu glue associated with file execution |
---|
16 | Contains: |
---|
17 | - Apache configuration file <execsys.conf> |
---|
18 | - binfmt_misc init script <execsys-binfmt> |
---|
19 | - Binary for serving static content <static-cat> |
---|
20 | See http://scripts.mit.edu/wiki for more information. |
---|
21 | |
---|
22 | %prep |
---|
23 | %setup -q -n %{name} |
---|
24 | |
---|
25 | %build |
---|
26 | ./configure --with-pl=/usr/bin/perl --with-php=/usr/bin/php-cgi --with-py=/usr/bin/python --with-exe=/usr/bin/mono |
---|
27 | make SYSCATDIR=/usr/local/sbin |
---|
28 | |
---|
29 | %install |
---|
30 | [ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
---|
31 | make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr/local 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 | |
---|
43 | %post |
---|
44 | chkconfig --add execsys-binfmt |
---|
45 | service execsys-binfmt start |
---|
46 | |
---|
47 | %preun |
---|
48 | service execsys-binfmt stop |
---|
49 | chkconfig --del execsys-binfmt |
---|
50 | |
---|
51 | %changelog |
---|
52 | |
---|
53 | * Sat Sep 30 2006 Jeff Arnold <jbarnold@MIT.EDU> 0.00 |
---|
54 | - initial prerelease version |
---|