Last change
on this file since 145 was
145,
checked in by jbarnold, 18 years ago
|
logview needs to be able to read the httpd logs
|
File size:
986 bytes
|
Rev | Line | |
---|
[138] | 1 | Summary: scripts.mit.edu logview program |
---|
| 2 | Group: Applications/System |
---|
| 3 | Name: logview |
---|
| 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} |
---|
[142] | 12 | Requires: httpd |
---|
[138] | 13 | |
---|
| 14 | %description |
---|
| 15 | |
---|
| 16 | scripts.mit.edu logview program |
---|
| 17 | See http://scripts.mit.edu/wiki for more information. |
---|
| 18 | |
---|
| 19 | %prep |
---|
| 20 | %setup -q -n %{name} |
---|
| 21 | |
---|
| 22 | %build |
---|
| 23 | ./configure |
---|
| 24 | make |
---|
| 25 | |
---|
| 26 | %install |
---|
| 27 | [ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 28 | make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr/local |
---|
| 29 | |
---|
| 30 | %clean |
---|
| 31 | [ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 32 | |
---|
[142] | 33 | %pre |
---|
| 34 | groupadd logview |
---|
| 35 | chgrp logview /var/log/httpd |
---|
[145] | 36 | chmod g+rx /var/log/httpd |
---|
[142] | 37 | |
---|
[144] | 38 | %postun |
---|
[142] | 39 | groupdel logview |
---|
| 40 | chgrp root /var/log/httpd |
---|
| 41 | |
---|
[138] | 42 | %files |
---|
| 43 | %defattr(0755, root, root) |
---|
| 44 | /usr/local/bin/logview.pl |
---|
[144] | 45 | %defattr(2755, root, logview) |
---|
[138] | 46 | /usr/local/bin/logview |
---|
| 47 | |
---|
| 48 | %changelog |
---|
| 49 | |
---|
| 50 | * Tue Jan 30 2006 Jeff Arnold <jbarnold@MIT.EDU> 0.00 |
---|
| 51 | - prerelease |
---|
Note: See
TracBrowser
for help on using the repository browser.