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

Last change on this file since 91 was 89, checked in by tabbott, 19 years ago
Modifying Fedora specfiles to use the make install targets created by previous checkin (except for tokensys, where it seems weird), and fixing stupid errors in the Makefile.ins. While I was at it, I fixed some trailing whitespace in the specfiles.
File size: 1.3 KB
RevLine 
[1]1Summary: scripts.mit.edu glue associated with file execution
2Group: Applications/System
3Name: execsys
4Version: 0.00
5Release: scripts
6Vendor: The scripts.mit.edu Team (scripts@mit.edu)
7URL: http://scripts.mit.edu
8License: GPL
[89]9Source: %{name}.tar.gz
[1]10BuildRoot: %{_tmppath}/%(%{__id_u} -n)-%{name}-%{version}-root
11%define debug_package %{nil}
12
[89]13%description
[1]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 <staticsys-cat>
20See http://scripts.mit.edu/wiki for more information.
21
22%prep
23%setup -q -n %{name}
24
25%build
[89]26./configure --with-pl=/usr/bin/perl --with-php=/usr/bin/php-cgi --with-py=/usr/bin/python
27make SYSCATDIR=/usr/local/sbin
[1]28
29%install
30[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
[89]31make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr/local 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)
40/usr/local/sbin/staticsys-cat
41/etc/init.d/execsys-binfmt
42
[27]43%post
44chkconfig --add execsys-binfmt
45service execsys-binfmt start
46
47%preun
48service execsys-binfmt stop
49chkconfig --del execsys-binfmt
50
[1]51%changelog
52
53* Sat Sep 30 2006  Jeff Arnold <jbarnold@MIT.EDU> 0.00
54- initial prerelease version
Note: See TracBrowser for help on using the repository browser.