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