|
|
|
@ -1,26 +1,19 @@
|
|
|
|
|
# Note: running autoreconf is not currently possible
|
|
|
|
|
# (configure.ac:21: error: possibly undefined macro: LT_AGE)
|
|
|
|
|
%bcond_with autoreconf
|
|
|
|
|
|
|
|
|
|
Name: libfakekey
|
|
|
|
|
Version: 0.1
|
|
|
|
|
Version: 0.3
|
|
|
|
|
%global so_version 0
|
|
|
|
|
Release: 28%{?dist}
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Library for converting characters to X key-presses
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://git.yoctoproject.org/cgit/cgit.cgi/libfakekey/
|
|
|
|
|
Source0: https://downloads.yoctoproject.org/releases/matchbox/libfakekey/%{version}/libfakekey-%{version}.tar.bz2
|
|
|
|
|
URL: https://git.yoctoproject.org/cgit/cgit.cgi/libfakekey
|
|
|
|
|
Source0: %{url}/snapshot/libfakekey-%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
%if %{with autoreconf}
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
|
BuildRequires: pkgconfig(xtst)
|
|
|
|
@ -46,11 +39,12 @@ applications that use libfakekey.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%if %{with autoreconf}
|
|
|
|
|
# The tarball generated from the git tag has no configure script, so this is
|
|
|
|
|
# mandatory. See autogen.sh (which, however, we do not use because we need to
|
|
|
|
|
# use the %%configure macro).
|
|
|
|
|
autoreconf -f -i -v
|
|
|
|
|
%endif
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
%make_build AM_LDFLAGS="$(pkgconf --libs x11)"
|
|
|
|
|
%configure --enable-maintainer-mode --disable-static
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -77,6 +71,9 @@ rm -vf '%{buildroot}%{_libdir}/libfakekey.la'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Oct 06 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.3-1
|
|
|
|
|
- Update to 0.3.0
|
|
|
|
|
|
|
|
|
|
* Wed Oct 06 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.1-28
|
|
|
|
|
- Update URLs
|
|
|
|
|
- Adjust whitespace to match personal preference
|
|
|
|
|