1 |
Name: xwininfo |
2 |
Version: 1.1.1 |
3 |
Release: %mkrel 1 |
4 |
Summary: Window information utility for X |
5 |
Group: Development/X11 |
6 |
Source: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 |
7 |
License: MIT |
8 |
BuildRoot: %{_tmppath}/%{name}-root |
9 |
|
10 |
BuildRequires: libx11-devel >= 1.0.0 |
11 |
BuildRequires: libxext-devel >= 1.0.0 |
12 |
BuildRequires: libxmu-devel >= 1.0.0 |
13 |
BuildRequires: x11-util-macros >= 1.0.1 |
14 |
|
15 |
%description |
16 |
Xwininfo is a utility for displaying information about windows. |
17 |
|
18 |
%prep |
19 |
%setup -q -n %{name}-%{version} |
20 |
|
21 |
%build |
22 |
%configure2_5x --x-includes=%{_includedir}\ |
23 |
--x-libraries=%{_libdir} |
24 |
|
25 |
%make |
26 |
|
27 |
%install |
28 |
rm -rf %{buildroot} |
29 |
%makeinstall_std |
30 |
|
31 |
%clean |
32 |
rm -rf %{buildroot} |
33 |
|
34 |
%files |
35 |
%defattr(-,root,root) |
36 |
%{_bindir}/xwininfo |
37 |
%{_mandir}/man1/xwininfo.* |
38 |
|
39 |
|