source: trunk/server/fedora/specs/logview.spec @ 2792

Last change on this file since 2792 was 2602, checked in by achernya, 8 years ago
Behold the glorious, working logview
File size: 1.2 KB
Line 
1Summary: scripts.mit.edu logview program
2Group: Applications/System
3Name: logview
4Version: 1.%{scriptsversion}
5Release: 0
6Vendor: The scripts.mit.edu Team (scripts@mit.edu)
7URL: http://scripts.mit.edu
8License: GPL
9Source: %{name}.tar.gz
10BuildRoot: %{_tmppath}/%(%{__id_u} -n)-%{name}-%{version}-root
11BuildArch: noarch
12
13%define debug_package %{nil}
14
15%description 
16scripts.mit.edu logview program
17See 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
26mkdir -p %{buildroot}/%{_bindir}/
27cp logview %{buildroot}/%{_bindir}/logview
28
29%clean
30[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
31
32%pre
33useradd logview || [ $? -eq 9 ]
34chmod 710 /home/logview
35
36%postun
37if [ "$1" = "0" ] ; then
38   userdel logview
39fi
40
41%files
42%{_bindir}/logview
43
44%changelog
45* Fri Aug 29 2014 Alexander Chernyakhovsky <achernya@mit.eduu> - 1.2601-0
46- logview is now journalctl
47
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
52- don't delete logview user on upgrades
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.