]> git.pld-linux.org Git - packages/xdotool.git/blame - xdotool.spec
- pl
[packages/xdotool.git] / xdotool.spec
CommitLineData
93d890d9
JB
1Summary: Fake keyboard/mouse input
2Summary(pl.UTF-8): Sztuczne źródło klawiatury/myszy
4d701919 3Name: xdotool
9b438866 4Version: 3.20211022.1
66dc2854 5Release: 1
4d701919 6License: BSD-like
7Group: X11/Window Managers/Tools
74cbad1f 8Source0: https://github.com/jordansissel/xdotool/releases/download/v%{version}/%{name}-%{version}.tar.gz
9b438866 9# Source0-md5: 9fd993a251a7c38b32381503544b0dd7
4d701919 10URL: http://www.semicomplete.com/projects/xdotool/
b6a1c078 11BuildRequires: perl-tools-pod
27f412c6 12BuildRequires: sed >= 4.0
4d701919 13BuildRequires: xorg-lib-libX11-devel
27f412c6
JP
14BuildRequires: xorg-lib-libXi-devel
15BuildRequires: xorg-lib-libXinerama-devel
b6a1c078 16BuildRequires: xorg-lib-libXtst-devel
27f412c6 17BuildRequires: xorg-lib-libxkbcommon-devel
76278943 18Requires: %{name}-libs = %{version}-%{release}
4d701919 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22xdotool lets you programatically (or manually) simulate keyboard input
23and mouse activity, move and resize windows, etc. It does this using
24X11's XTEST extension and other Xlib functions.
25
93d890d9
JB
26%description -l pl.UTF-8
27xdotool pozwala programowo (lub ręcznie) symulować aktywność wejściową
28klawiatury i myszy, przesuwać okienka, zmieniać ich rozmiary itp.
29Dzieje się to przy użyciu rozszerzenia X11 XTEST orz innych funkcji
30biblioteki Xlib.
31
76278943 32%package libs
93d890d9
JB
33Summary: Shared libxdo library
34Summary(pl.UTF-8): Biblioteka współdzielona libxdo
76278943 35Group: Libraries
36
37%description libs
93d890d9
JB
38Shared libxdo library.
39
40%description libs -l pl.UTF-8
41Biblioteka współdzielona libxdo.
76278943 42
43%package devel
74cbad1f
ER
44Summary: Header files for libxdo library
45Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libxdo
76278943 46Group: Development/Libraries
47Requires: %{name}-libs = %{version}-%{release}
48
49%description devel
74cbad1f 50Header files for libxdo library.
76278943 51
52%description devel -l pl.UTF-8
74cbad1f 53Pliki nagłówkowe biblioteki libxdo.
76278943 54
4d701919 55%prep
73ebbac1 56%setup -q
4d701919 57
93d890d9 58%{__sed} -i -e 's#^libdir=.*#libdir=%{_libdir}#' \
27f412c6
JP
59 -e 's#^includedir=.*#includedir=%{_includedir}#' \
60 libxdo.pc
61
4d701919 62%build
76278943 63CFLAGS="%{rpmcflags}" \
64LDFLAGS="%{rpmldflags}" \
50213d88 65%{__make} \
66 CC="%{__cc}"
4d701919 67
68%install
69rm -rf $RPM_BUILD_ROOT
50213d88 70install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir},%{_mandir}}
4d701919 71
72%{__make} install \
74cbad1f
ER
73 PREFIX=%{_prefix} \
74 INSTALLLIB=%{_libdir} \
75 INSTALLMAN=%{_mandir} \
76 LDCONFIG=/bin/true \
77 DESTDIR=$RPM_BUILD_ROOT
4d701919 78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
74cbad1f 82%post libs -p /sbin/ldconfig
76278943 83%postun libs -p /sbin/ldconfig
84
4d701919 85%files
86%defattr(644,root,root,755)
27f412c6 87%doc COPYRIGHT CHANGELIST README.md examples
4d701919 88%attr(755,root,root) %{_bindir}/xdotool
89%{_mandir}/man1/xdotool.1*
76278943 90
91%files libs
270ece33 92%defattr(644,root,root,755)
74cbad1f 93%attr(755,root,root) %{_libdir}/libxdo.so.3
76278943 94
95%files devel
270ece33 96%defattr(644,root,root,755)
76278943 97%attr(755,root,root) %{_libdir}/libxdo.so
50213d88 98%{_includedir}/xdo.h
27f412c6 99%{_pkgconfigdir}/libxdo.pc
This page took 0.07013 seconds and 4 git commands to generate.