You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libfakekey/libfakekey.spec

72 lines
1.5 KiB

17 years ago
Name: libfakekey
3 years ago
Version: 0.3
%global so_version 0
Release: %autorelease
17 years ago
Summary: Library for converting characters to X key-presses
17 years ago
License: LGPLv2+
3 years ago
URL: https://git.yoctoproject.org/cgit/cgit.cgi/libfakekey
Source0: %{url}/snapshot/libfakekey-%{version}.tar.bz2
BuildRequires: gcc
BuildRequires: make
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xtst)
17 years ago
%description
libfakekey is a simple library for converting UTF-8 characters into 'fake' X
key-presses.
17 years ago
%package devel
Summary: Development files for libfakekey
Requires: libfakekey%{?_isa} = %{version}-%{release}
Requires: pkgconfig(x11)
Requires: pkgconfig(xtst)
17 years ago
%description devel
The libfakekey-devel package contains libraries and header files for developing
applications that use libfakekey.
17 years ago
%prep
%autosetup
17 years ago
%build
3 years ago
# 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
%configure --disable-static
3 years ago
%make_build
17 years ago
%install
%make_install
rm -vf '%{buildroot}%{_libdir}/libfakekey.la'
17 years ago
# The only test is more like a demo; running it is not valuable
17 years ago
%files
7 years ago
%license COPYING
%{_libdir}/libfakekey.so.%{so_version}
%{_libdir}/libfakekey.so.%{so_version}.*
17 years ago
%files devel
%{_includedir}/fakekey/
%{_libdir}/libfakekey.so
%{_libdir}/pkgconfig/libfakekey.pc
17 years ago
%changelog
%autochangelog