]>
Commit | Line | Data |
---|---|---|
70d5cf62 JB |
1 | Summary: xload application - system load average display for X |
2 | Summary(pl.UTF-8): Aplikacja xload - wyświetlanie obciążenia systemu pod X | |
94a7a45a | 3 | Name: xorg-app-xload |
03873f89 | 4 | Version: 1.1.2 |
bd908b03 | 5 | Release: 2 |
94a7a45a JB |
6 | License: MIT |
7 | Group: X11/Applications | |
c46f070f | 8 | Source0: http://xorg.freedesktop.org/releases/individual/app/xload-%{version}.tar.bz2 |
03873f89 | 9 | # Source0-md5: b9e9808db18acecf4cdec134d86b157c |
6ff112f1 JB |
10 | Source1: xload.desktop |
11 | Source2: xload.png | |
c46f070f | 12 | Source3: xload.1x.it |
94a7a45a | 13 | URL: http://xorg.freedesktop.org/ |
a1dac9c7 | 14 | BuildRequires: autoconf >= 2.60 |
94a7a45a | 15 | BuildRequires: automake |
812f2f61 | 16 | BuildRequires: gettext-tools |
824508f8 | 17 | BuildRequires: pkgconfig >= 1:0.19 |
94a7a45a | 18 | BuildRequires: xorg-lib-libXaw-devel |
a1dac9c7 | 19 | BuildRequires: xorg-lib-libXmu-devel |
8bd90cf4 | 20 | BuildRequires: xorg-lib-libXt-devel >= 1.0.0 |
ed16c74a | 21 | BuildRequires: xorg-proto-xproto-devel >= 7.0.17 |
a1dac9c7 | 22 | BuildRequires: xorg-util-util-macros >= 1.8 |
10dc4d76 | 23 | Requires: xorg-lib-libXt >= 1.0.0 |
94a7a45a JB |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
70d5cf62 JB |
27 | The xload program displays a periodically updating histogram of the |
28 | system load average. | |
94a7a45a | 29 | |
1d228ede | 30 | %description -l pl.UTF-8 |
70d5cf62 JB |
31 | Program xload wyświetla okresowo uaktualniany histogram średniego |
32 | obciążenia systemu (load average). | |
94a7a45a JB |
33 | |
34 | %prep | |
35 | %setup -q -n xload-%{version} | |
36 | ||
37 | %build | |
a1dac9c7 | 38 | %{__aclocal} -I m4 |
94a7a45a JB |
39 | %{__autoconf} |
40 | %{__autoheader} | |
41 | %{__automake} | |
42 | %configure | |
43 | ||
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
9bd69f66 | 50 | DESTDIR=$RPM_BUILD_ROOT |
94a7a45a | 51 | |
6ff112f1 JB |
52 | install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/xload.desktop |
53 | install -D %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/xload.png | |
c46f070f | 54 | install -D %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/it/man1/xload.1x |
6ff112f1 | 55 | |
94a7a45a JB |
56 | %clean |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
a1dac9c7 | 61 | %doc COPYING ChangeLog README |
c46f070f JB |
62 | %attr(755,root,root) %{_bindir}/xload |
63 | %{_datadir}/X11/app-defaults/XLoad | |
6ff112f1 JB |
64 | %{_desktopdir}/xload.desktop |
65 | %{_pixmapsdir}/xload.png | |
03873f89 JB |
66 | %{_mandir}/man1/xload.1* |
67 | %lang(it) %{_mandir}/it/man1/xload.1* |