[packages/xorg-app-xrandr] - updated libXrandr version - separated xkeystone (to xorg-app-xkeystone), it requires nickle with c

qboosh qboosh at pld-linux.org
Wed Feb 24 21:00:33 CET 2016


commit 93fa005ffcae289dc8358af3a2730e5d3c51ed80
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Feb 24 21:03:47 2016 +0100

    - updated libXrandr version
    - separated xkeystone (to xorg-app-xkeystone), it requires nickle with cairo binding

 xorg-app-xrandr.spec | 29 +++++++++++++++++++++++++----
 1 file changed, 25 insertions(+), 4 deletions(-)
---
diff --git a/xorg-app-xrandr.spec b/xorg-app-xrandr.spec
index 8624146..17a3b7f 100644
--- a/xorg-app-xrandr.spec
+++ b/xorg-app-xrandr.spec
@@ -2,7 +2,7 @@ Summary:	xrandr application - command-line interface to RandR extension
 Summary(pl.UTF-8):	Aplikacja xrandr - interfejs linii poleceń do rozszerzenia RandR
 Name:		xorg-app-xrandr
 Version:	1.5.0
-Release:	0.1
+Release:	1
 License:	MIT
 Group:		X11/Applications
 Source0:	http://xorg.freedesktop.org/releases/individual/app/xrandr-%{version}.tar.bz2
@@ -11,10 +11,13 @@ URL:		http://xorg.freedesktop.org/
 BuildRequires:	autoconf >= 2.60
 BuildRequires:	automake
 BuildRequires:	pkgconfig >= 1:0.19
-BuildRequires:	xorg-lib-libXrandr-devel >= 1.4
+BuildRequires:	sed >= 4.0
+BuildRequires:	xorg-lib-libX11-devel
+BuildRequires:	xorg-lib-libXrandr-devel >= 1.5
+BuildRequires:	xorg-lib-libXrender-devel
 BuildRequires:	xorg-proto-xproto-devel >= 7.0.17
 BuildRequires:	xorg-util-util-macros >= 1.8
-Requires:	xorg-lib-libXrandr >= 1.4
+Requires:	xorg-lib-libXrandr >= 1.5
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,6 +28,19 @@ outputs for a screen.
 xrandr służy do ustawiania rozmiaru, orientacji i/lub odbicia wyjścia
 ekranu.
 
+%package -n xorg-app-xkeystone
+Summary:	xkeystone application to help setting keystone effect correction
+Summary(pl.UTF-8):	Aplikacja xkeystone pomagająca ustawić korekcję efektu trapezu
+Group:		X11/Applications
+Requires:	%{name} = %{version}-%{release}
+Requires:	nickle-cairo
+
+%description -n xorg-app-xkeystone
+xkeystone application to help setting keystone effect correction.
+
+%description -n xorg-app-xkeystone -l pl.UTF-8
+Aplikacja xkeystone pomagająca ustawić korekcję efektu trapezu.
+
 %prep
 %setup -q -n xrandr-%{version}
 
@@ -43,12 +59,17 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%{__sed} -i -e '1s,/usr/bin/env nickle,/usr/bin/nickle,' $RPM_BUILD_ROOT%{_bindir}/xkeystone
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc COPYING ChangeLog README
-%attr(755,root,root) %{_bindir}/xkeystone
 %attr(755,root,root) %{_bindir}/xrandr
 %{_mandir}/man1/xrandr.1*
+
+%files -n xorg-app-xkeystone
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/xkeystone
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-app-xrandr.git/commitdiff/93fa005ffcae289dc8358af3a2730e5d3c51ed80



More information about the pld-cvs-commit mailing list