]>
Commit | Line | Data |
---|---|---|
057ebaed JB |
1 | Summary: xrandr application - command-line interface to RandR extension |
2 | Summary(pl.UTF-8): Aplikacja xrandr - interfejs linii poleceń do rozszerzenia RandR | |
2894ca07 | 3 | Name: xorg-app-xrandr |
822bcf5b | 4 | Version: 1.5.2 |
93fa005f | 5 | Release: 1 |
2894ca07 AM |
6 | License: MIT |
7 | Group: X11/Applications | |
6f11b54b | 8 | Source0: https://xorg.freedesktop.org/releases/individual/app/xrandr-%{version}.tar.xz |
822bcf5b | 9 | # Source0-md5: f822a8d5f233e609d27cc22d42a177cb |
6f11b54b | 10 | URL: https://xorg.freedesktop.org/ |
99d95e26 | 11 | BuildRequires: autoconf >= 2.60 |
6f11b54b | 12 | BuildRequires: automake >= 1:1.11 |
e75034f7 | 13 | BuildRequires: pkgconfig >= 1:0.19 |
93fa005f | 14 | BuildRequires: sed >= 4.0 |
ca582c4b | 15 | BuildRequires: tar >= 1:1.22 |
93fa005f JB |
16 | BuildRequires: xorg-lib-libX11-devel |
17 | BuildRequires: xorg-lib-libXrandr-devel >= 1.5 | |
18 | BuildRequires: xorg-lib-libXrender-devel | |
940ebfa6 | 19 | BuildRequires: xorg-proto-xproto-devel >= 7.0.17 |
99d95e26 | 20 | BuildRequires: xorg-util-util-macros >= 1.8 |
ca582c4b | 21 | BuildRequires: xz |
93fa005f | 22 | Requires: xorg-lib-libXrandr >= 1.5 |
dcae95b3 | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
2894ca07 AM |
24 | |
25 | %description | |
057ebaed JB |
26 | xrandr is used to set the size, orientation and/or reflection of the |
27 | outputs for a screen. | |
2894ca07 | 28 | |
5f6d95aa | 29 | %description -l pl.UTF-8 |
057ebaed JB |
30 | xrandr służy do ustawiania rozmiaru, orientacji i/lub odbicia wyjścia |
31 | ekranu. | |
2894ca07 | 32 | |
93fa005f JB |
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 | |
39 | ||
40 | %description -n xorg-app-xkeystone | |
41 | xkeystone application to help setting keystone effect correction. | |
42 | ||
43 | %description -n xorg-app-xkeystone -l pl.UTF-8 | |
44 | Aplikacja xkeystone pomagająca ustawić korekcję efektu trapezu. | |
45 | ||
2894ca07 AM |
46 | %prep |
47 | %setup -q -n xrandr-%{version} | |
48 | ||
2894ca07 AM |
49 | %build |
50 | %{__aclocal} | |
51 | %{__autoconf} | |
52 | %{__autoheader} | |
53 | %{__automake} | |
54 | %configure | |
55 | ||
56 | %{__make} | |
57 | ||
2894ca07 AM |
58 | %install |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
a732a714 | 62 | DESTDIR=$RPM_BUILD_ROOT |
2894ca07 | 63 | |
93fa005f JB |
64 | %{__sed} -i -e '1s,/usr/bin/env nickle,/usr/bin/nickle,' $RPM_BUILD_ROOT%{_bindir}/xkeystone |
65 | ||
2894ca07 AM |
66 | %clean |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
2894ca07 AM |
69 | %files |
70 | %defattr(644,root,root,755) | |
ca582c4b | 71 | %doc COPYING ChangeLog README.md |
d1ce44d1 | 72 | %attr(755,root,root) %{_bindir}/xrandr |
2adef121 | 73 | %{_mandir}/man1/xrandr.1* |
93fa005f JB |
74 | |
75 | %files -n xorg-app-xkeystone | |
76 | %defattr(644,root,root,755) | |
77 | %attr(755,root,root) %{_bindir}/xkeystone |