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: http://xorg.freedesktop.org/releases/individual/app/xrandr-%{version}.tar.bz2
9 # Source0-md5: ebffac98021b8f1dc71da0c1918e9b57
10 URL: http://xorg.freedesktop.org/
11 BuildRequires: autoconf >= 2.60
12 BuildRequires: automake
13 BuildRequires: pkgconfig >= 1:0.19
14 BuildRequires: sed >= 4.0
15 BuildRequires: xorg-lib-libX11-devel
16 BuildRequires: xorg-lib-libXrandr-devel >= 1.5
17 BuildRequires: xorg-lib-libXrender-devel
18 BuildRequires: xorg-proto-xproto-devel >= 7.0.17
19 BuildRequires: xorg-util-util-macros >= 1.8
20 Requires: xorg-lib-libXrandr >= 1.5
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 xrandr is used to set the size, orientation and/or reflection of the
27 %description -l pl.UTF-8
28 xrandr służy do ustawiania rozmiaru, orientacji i/lub odbicia wyjścia
31 %package -n xorg-app-xkeystone
32 Summary: xkeystone application to help setting keystone effect correction
33 Summary(pl.UTF-8): Aplikacja xkeystone pomagająca ustawić korekcję efektu trapezu
34 Group: X11/Applications
35 Requires: %{name} = %{version}-%{release}
36 Requires: nickle-cairo
38 %description -n xorg-app-xkeystone
39 xkeystone application to help setting keystone effect correction.
41 %description -n xorg-app-xkeystone -l pl.UTF-8
42 Aplikacja xkeystone pomagająca ustawić korekcję efektu trapezu.
45 %setup -q -n xrandr-%{version}
57 rm -rf $RPM_BUILD_ROOT
60 DESTDIR=$RPM_BUILD_ROOT
62 %{__sed} -i -e '1s,/usr/bin/env nickle,/usr/bin/nickle,' $RPM_BUILD_ROOT%{_bindir}/xkeystone
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(644,root,root,755)
69 %doc COPYING ChangeLog README
70 %attr(755,root,root) %{_bindir}/xrandr
71 %{_mandir}/man1/xrandr.1*
73 %files -n xorg-app-xkeystone
74 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_bindir}/xkeystone