1 Summary: xrandr application - command-line interface to RandR extension
2 Summary(pl.UTF-8): Aplikacja xrandr - interfejs linii poleceń do rozszerzenia RandR
7 Group: X11/Applications
8 Source0: https://xorg.freedesktop.org/releases/individual/app/xrandr-%{version}.tar.xz
9 # Source0-md5: fe40f7a4fd39dd3a02248d3e0b1972e4
10 URL: https://xorg.freedesktop.org/
11 BuildRequires: autoconf >= 2.60
12 BuildRequires: automake >= 1:1.11
13 BuildRequires: pkgconfig >= 1:0.19
14 BuildRequires: sed >= 4.0
15 BuildRequires: tar >= 1:1.22
16 BuildRequires: xorg-lib-libX11-devel
17 BuildRequires: xorg-lib-libXrandr-devel >= 1.5
18 BuildRequires: xorg-lib-libXrender-devel
19 BuildRequires: xorg-proto-xproto-devel >= 7.0.17
20 BuildRequires: xorg-util-util-macros >= 1.8
22 Requires: xorg-lib-libXrandr >= 1.5
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 xrandr is used to set the size, orientation and/or reflection of the
29 %description -l pl.UTF-8
30 xrandr służy do ustawiania rozmiaru, orientacji i/lub odbicia wyjścia
33 %package -n xorg-app-xkeystone
34 Summary: xkeystone application to help setting keystone effect correction
35 Summary(pl.UTF-8): Aplikacja xkeystone pomagająca ustawić korekcję efektu trapezu
36 Group: X11/Applications
37 Requires: %{name} = %{version}-%{release}
38 Requires: nickle-cairo
40 %description -n xorg-app-xkeystone
41 xkeystone application to help setting keystone effect correction.
43 %description -n xorg-app-xkeystone -l pl.UTF-8
44 Aplikacja xkeystone pomagająca ustawić korekcję efektu trapezu.
47 %setup -q -n xrandr-%{version}
59 rm -rf $RPM_BUILD_ROOT
62 DESTDIR=$RPM_BUILD_ROOT
64 %{__sed} -i -e '1s,/usr/bin/env nickle,/usr/bin/nickle,' $RPM_BUILD_ROOT%{_bindir}/xkeystone
67 rm -rf $RPM_BUILD_ROOT
70 %defattr(644,root,root,755)
71 %doc COPYING ChangeLog README.md
72 %attr(755,root,root) %{_bindir}/xrandr
73 %{_mandir}/man1/xrandr.1*
75 %files -n xorg-app-xkeystone
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_bindir}/xkeystone