[packages/xdotool] up to 3.20210903.1

atler atler at pld-linux.org
Wed Sep 22 00:30:39 CEST 2021


commit 27f412c6ca6760cc000dc9b5d89d889b2a7d9be7
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Sep 22 00:30:10 2021 +0200

    up to 3.20210903.1

 xdotool.spec | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/xdotool.spec b/xdotool.spec
index 8b22c32..f100b61 100644
--- a/xdotool.spec
+++ b/xdotool.spec
@@ -1,16 +1,19 @@
 Summary:	fake keyboard/mouse input
 Name:		xdotool
-Version:	3.20160805.1
+Version:	3.20210903.1
 Release:	1
 License:	BSD-like
 Group:		X11/Window Managers/Tools
 Source0:	https://github.com/jordansissel/xdotool/releases/download/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	544632cc2cf7383bc44425c25ee0650a
+# Source0-md5:	6ac239a33b4294d9553440fd2b9a1332
 URL:		http://www.semicomplete.com/projects/xdotool/
 BuildRequires:	perl-tools-pod
+BuildRequires:	sed >= 4.0
 BuildRequires:	xorg-lib-libX11-devel
+BuildRequires:	xorg-lib-libXi-devel
+BuildRequires:	xorg-lib-libXinerama-devel
 BuildRequires:	xorg-lib-libXtst-devel
-BuildRequires:	xorg-proto-xextproto-devel
+BuildRequires:	xorg-lib-libxkbcommon-devel
 Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -41,6 +44,10 @@ Pliki nagłówkowe biblioteki libxdo.
 %prep
 %setup -q
 
+sed -i -e 's#^libdir=.*#libdir=%{_libdir}#' \
+	-e 's#^includedir=.*#includedir=%{_includedir}#' \
+	libxdo.pc
+
 %build
 CFLAGS="%{rpmcflags}" \
 LDFLAGS="%{rpmldflags}" \
@@ -66,7 +73,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc COPYRIGHT CHANGELIST README examples
+%doc COPYRIGHT CHANGELIST README.md examples
 %attr(755,root,root) %{_bindir}/xdotool
 %{_mandir}/man1/xdotool.1*
 
@@ -78,3 +85,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libxdo.so
 %{_includedir}/xdo.h
+%{_pkgconfigdir}/libxdo.pc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xdotool.git/commitdiff/27f412c6ca6760cc000dc9b5d89d889b2a7d9be7



More information about the pld-cvs-commit mailing list