Sisyphus repository
Last update: 6 march 2021 | SRPMs: 17845 | Visits: 20410588
en ru br
ALT Linux repos
S:1.4.1-alt2

Group :: Graphical desktop/GNOME
RPM: onboard

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name:           onboard
Version:        1.4.1
Release:        alt2

Summary:        Simple on-screen Keyboard
License:        GPLv3
Group:          Graphical desktop/GNOME
URL:            https://launchpad.net/onboard/

Source0:        http://launchpad.net/%name/0.96/%version/+download/%name-%version.tar.gz

BuildRequires(pre): etersoft-build-utils rpm-build-gnome python3-devel
BuildRequires:  gcc-c++
BuildRequires:  desktop-file-utils
BuildRequires:  intltool
BuildRequires:  libXi-devel
BuildRequires:  libXtst-devel
BuildRequires:  libxkbcommon-devel
BuildRequires:  libcanberra-devel
BuildRequires:  libdconf-devel
BuildRequires:  libgtk+3-devel
BuildRequires:  libhunspell-devel
BuildRequires:  libxkbfile-devel
BuildRequires:  python3-module-distutils-extra >= 2.12
BuildRequires:  libappindicator-gtk3-gir-devel
BuildRequires:  libudev-devel

Requires:  python3-module-dbus
# see ALT bug #35174
Requires:  iso-codes

%filter_from_requires /^python3(pypredict.lm)/d

%description
An on-screen keyboard useful on tablet PCs or for mobility impaired
users.

%package gnome
Group:    Graphical desktop/GNOME
Summary:  GNOME Shell support for onboard
Requires: onboard = %version-%release
Requires: gnome-shell

%description gnome
GNOME Shell support for onboard.

%prep
%setup -q

%build
%python3_build

%install
%python3_install

desktop-file-install --dir %buildroot%_desktopdir       \
   --remove-category="X-GNOME-PersonalSettings"        \
   --add-category="Utility;"                           \
   build/share/applications/%name.desktop
desktop-file-install --dir %buildroot%_desktopdir       \
   --remove-category="X-GNOME-PersonalSettings"        \
   --add-category="Utility;"                           \
   build/share/applications/%name-settings.desktop

mkdir -p %buildroot%_datadir/locale
cp -a build/mo/* %buildroot%_datadir/locale

# remove themed icons

rm -rf %buildroot%_iconsdir/ubuntu-mono-*

%find_lang %name

%files -f %name.lang
%doc AUTHORS COPYING* NEWS README HACKING
%_bindir/%name
%_bindir/%name-settings
%_datadir/%name/
%_datadir/glib-2.0/schemas/*.gschema.xml
#_xdgconfigdir/autostart/%name-autostart.desktop
%_desktopdir/%name.desktop
%_desktopdir/%name-settings.desktop
%_man1dir/%{name}*.1*
%_iconsdir/HighContrast/scalable/apps/onboard.svg
%_iconsdir/hicolor/scalable/apps/onboard.svg
%_iconsdir/hicolor/*x*/apps/onboard.png
%_datadir/sounds/freedesktop/stereo/onboard-key-feedback.oga
%_datadir/dbus-1/services/*
%python3_sitelibdir/Onboard/
%python3_sitelibdir/%{name}*.egg-info

%files gnome
%_datadir/gnome-shell/extensions/Onboard_Indicator at onboard.org

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin