summaryrefslogtreecommitdiff
path: root/packaging/xconsole.spec
blob: ce7fb70a9da9141de14a2b12fa89a2addb52cec5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
%bcond_with x

Name:           xconsole
Version:        1.0.6
Release:        0
License:        MIT
Summary:        Utility to monitor system console messages with X
Url:            http://xorg.freedesktop.org/
Group:          System/X11/Utilities
Source:         %{name}-%{version}.tar.bz2
Source1001: 	xconsole.manifest
BuildRequires:  pkg-config
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xaw7)
BuildRequires:  pkgconfig(xmu)
BuildRequires:  pkgconfig(xorg-macros) >= 1.8
BuildRequires:  pkgconfig(xt)

%if !%{with x}
ExclusiveArch:
%endif

%description
xconsole displays in a X11 window the messages which are usually sent
to /dev/console

%prep
%setup -q
cp %{SOURCE1001} .

%build
%autogen
make %{?_smp_mflags}

%install
%make_install

%files
%manifest %{name}.manifest
%defattr(-,root,root)
%doc COPYING
%{_bindir}/xconsole
%{_sysconfdir}/X11/app-defaults/XConsole
%{_mandir}/man1/xconsole.1%{?ext_man}