matchbox-keyboard/matchbox-keyboard.spec

79 lines
2.6 KiB
RPMSpec
Raw 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
Version: 0.1.svn20110124
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: http://matchbox-project.org/?p=1
# svn co http://svn.o-hand.com/repos/matchbox/trunk matchbox
# make dist
Source: http://matchbox-project.org/sources/matchbox-keyboard/%{version}/matchbox-keyboard-%{version}.tar.gz
Source1: matchbox-keyboard.desktop
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libexpat-devel
BuildRequires: libfakekey-devel
BuildRequires: libX11-devel
BuildRequires: libXft-devel
BuildRequires: libXtst-devel
## AUTOBUILDREQ-END
Requires(post):libgtk
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
%prep
%setup -q -n %{name}-0.1
%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.la
%{_libdir}/gtk-2.0/*/immodules/libmb-im-invoker.so
%doc AUTHORS COPYING ChangeLog README
%changelog
* 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