]>
Commit | Line | Data |
---|---|---|
51503b16 JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without dmx # DMX support (xserver < 21) | |
4 | %bcond_with xf86misc # XF86-Misc extensions support (xserver < 1.6) | |
5 | ||
de353d68 JB |
6 | Summary: xdpyinfo application - display information utility for X |
7 | Summary(pl.UTF-8): Aplikacja xdpyinfo - narzędzie do wyświetlania informacji dla X | |
cd188267 | 8 | Name: xorg-app-xdpyinfo |
51503b16 | 9 | Version: 1.3.4 |
4199c32a | 10 | Release: 2 |
cd188267 AM |
11 | License: MIT |
12 | Group: X11/Applications | |
5a2eebbb | 13 | Source0: https://xorg.freedesktop.org/releases/individual/app/xdpyinfo-%{version}.tar.xz |
51503b16 | 14 | # Source0-md5: 933e6d65f96c890f8e96a9f21094f0de |
5a2eebbb | 15 | URL: https://xorg.freedesktop.org/ |
9b2f665a | 16 | BuildRequires: autoconf >= 2.60 |
cd188267 | 17 | BuildRequires: automake |
2727a7b9 | 18 | BuildRequires: libxcb-devel |
a211685b | 19 | BuildRequires: pkgconfig >= 1:0.19 |
5a2eebbb | 20 | BuildRequires: tar >= 1:1.22 |
2727a7b9 | 21 | BuildRequires: xorg-lib-libX11-devel |
de353d68 | 22 | BuildRequires: xorg-lib-libXcomposite-devel |
7e607faa | 23 | BuildRequires: xorg-lib-libXext-devel |
cd188267 AM |
24 | BuildRequires: xorg-lib-libXi-devel |
25 | BuildRequires: xorg-lib-libXinerama-devel | |
cd188267 AM |
26 | BuildRequires: xorg-lib-libXrender-devel |
27 | BuildRequires: xorg-lib-libXtst-devel | |
28 | BuildRequires: xorg-lib-libXxf86dga-devel | |
51503b16 | 29 | %{?with_xf86misc:BuildRequires: xorg-lib-libXxf86misc-devel} |
cd188267 | 30 | BuildRequires: xorg-lib-libXxf86vm-devel |
51503b16 | 31 | %{?with_dmx:BuildRequires: xorg-lib-libdmx-devel} |
9998d7cc | 32 | BuildRequires: xorg-proto-xproto-devel >= 7.0.22 |
9b2f665a | 33 | BuildRequires: xorg-util-util-macros >= 1.8 |
5a2eebbb | 34 | BuildRequires: xz |
5834b0cc | 35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
cd188267 AM |
36 | |
37 | %description | |
de353d68 JB |
38 | xdpyinfo is a utility for displaying information about an X server. |
39 | ||
40 | It is used to examine the capabilities of a server, the predefined | |
41 | values for various parameters used in communicating between clients | |
42 | and the server, and the different types of screens, visuals, and X11 | |
43 | protocol extensions that are available. | |
cd188267 | 44 | |
321ca10e | 45 | %description -l pl.UTF-8 |
de353d68 JB |
46 | xdpyinfo to narzędzie do wyświetlania informacji o serwerze X. |
47 | ||
48 | Służy do sprawdzania możliwości serwera, predefiniowanych wartości | |
49 | różnych parametrów używanych w komunikacji między klientami a serwerem | |
50 | oraz dostępności różnych rodzajów ekranów, widoków i rozszerzeń | |
51 | protokołu X11. | |
cd188267 | 52 | |
cd188267 AM |
53 | %prep |
54 | %setup -q -n xdpyinfo-%{version} | |
55 | ||
cd188267 AM |
56 | %build |
57 | %{__aclocal} | |
58 | %{__autoconf} | |
59 | %{__autoheader} | |
60 | %{__automake} | |
5a2eebbb | 61 | %configure \ |
51503b16 JB |
62 | %{?with_dmx:--with-dmx} \ |
63 | %{?with_xf86misc:--with-xf86misc} | |
cd188267 AM |
64 | |
65 | %{__make} | |
66 | ||
cd188267 AM |
67 | %install |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} install \ | |
a4894025 | 71 | DESTDIR=$RPM_BUILD_ROOT |
cd188267 | 72 | |
cd188267 AM |
73 | %clean |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
cd188267 AM |
76 | %files |
77 | %defattr(644,root,root,755) | |
5a2eebbb | 78 | %doc COPYING ChangeLog README.md |
7e607faa | 79 | %attr(755,root,root) %{_bindir}/xdpyinfo |
9998d7cc | 80 | %{_mandir}/man1/xdpyinfo.1* |