]> git.pld-linux.org Git - SPECS.git/blob - xorg-app-xrandr.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / xorg-app-xrandr.spec
1 Summary:        xrandr application - command-line interface to RandR extension
2 Summary(pl.UTF-8):      Aplikacja xrandr - interfejs linii poleceń do rozszerzenia RandR
3 Name:           xorg-app-xrandr
4 Version:        1.5.1
5 Release:        1
6 License:        MIT
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
21 BuildRequires:  xz
22 Requires:       xorg-lib-libXrandr >= 1.5
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 xrandr is used to set the size, orientation and/or reflection of the
27 outputs for a screen.
28
29 %description -l pl.UTF-8
30 xrandr służy do ustawiania rozmiaru, orientacji i/lub odbicia wyjścia
31 ekranu.
32
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
46 %prep
47 %setup -q -n xrandr-%{version}
48
49 %build
50 %{__aclocal}
51 %{__autoconf}
52 %{__autoheader}
53 %{__automake}
54 %configure
55
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %{__sed} -i -e '1s,/usr/bin/env nickle,/usr/bin/nickle,' $RPM_BUILD_ROOT%{_bindir}/xkeystone
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc COPYING ChangeLog README.md
72 %attr(755,root,root) %{_bindir}/xrandr
73 %{_mandir}/man1/xrandr.1*
74
75 %files -n xorg-app-xkeystone
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_bindir}/xkeystone
This page took 0.135008 seconds and 3 git commands to generate.