|
|
|
# Note: running autoreconf is not currently possible
|
|
|
|
# (configure.ac:21: error: possibly undefined macro: LT_AGE)
|
|
|
|
%bcond_with autoreconf
|
|
|
|
|
|
|
|
Name: libfakekey
|
|
|
|
Version: 0.1
|
|
|
|
%global so_version 0
|
|
|
|
Release: 28%{?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
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
%if %{with autoreconf}
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xtst)
|
|
|
|
|
|
|
|
%description
|
|
|
|
libfakekey is a simple library for converting UTF-8 characters into 'fake' X
|
|
|
|
key-presses.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for libfakekey
|
|
|
|
|
|
|
|
Requires: libfakekey = %{version}-%{release}
|
|
|
|
Requires: pkgconfig(x11)
|
|
|
|
Requires: pkgconfig(xtst)
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The libfakekey-devel package contains libraries and header files for developing
|
|
|
|
applications that use libfakekey.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%if %{with autoreconf}
|
|
|
|
autoreconf -f -i -v
|
|
|
|
%endif
|
|
|
|
%configure --disable-static
|
|
|
|
%make_build AM_LDFLAGS="$(pkgconf --libs x11)"
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
rm -vf '%{buildroot}%{_libdir}/libfakekey.la'
|
|
|
|
|
|
|
|
|
|
|
|
%{?el7:%ldconfig_scriptlets}
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%{_libdir}/libfakekey.so.%{so_version}
|
|
|
|
%{_libdir}/libfakekey.so.%{so_version}.*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/fakekey/
|
|
|
|
%{_libdir}/libfakekey.so
|
|
|
|
%{_libdir}/pkgconfig/libfakekey.pc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Wed Oct 06 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.1-28
|
|
|
|
- Update URLs
|
|
|
|
- Adjust whitespace to match personal preference
|
|
|
|
- Add a build conditional for autoreconf
|
|
|
|
- Use pkgconfig(…) dependencies where appropriate
|
|
|
|
- Upgrade source hash from MD5 to SHA-512
|
|
|
|
- Reduce spec file macro indirection and modernize macros
|
|
|
|
- Use stricter globs to ensure so-version changes are detected
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-27
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-26
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-25
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-24
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-23
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-22
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-21
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Mar 7 2018 Peter Robinson <pbrobinson@fedoraproject.org> 0.1-20
|
|
|
|
- Add gcc BR, spec cleanups
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-18
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jul 28 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.1-9
|
|
|
|
- Add libXi to fix FTBFS
|
|
|
|
|
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Mar 14 2011 Peter Robinson <pbrobinson@gmail.com> - 0.1-6
|
|
|
|
- Add devel dep on libXtst-devel - BZ 680878
|
|
|
|
|
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Sep 2 2010 Dan Horák <dan[at]danny.cz> - 0.1-4
|
|
|
|
- fix linking with --no-add-needed (#564882)
|
|
|
|
|
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon May 19 2008 Jon McCann <jmccann@redhat.com> 0.1-1
|
|
|
|
- Initial package
|