]> git.pld-linux.org Git - packages/xorg-app-xdpyinfo.git/blame - xorg-app-xdpyinfo.spec
Release 2 (by relup.sh)
[packages/xorg-app-xdpyinfo.git] / xorg-app-xdpyinfo.spec
CommitLineData
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
6Summary: xdpyinfo application - display information utility for X
7Summary(pl.UTF-8): Aplikacja xdpyinfo - narzędzie do wyświetlania informacji dla X
cd188267 8Name: xorg-app-xdpyinfo
51503b16 9Version: 1.3.4
4199c32a 10Release: 2
cd188267
AM
11License: MIT
12Group: X11/Applications
5a2eebbb 13Source0: https://xorg.freedesktop.org/releases/individual/app/xdpyinfo-%{version}.tar.xz
51503b16 14# Source0-md5: 933e6d65f96c890f8e96a9f21094f0de
5a2eebbb 15URL: https://xorg.freedesktop.org/
9b2f665a 16BuildRequires: autoconf >= 2.60
cd188267 17BuildRequires: automake
2727a7b9 18BuildRequires: libxcb-devel
a211685b 19BuildRequires: pkgconfig >= 1:0.19
5a2eebbb 20BuildRequires: tar >= 1:1.22
2727a7b9 21BuildRequires: xorg-lib-libX11-devel
de353d68 22BuildRequires: xorg-lib-libXcomposite-devel
7e607faa 23BuildRequires: xorg-lib-libXext-devel
cd188267
AM
24BuildRequires: xorg-lib-libXi-devel
25BuildRequires: xorg-lib-libXinerama-devel
cd188267
AM
26BuildRequires: xorg-lib-libXrender-devel
27BuildRequires: xorg-lib-libXtst-devel
28BuildRequires: xorg-lib-libXxf86dga-devel
51503b16 29%{?with_xf86misc:BuildRequires: xorg-lib-libXxf86misc-devel}
cd188267 30BuildRequires: xorg-lib-libXxf86vm-devel
51503b16 31%{?with_dmx:BuildRequires: xorg-lib-libdmx-devel}
9998d7cc 32BuildRequires: xorg-proto-xproto-devel >= 7.0.22
9b2f665a 33BuildRequires: xorg-util-util-macros >= 1.8
5a2eebbb 34BuildRequires: xz
5834b0cc 35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
cd188267
AM
36
37%description
de353d68
JB
38xdpyinfo is a utility for displaying information about an X server.
39
40It is used to examine the capabilities of a server, the predefined
41values for various parameters used in communicating between clients
42and the server, and the different types of screens, visuals, and X11
43protocol extensions that are available.
cd188267 44
321ca10e 45%description -l pl.UTF-8
de353d68
JB
46xdpyinfo to narzędzie do wyświetlania informacji o serwerze X.
47
48Służy do sprawdzania możliwości serwera, predefiniowanych wartości
49różnych parametrów używanych w komunikacji między klientami a serwerem
50oraz dostępności różnych rodzajów ekranów, widoków i rozszerzeń
51protokoł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
68rm -rf $RPM_BUILD_ROOT
69
70%{__make} install \
a4894025 71 DESTDIR=$RPM_BUILD_ROOT
cd188267 72
cd188267
AM
73%clean
74rm -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*
This page took 0.150557 seconds and 4 git commands to generate.