]> git.pld-linux.org Git - SPECS.git/blob - mprocps.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / mprocps.spec
1
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
5 Name:           mprocps
6 Version:        1.01_1.2.9
7 Release:        1
8 License:        GPL
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}
14 Requires:       mosix-utils
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _xbindir        /usr/X11R6/bin
18
19 %description
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.
23
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.
28
29 %package X11
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
33
34 %description X11
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.
38
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
42 mprocps.
43
44 %prep
45 %setup -q -n mproc-1.0.1-1.2.9
46 %patch0 -p1
47
48 %build
49 PATH=%{_xbindir}:$PATH
50 %{__make} CC="%{__cc} %{rpmcflags}" LDFLAGS="%{rpmldflags}"
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} DESTDIR=$RPM_BUILD_ROOT install
56
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
59 # of the Makefile.
60 install -d $RPM_BUILD_ROOT%{_sysconfdir}/X11/wmconfig
61 install mtop.wmconfig $RPM_BUILD_ROOT%{_sysconfdir}/X11/wmconfig/mtop
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post
67 /sbin/ldconfig
68 if [ -f /proc/uptime ] ; then
69         /bin/mps </dev/null >/dev/null 2>&1
70 fi
71
72 %files
73 %defattr(644,root,root,755)
74 %doc NEWS BUGS TODO
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*
82
83 %files X11
84 %defattr(644,root,root,755)
85 %attr(4755,root,root) %{_xbindir}/XConsole
This page took 0.950758 seconds and 3 git commands to generate.