matchbox-keyboard/matchbox-keyboard.spec

88 lines
2.7 KiB
RPMSpec
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: matchbox-keyboard
Epoch: 1
Version: 0.1.1
Release: 2mamba
Summary: A lightweight software or virtual keyboard for X improving much the original xkbd
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.yoctoproject.org/software-item/matchbox/
Source: https://git.yoctoproject.org/matchbox-keyboard/snapshot/matchbox-keyboard-%{version}.tar.gz
Source1: matchbox-keyboard.desktop
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libXft-devel
BuildRequires: libXrender-devel
BuildRequires: libXtst-devel
BuildRequires: libexpat-devel
BuildRequires: libfakekey-devel
BuildRequires: libpng-devel
## AUTOBUILDREQ-END
%description
matchbox-keyboard is a lightweight software or virtual keyboard for X improving much the original xkbd. Features include easy flexible XML configuration of layouts, international support, low footprint and few dependencies. It also scales to larger displays much better than the original xkbd.
%debug_package
%prep
%setup -q
./autogen.sh
%build
%configure
# --enable-cairo \
# --enable-gtk-im
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/autostart/matchbox-keyboard.desktop
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%{_bindir}/gtk-query-immodules-2.0 \
> %{_sysconfdir}/gtk-2.0/gtk.immodules
:
%postun
%{_bindir}/gtk-query-immodules-2.0 \
> %{_sysconfdir}/gtk-2.0/gtk.immodules
:
%files
%defattr(-,root,root)
%{_sysconfdir}/xdg/autostart/matchbox-keyboard.desktop
%{_bindir}/matchbox-keyboard
%{_datadir}/applications/inputmethods/matchbox-keyboard.desktop
%{_datadir}/matchbox-keyboard/keyboard*.xml
%{_datadir}/pixmaps/matchbox-keyboard.png
#%{_libdir}/gtk-2.0/*/immodules/libmb-im-invoker.so
%doc AUTHORS COPYING
%changelog
* Fri Nov 03 2023 Automatic Build System <autodist@mambasoft.it> 0.1.1-2mamba
- automatic rebuild by autodist
* Thu Nov 02 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-1mamba
- update to 0.1.1
* Fri Feb 04 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.svn20110124-2mamba
- added xdg autostart file
* Mon Jan 24 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.svn20110124-1mamba
- update to 0.1.svn20110124
* Mon Jan 24 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1-2mamba
- rebuilt with cairo support enabled
* Fri Jan 14 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1-1mamba
- package created by autospec