install glib schema and require iso-codes [release 1.4.1-2mamba;Wed Jul 10 2019]
This commit is contained in:
parent
ec08d94b98
commit
01dc09477b
80
onboard.spec
80
onboard.spec
@ -1,7 +1,7 @@
|
|||||||
%define majver %(echo %version | cut -d. -f1-2)
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
Name: onboard
|
Name: onboard
|
||||||
Version: 0.98.2
|
Version: 1.4.1
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: An onscreen keyboard useful for tablet PC users and for mobility impaired users
|
Summary: An onscreen keyboard useful for tablet PC users and for mobility impaired users
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -13,20 +13,27 @@ Patch0: onboard-0.97.1-dconf-0.14.patch
|
|||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libcairo-devel
|
|
||||||
BuildRequires: libdconf-devel
|
|
||||||
BuildRequires: libgdk-pixbuf-devel
|
|
||||||
BuildRequires: libglib-devel
|
|
||||||
BuildRequires: libgtk-devel
|
|
||||||
BuildRequires: libpango-devel
|
|
||||||
BuildRequires: libpython-devel
|
|
||||||
BuildRequires: libX11-devel
|
BuildRequires: libX11-devel
|
||||||
BuildRequires: libXi-devel
|
BuildRequires: libXi-devel
|
||||||
BuildRequires: libXtst-devel
|
BuildRequires: libXtst-devel
|
||||||
BuildRequires: python
|
BuildRequires: libcairo-devel
|
||||||
|
BuildRequires: libcanberra-devel
|
||||||
|
BuildRequires: libdconf-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libgdk-pixbuf-devel
|
||||||
|
BuildRequires: libglib-devel
|
||||||
|
BuildRequires: libgtk-devel
|
||||||
|
BuildRequires: libhunspell-devel
|
||||||
|
BuildRequires: libpango-devel
|
||||||
|
BuildRequires: libpython36-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libudev-devel
|
||||||
|
BuildRequires: libxkbfile-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: python-distutils-extra
|
BuildRequires: python-distutils-extra-py36
|
||||||
Requires: python >= %python_version
|
Requires: python >= %python_version
|
||||||
|
Requires: iso-codes
|
||||||
|
Requires(post): libglib
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -37,48 +44,77 @@ An onscreen keyboard useful for tablet PC users and for mobility impaired users.
|
|||||||
#%patch0 -p0
|
#%patch0 -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python36} setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py install \
|
%{__python36} setup.py install \
|
||||||
-O1 --skip-build \
|
-O1 --skip-build \
|
||||||
--root="%{buildroot}" \
|
--root="%{buildroot}" \
|
||||||
--install-headers=%{_includedir}/python \
|
--install-headers=%{_includedir}/python \
|
||||||
--install-lib=%{python_sitearch} \
|
--install-lib=%{python36_sitearch} \
|
||||||
--record=%{name}.filelist
|
--record=%{name}.filelist
|
||||||
|
|
||||||
rm %{buildroot}%{_datadir}/onboard/{AUTHORS,CHANGELOG,COPYING,NEWS,README}
|
rm %{buildroot}%{_datadir}/onboard/{AUTHORS,CHANGELOG,COPYING,NEWS,README}
|
||||||
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
|
%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
|
||||||
|
:
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sysconfdir}/xdg/autostart/onboard-autostart.desktop
|
|
||||||
%{_bindir}/onboard
|
%{_bindir}/onboard
|
||||||
%{_bindir}/onboard-settings
|
%{_bindir}/onboard-settings
|
||||||
%dir %{python_sitearch}/Onboard
|
%{_datadir}/glib-2.0/schemas/org.onboard.gschema.xml
|
||||||
%{python_sitearch}/Onboard/*
|
%{_datadir}/dbus-1/services/org.onboard.Onboard.service
|
||||||
%{python_sitearch}/onboard-%{version}*.egg-info
|
%dir %{_datadir}/gnome-shell/extensions/Onboard_Indicator@onboard.org
|
||||||
|
%{_datadir}/gnome-shell/extensions/Onboard_Indicator@onboard.org/*
|
||||||
%dir %{_datadir}/onboard
|
%dir %{_datadir}/onboard
|
||||||
%{_datadir}/onboard/*.py
|
%{_datadir}/onboard/*.py
|
||||||
%{_datadir}/onboard/*.ui
|
%{_datadir}/onboard/*.ui
|
||||||
%{_datadir}/onboard/onboard-defaults.conf.example
|
%{_datadir}/onboard/onboard-defaults.conf.example
|
||||||
%dir %{_datadir}/onboard/docs
|
|
||||||
%{_datadir}/onboard/docs/*
|
|
||||||
%dir %{_datadir}/onboard/layouts
|
%dir %{_datadir}/onboard/layouts
|
||||||
%{_datadir}/onboard/layouts/*
|
%{_datadir}/onboard/layouts/*
|
||||||
%dir %{_datadir}/onboard/scripts
|
%dir %{_datadir}/onboard/scripts
|
||||||
%{_datadir}/onboard/scripts/*
|
%{_datadir}/onboard/scripts/*
|
||||||
%dir %{_datadir}/onboard/themes
|
%dir %{_datadir}/onboard/themes
|
||||||
%{_datadir}/onboard/themes/*
|
%{_datadir}/onboard/themes/*
|
||||||
%{_datadir}/GConf/gsettings/onboard.convert
|
%{_datadir}/onboard/COPYING.BSD3
|
||||||
%{_datadir}/glib-2.0/schemas/org.onboard.gschema.xml
|
%{_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
|
||||||
%{_datadir}/icons/ubuntu-mono-dark/status/22/onboard-panel.svg
|
%{_datadir}/icons/ubuntu-mono-dark/status/22/onboard-panel.svg
|
||||||
%{_datadir}/icons/ubuntu-mono-light/status/22/onboard-panel.svg
|
%{_datadir}/icons/ubuntu-mono-light/status/22/onboard-panel.svg
|
||||||
%{_datadir}/icons/hicolor/scalable/apps/onboard*.svg
|
%{_datadir}/icons/hicolor/scalable/apps/onboard*.svg
|
||||||
|
%{_datadir}/icons/HighContrast/scalable/apps/onboard.svg
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/onboard.png
|
||||||
|
%{_mandir}/man1/onboard-settings.1*
|
||||||
|
%{_mandir}/man1/onboard.1*
|
||||||
%doc AUTHORS COPYING
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
||||||
|
|
||||||
* Sat May 18 2013 Automatic Build System <autodist@mambasoft.it> 0.98.2-1mamba
|
* Sat May 18 2013 Automatic Build System <autodist@mambasoft.it> 0.98.2-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user