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