2 %define tar_version 1.01-1.2.9
3 Summary: Multicomputer process monitoring utilities
4 Summary(pl.UTF-8): Narzędzia do monitorowania procesów w środowisku MOSIX
9 Group: Applications/System
10 Source0: ftp://ftp.cs.huji.ac.il/users/mosix/contrib/mproc-%{tar_version}.tar.gz
11 # Source0-md5: a1f9a21ed129e823ca78c2c6db78b13c
12 Patch0: %{name}-make.patch
13 ExclusiveArch: %{ix86}
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _xbindir /usr/X11R6/bin
20 A package of utilities which report on the state of the system,
21 including the states of running processes, amount of memory available,
22 and currently-logged-in users on a Mosix multicomputer system.
24 %description -l pl.UTF-8
25 Pakiet narzędzi raportujących stan systemu, tym stany działających
26 procesów, ilości wolnej pamięci, zalogowanych użytkowników na systemie
27 wielokomputerowym MOSIX.
30 Summary: X-based process monitoring utilities
31 Summary(pl.UTF-8): Narzędzia pod X Window do monitorowania procesów MOSIX
32 Group: X11/Applications
35 A package of X-based utilities which report on the state of the
36 system. These utilities generally provide graphical presentations of
37 information available from tools in the mprocps suite.
39 %description X11 -l pl.UTF-8
40 Pakiet narzędzi pod X Window System raportujących stan systemu. Dają
41 one graficzną prezentację informacji dostępnych z narzędzi z pakietu
45 %setup -q -n mproc-1.0.1-1.2.9
49 PATH=%{_xbindir}:$PATH
50 %{__make} CC="%{__cc} %{rpmcflags}" LDFLAGS="%{rpmldflags}"
53 rm -rf $RPM_BUILD_ROOT
55 %{__make} DESTDIR=$RPM_BUILD_ROOT install
57 # Since this is specific to Red Hat now, we'll leave this in the spec file.
58 # If others decide they like wmconfig, we'll move it to the install phase
60 install -d $RPM_BUILD_ROOT%{_sysconfdir}/X11/wmconfig
61 install mtop.wmconfig $RPM_BUILD_ROOT%{_sysconfdir}/X11/wmconfig/mtop
64 rm -rf $RPM_BUILD_ROOT
68 if [ -f /proc/uptime ] ; then
69 /bin/mps </dev/null >/dev/null 2>&1
73 %defattr(644,root,root,755)
75 %attr(755,root,root) /bin/mps
76 %attr(755,root,root) %{_bindir}/*
77 %config(missingok) %{_sysconfdir}/X11/wmconfig/mtop
78 %{_mandir}/man1/mps.1*
79 %{_mandir}/man1/mskill.1*
80 %{_mandir}/man1/msnice.1*
81 %{_mandir}/man1/mtop.1*
84 %defattr(644,root,root,755)
85 %attr(4755,root,root) %{_xbindir}/XConsole