]> git.pld-linux.org Git - packages/xorg-app-xwininfo.git/blob - xorg-app-xwininfo.spec
- updated to 1.1.6
[packages/xorg-app-xwininfo.git] / xorg-app-xwininfo.spec
1 #
2 # Conditional build:
3 %bcond_without  xcb_errors      # system xcb-errors library
4 %bcond_without  xcb_icccm       # system xcb-icccm library
5
6 Summary:        xwininfo application - window information utility for X
7 Summary(pl.UTF-8):      Aplikacja xwininfo - narzędzie informujące o okienkach pod X
8 Name:           xorg-app-xwininfo
9 Version:        1.1.6
10 Release:        1
11 License:        MIT
12 Group:          X11/Applications
13 Source0:        https://xorg.freedesktop.org/releases/individual/app/xwininfo-%{version}.tar.xz
14 # Source0-md5:  c91201bc1eb5e7b38933be8d0f7f16a8
15 URL:            https://xorg.freedesktop.org/
16 BuildRequires:  autoconf >= 2.60
17 BuildRequires:  automake
18 # xcb >= 1.6 xcb-shape
19 BuildRequires:  libxcb-devel >= 1.6
20 BuildRequires:  pkgconfig >= 1:0.19
21 BuildRequires:  tar >= 1:1.22
22 BuildRequires:  xorg-lib-libX11-devel
23 BuildRequires:  xorg-proto-xproto-devel >= 7.0.25
24 BuildRequires:  xorg-util-util-macros >= 1.8
25 %{?with_xcb_errors:BuildRequires:       xcb-util-errors-devel >= 1.0}
26 %{?with_xcb_icccm:BuildRequires:        xcb-util-wm-devel >= 0.3.8}
27 BuildRequires:  xz
28 Requires:       libxcb >= 1.6
29 %{?with_xcb_errors:Requires:    xcb-util-errors >= 1.0}
30 %{?with_xcb_icccm:Requires:     xcb-util-wm >= 0.3.8}
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 xwininfo is a utility for displaying information about windows.
35 Various information is displayed depending on which options are
36 selected.
37
38 %description -l pl.UTF-8
39 xwininfo to narzędzie do wyświetlania informacji o okienkach.
40 Wyświetlane są różne informacje w zależności od wybranych opcji.
41
42 %prep
43 %setup -q -n xwininfo-%{version}
44
45 %build
46 %{__aclocal}
47 %{__autoconf}
48 %{__autoheader}
49 %{__automake}
50 %configure \
51         %{?with_xcb_errors:--with-xcb-errors} \
52         %{?with_xcb_icccm:--with-xcb-icccm}
53
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc COPYING ChangeLog README.md
68 %attr(755,root,root) %{_bindir}/xwininfo
69 %{_mandir}/man1/xwininfo.1*
This page took 0.11689 seconds and 4 git commands to generate.