Last change
on this file since 1948 was
1938,
checked in by achernya, 13 years ago
|
Merge r1878-r1937 from trunk to branches/fc15-dev
|
File size:
1.1 KB
|
Rev | Line | |
---|
[138] | 1 | Summary: scripts.mit.edu logview program |
---|
| 2 | Group: Applications/System |
---|
| 3 | Name: logview |
---|
[926] | 4 | Version: 0.%{scriptsversion} |
---|
[138] | 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 logview program |
---|
| 16 | See http://scripts.mit.edu/wiki for more information. |
---|
| 17 | |
---|
| 18 | %prep |
---|
| 19 | %setup -q -n %{name} |
---|
| 20 | |
---|
| 21 | %build |
---|
| 22 | ./configure |
---|
| 23 | make |
---|
| 24 | |
---|
| 25 | %install |
---|
| 26 | [ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 27 | make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr/local |
---|
| 28 | |
---|
| 29 | %clean |
---|
| 30 | [ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 31 | |
---|
[142] | 32 | %pre |
---|
[920] | 33 | useradd logview || [ $? -eq 9 ] |
---|
[1938] | 34 | chmod 710 /home/logview |
---|
[142] | 35 | |
---|
[144] | 36 | %postun |
---|
[918] | 37 | if [ "$1" = "0" ] ; then |
---|
| 38 | userdel logview |
---|
| 39 | fi |
---|
[142] | 40 | |
---|
[138] | 41 | %files |
---|
| 42 | %defattr(0755, root, root) |
---|
| 43 | /usr/local/bin/logview.pl |
---|
[1938] | 44 | %defattr(2755, root, logview) |
---|
[138] | 45 | /usr/local/bin/logview |
---|
| 46 | |
---|
| 47 | %changelog |
---|
[920] | 48 | * Wed Dec 31 2008 Quentin Smith <quentin@mit.edu> |
---|
| 49 | - ignore preexisting user |
---|
| 50 | |
---|
| 51 | * Wed Dec 31 2008 Quentin Smith <quentin@mit.edu> - 0.917-0 |
---|
[918] | 52 | - don't delete logview user on upgrades |
---|
[138] | 53 | |
---|
| 54 | * Tue Jan 30 2006 Jeff Arnold <jbarnold@MIT.EDU> 0.00 |
---|
| 55 | - prerelease |
---|
Note: See
TracBrowser
for help on using the repository browser.