|
|
aa37947 |
# -*-Mode: rpm-spec-mode; -*-
|
|
|
aa37947 |
|
|
|
a8a8185 |
%undefine __cmake_in_source_build
|
|
|
e8cf31b |
|
|
|
e8cf31b |
%global debug_package %{nil}
|
|
|
aa37947 |
|
|
|
aa37947 |
Name: ydotool
|
|
|
2c39489 |
Version: 1.0.4
|
|
|
793eaf3 |
Release: 3%{?dist}
|
|
|
aa37947 |
Summary: Generic command-line automation tool (no X!)
|
|
|
8c34d90 |
License: AGPLv3
|
|
|
8c34d90 |
URL: https://github.com/ReimuNotMoe/%{name}
|
|
|
aa37947 |
|
|
|
e8cf31b |
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
d16465e |
|
|
|
aa37947 |
BuildRequires: cmake
|
|
|
8c34d90 |
BuildRequires: gcc
|
|
|
aa37947 |
BuildRequires: make
|
|
|
aa37947 |
BuildRequires: scdoc
|
|
|
aa37947 |
BuildRequires: systemd-rpm-macros
|
|
|
aa37947 |
|
|
|
aa37947 |
%description
|
|
|
aa37947 |
|
|
|
aa37947 |
Performs some of the functions of xdotool(1) without requiring X11 -
|
|
|
aa37947 |
however, it generally requires root permission (to open /dev/uinput)
|
|
|
aa37947 |
|
|
|
e8cf31b |
N.B. it is strongly recommended to start the ydotoold daemon with:
|
|
|
aa37947 |
|
|
|
aa37947 |
- systemctl enable ydotool
|
|
|
aa37947 |
- systemctl start ydotool
|
|
|
aa37947 |
|
|
|
aa37947 |
%prep
|
|
|
e8cf31b |
%setup -q
|
|
|
aa37947 |
|
|
|
aa37947 |
%build
|
|
|
8c34d90 |
%cmake -DBUILD_SHARED_LIBS:BOOL=OFF
|
|
|
e8cf31b |
|
|
|
e8cf31b |
make -C %{_vpath_builddir} -j `nproc`
|
|
|
aa37947 |
|
|
|
aa37947 |
%install
|
|
|
e8cf31b |
mkdir -p %{buildroot}/%{_bindir}
|
|
|
e8cf31b |
strip */%{name}
|
|
|
e8cf31b |
strip */%{name}d
|
|
|
e8cf31b |
install -p -m 0755 */%{name} %{buildroot}/%{_bindir}
|
|
|
e8cf31b |
install -p -m 0755 */%{name}d %{buildroot}/%{_bindir}
|
|
|
aa37947 |
mkdir -p %{buildroot}/%{_unitdir}
|
|
|
72218f4 |
install -p -m 0644 */%{name}.service %{buildroot}/%{_unitdir}
|
|
|
aa37947 |
mkdir -p %{buildroot}/%{_mandir}/man1
|
|
|
aa37947 |
mkdir -p %{buildroot}/%{_mandir}/man8
|
|
|
aa37947 |
scdoc < manpage/%{name}.1.scd > %{buildroot}/%{_mandir}/man1/%{name}.1
|
|
|
aa37947 |
scdoc < manpage/%{name}d.8.scd > %{buildroot}/%{_mandir}/man8/%{name}d.8
|
|
|
aa37947 |
|
|
|
aa37947 |
%post
|
|
|
aa37947 |
%systemd_post %{name}.service
|
|
|
aa37947 |
|
|
|
aa37947 |
%preun
|
|
|
aa37947 |
%systemd_preun %{name}.service
|
|
|
aa37947 |
|
|
|
aa37947 |
%postun
|
|
|
aa37947 |
%systemd_postun_with_restart %{name}.service
|
|
|
aa37947 |
|
|
|
aa37947 |
%files
|
|
|
aa37947 |
%{_unitdir}/%{name}.service
|
|
|
aa37947 |
%{_bindir}/%{name}*
|
|
|
aa37947 |
%license LICENSE
|
|
|
aa37947 |
%doc README.md
|
|
|
aa37947 |
%{_mandir}/man1/%{name}.1.*
|
|
|
aa37947 |
%{_mandir}/man8/%{name}d.8.*
|
|
|
aa37947 |
|
|
|
aa37947 |
%changelog
|
|
|
793eaf3 |
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-3
|
|
|
793eaf3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
793eaf3 |
|
|
|
df24a61 |
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-2
|
|
|
df24a61 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
df24a61 |
|
|
|
2c39489 |
* Tue Jan 31 2023 Bob Hepple <bob.hepple@gmail.com> - 1.0.4-1
|
|
|
2c39489 |
- new version
|
|
|
2c39489 |
|
|
|
35c5e38 |
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
|
|
|
35c5e38 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
35c5e38 |
|
|
|
8c34d90 |
* Thu Jan 12 2023 Bob Hepple <bob.hepple@gmail.com> - 1.0.3-1
|
|
|
8c34d90 |
- new version
|
|
|
8c34d90 |
|
|
|
7032f37 |
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
|
|
|
7032f37 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
7032f37 |
|
|
|
d16465e |
* Mon Mar 21 2022 Bob Hepple <bob.hepple@gmail.com> - 1.0.1-2
|
|
|
d16465e |
- added new manual (also pushed upstream)
|
|
|
d16465e |
|
|
|
c6e225d |
* Thu Feb 17 2022 Bob Hepple <bob.hepple@gmail.com> - 1.0.1-1
|
|
|
c6e225d |
- new version
|
|
|
c6e225d |
|
|
|
431e5c6 |
* Sun Feb 06 2022 Bob Hepple <bob.hepple@gmail.com> - 1.0.0-2
|
|
|
431e5c6 |
- now builds on all architectures without patches
|
|
|
431e5c6 |
|
|
|
72218f4 |
* Sun Feb 06 2022 Bob Hepple <bob.hepple@gmail.com> - 1.0.0-1
|
|
|
72218f4 |
- new version
|
|
|
72218f4 |
|
|
|
b759343 |
* Sun Jan 30 2022 Bob Hepple <bob.hepple@gmail.com> - 0.2.0-8
|
|
|
b759343 |
- add -Wno-error= flags for FTBFS #2047136 in f36
|
|
|
85b827c |
- exclude armv7hl as it fails to compile
|
|
|
b759343 |
|
|
|
4c45465 |
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-7
|
|
|
4c45465 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
4c45465 |
|
|
|
6a4827c |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-6
|
|
|
6a4827c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
6a4827c |
|
|
|
1834f83 |
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.0-5
|
|
|
1834f83 |
- Rebuilt for updated systemd-rpm-macros
|
|
|
1834f83 |
See https://pagure.io/fesco/issue/2583.
|
|
|
1834f83 |
|
|
|
d8b14c0 |
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-4
|
|
|
d8b14c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
d8b14c0 |
|
|
|
5ced80f |
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 0.2.0-3
|
|
|
5ced80f |
- Rebuilt for Boost 1.75
|
|
|
5ced80f |
|
|
|
c36228d |
* Wed Jan 20 2021 Bob Hepple <bob.hepple@gmail.com> - 0.2.0-2
|
|
|
c36228d |
- rebuilt excluding s390x and ppc64le
|
|
|
c36228d |
|
|
|
e8cf31b |
* Mon Jan 11 2021 Bob Hepple <bob.hepple@gmail.com> - 0.2.0-1
|
|
|
e8cf31b |
- new version
|
|
|
e8cf31b |
- upstream has dropped the idea of -devel libraries so we are only
|
|
|
e8cf31b |
distributing the regular package now; also libevdevPlus-devel and
|
|
|
e8cf31b |
libuInputPlus-devel are no longer needed as they are now compiled
|
|
|
e8cf31b |
in.
|
|
|
e8cf31b |
|
|
|
9c8c794 |
* Sat Aug 15 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.9-0.4.20200815.git.787fd25
|
|
|
9c8c794 |
- most recent version
|
|
|
9c8c794 |
|
|
|
a84e0f1 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9-0.3.20200405.git.9c3a4e7
|
|
|
a84e0f1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
a84e0f1 |
|
|
|
c2d6deb |
* Sat May 30 2020 Jonathan Wakely <jwakely@redhat.com> - 0.1.9-0.2.20200405.git.9c3a4e7
|
|
|
c2d6deb |
- Rebuilt for Boost 1.73
|
|
|
c2d6deb |
|
|
|
aa37947 |
* Sun Apr 05 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.9-0.1.20200405.git.9c3a4e7
|
|
|
aa37947 |
- Changes per RHBZ#1807753 - %{?systemd_requires} and ldconfig are no longer required
|
|
|
aa37947 |
|
|
|
aa37947 |
* Fri Apr 03 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.9-0.1.20200403.git.9c3a4e7
|
|
|
aa37947 |
- Changes per RHBZ#1807753
|
|
|
aa37947 |
|
|
|
aa37947 |
* Wed Apr 01 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.9-0.1.20200401.git.9c3a4e7
|
|
|
aa37947 |
- Changes per RHBZ#1807753
|
|
|
aa37947 |
|
|
|
aa37947 |
* Mon Mar 30 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.9-0.1.20200330.git.9c3a4e7
|
|
|
aa37947 |
- Changes per RHBZ#1807753
|
|
|
aa37947 |
|
|
|
aa37947 |
* Sun Mar 22 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.9-0.1.20200322.git.9c3a4e7
|
|
|
aa37947 |
- fix Source to get git tag directly
|
|
|
aa37947 |
|
|
|
aa37947 |
* Sat Feb 29 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.9-0.1.20200229.git.9c3a4e7
|
|
|
aa37947 |
- Add a note on how to get source from upstream
|
|
|
aa37947 |
- use lib*-devel packages in BuildRequires
|
|
|
aa37947 |
|
|
|
aa37947 |
* Tue Feb 18 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.9-0.1.20200218.git.9c3a4e7
|
|
|
aa37947 |
- rebuild from head to pick up manuals & service file
|
|
|
aa37947 |
- remove static build
|
|
|
aa37947 |
- strip binaries (rpmlint complained about them)
|
|
|
aa37947 |
|
|
|
aa37947 |
* Mon Feb 17 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.8.20200211.3
|
|
|
aa37947 |
- add BuildRequires: systemd-rpm-macros; add dist to release
|
|
|
aa37947 |
|
|
|
aa37947 |
* Sun Feb 16 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.8.20200211.2
|
|
|
aa37947 |
- use %%_unitdir
|
|
|
aa37947 |
|
|
|
aa37947 |
* Sun Feb 16 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.8.20200211.1
|
|
|
aa37947 |
- Initial version of the package
|