Rev | Line | |
---|
[138] | 1 | Summary: scripts.mit.edu logview program |
---|
| 2 | Group: Applications/System |
---|
| 3 | Name: logview |
---|
[2602] | 4 | Version: 1.%{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 |
---|
[2602] | 11 | BuildArch: noarch |
---|
| 12 | |
---|
[138] | 13 | %define debug_package %{nil} |
---|
| 14 | |
---|
| 15 | %description |
---|
| 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 | |
---|
| 24 | %install |
---|
| 25 | [ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
---|
[2602] | 26 | mkdir -p %{buildroot}/%{_bindir}/ |
---|
| 27 | cp logview %{buildroot}/%{_bindir}/logview |
---|
[138] | 28 | |
---|
| 29 | %clean |
---|
| 30 | [ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 31 | |
---|
[142] | 32 | %pre |
---|
[920] | 33 | useradd logview || [ $? -eq 9 ] |
---|
[1895] | 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 |
---|
[2602] | 42 | %{_bindir}/logview |
---|
[138] | 43 | |
---|
| 44 | %changelog |
---|
[2602] | 45 | * Fri Aug 29 2014 Alexander Chernyakhovsky <achernya@mit.eduu> - 1.2601-0 |
---|
| 46 | - logview is now journalctl |
---|
| 47 | |
---|
[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.