2024-01-06 08:08:22 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: onboard
|
2024-01-06 08:08:22 +01:00
|
|
|
Version: 1.4.1
|
|
|
|
Release: 2mamba
|
2024-01-06 08:08:22 +01:00
|
|
|
Summary: An onscreen keyboard useful for tablet PC users and for mobility impaired users
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://launchpad.net/onboard
|
|
|
|
Source: http://launchpad.net/onboard/%{majver}/%{version}/+download/onboard-%{version}.tar.gz
|
|
|
|
Patch0: onboard-0.97.1-dconf-0.14.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 08:08:22 +01:00
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXi-devel
|
|
|
|
BuildRequires: libXtst-devel
|
2024-01-06 08:08:22 +01:00
|
|
|
BuildRequires: libcairo-devel
|
2024-01-06 08:08:22 +01:00
|
|
|
BuildRequires: libcanberra-devel
|
2024-01-06 08:08:22 +01:00
|
|
|
BuildRequires: libdconf-devel
|
2024-01-06 08:08:22 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-06 08:08:22 +01:00
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgtk-devel
|
2024-01-06 08:08:22 +01:00
|
|
|
BuildRequires: libhunspell-devel
|
2024-01-06 08:08:22 +01:00
|
|
|
BuildRequires: libpango-devel
|
2024-01-06 08:08:22 +01:00
|
|
|
BuildRequires: libpython36-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libudev-devel
|
|
|
|
BuildRequires: libxkbfile-devel
|
2024-01-06 08:08:22 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 08:08:22 +01:00
|
|
|
BuildRequires: python-distutils-extra-py36
|
2024-01-06 08:08:22 +01:00
|
|
|
Requires: python >= %python_version
|
2024-01-06 08:08:22 +01:00
|
|
|
Requires: iso-codes
|
|
|
|
Requires(post): libglib
|
2024-01-06 08:08:22 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
An onscreen keyboard useful for tablet PC users and for mobility impaired users.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#%patch0 -p0
|
|
|
|
|
|
|
|
%build
|
2024-01-06 08:08:22 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python36} setup.py build
|
2024-01-06 08:08:22 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 08:08:22 +01:00
|
|
|
%{__python36} setup.py install \
|
2024-01-06 08:08:22 +01:00
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
2024-01-06 08:08:22 +01:00
|
|
|
--install-lib=%{python36_sitearch} \
|
2024-01-06 08:08:22 +01:00
|
|
|
--record=%{name}.filelist
|
|
|
|
|
|
|
|
rm %{buildroot}%{_datadir}/onboard/{AUTHORS,CHANGELOG,COPYING,NEWS,README}
|
|
|
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
|
2024-01-06 08:08:22 +01:00
|
|
|
%post
|
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
2024-01-06 08:08:22 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/onboard
|
|
|
|
%{_bindir}/onboard-settings
|
2024-01-06 08:08:22 +01:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.onboard.gschema.xml
|
|
|
|
%{_datadir}/dbus-1/services/org.onboard.Onboard.service
|
|
|
|
%dir %{_datadir}/gnome-shell/extensions/Onboard_Indicator@onboard.org
|
|
|
|
%{_datadir}/gnome-shell/extensions/Onboard_Indicator@onboard.org/*
|
2024-01-06 08:08:22 +01:00
|
|
|
%dir %{_datadir}/onboard
|
|
|
|
%{_datadir}/onboard/*.py
|
|
|
|
%{_datadir}/onboard/*.ui
|
|
|
|
%{_datadir}/onboard/onboard-defaults.conf.example
|
|
|
|
%dir %{_datadir}/onboard/layouts
|
|
|
|
%{_datadir}/onboard/layouts/*
|
|
|
|
%dir %{_datadir}/onboard/scripts
|
|
|
|
%{_datadir}/onboard/scripts/*
|
|
|
|
%dir %{_datadir}/onboard/themes
|
|
|
|
%{_datadir}/onboard/themes/*
|
2024-01-06 08:08:22 +01:00
|
|
|
%{_datadir}/onboard/COPYING.BSD3
|
|
|
|
%{_datadir}/onboard/COPYING.GPL3
|
|
|
|
%{_datadir}/onboard/HACKING
|
|
|
|
%dir %{_datadir}/onboard/models
|
|
|
|
%{_datadir}/onboard/models/*.lm
|
|
|
|
%{_datadir}/onboard/onboard-default-settings.gschema.override.example
|
|
|
|
%{_datadir}/onboard/tools/checkmodels
|
|
|
|
%{_datadir}/sounds/freedesktop/stereo/onboard-key-feedback.oga
|
|
|
|
%dir %{python36_sitearch}/Onboard
|
|
|
|
%{python36_sitearch}/Onboard/*
|
|
|
|
%{python36_sitearch}/onboard-%{version}*.egg-info
|
2024-01-06 08:08:22 +01:00
|
|
|
%{_datadir}/icons/ubuntu-mono-dark/status/22/onboard-panel.svg
|
|
|
|
%{_datadir}/icons/ubuntu-mono-light/status/22/onboard-panel.svg
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/onboard*.svg
|
2024-01-06 08:08:22 +01:00
|
|
|
%{_datadir}/icons/HighContrast/scalable/apps/onboard.svg
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/onboard.png
|
|
|
|
%{_mandir}/man1/onboard-settings.1*
|
|
|
|
%{_mandir}/man1/onboard.1*
|
2024-01-06 08:08:22 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 08:08:22 +01:00
|
|
|
* Wed Jul 10 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-2mamba
|
|
|
|
- install glib schema and require iso-codes
|
|
|
|
|
|
|
|
* Wed Jul 10 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-1mamba
|
|
|
|
- update to 1.4.1
|
|
|
|
|
2024-01-06 08:08:22 +01:00
|
|
|
* Sat May 18 2013 Automatic Build System <autodist@mambasoft.it> 0.98.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat May 18 2013 Automatic Build System <autodist@mambasoft.it> 0.98.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Oct 17 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.97.1-2mamba
|
|
|
|
- rebuilt with dconf 0.14.0 (added upstream patch)
|
|
|
|
|
|
|
|
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 0.97.1-1mamba
|
|
|
|
- update to 0.97.1
|
|
|
|
|
|
|
|
* Mon Dec 12 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.96.1-1mamba
|
|
|
|
- package created by autospec
|