fix schema compilation on post scripts [release 0.6.3-2mamba;Sat Jul 20 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 22:27:38 +01:00
parent e88aba19c7
commit f1e78e7355

View File

@ -1,6 +1,6 @@
Name: florence
Version: 0.6.3
Release: 1mamba
Release: 2mamba
Summary: An extensible scalable virtual keyboard for GNOME
Group: Graphical Desktop/Applications/Accessibility
Vendor: openmamba
@ -10,33 +10,51 @@ URL: http://florence.sourceforge.net
Source: http://downloads.sourceforge.net/project/florence/florence/%{version}/florence-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: GConf-devel
BuildRequires: glibc-devel
BuildRequires: libart_lgpl-devel
BuildRequires: libatk-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXi-devel
BuildRequires: libXtst-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libbonobo-devel
BuildRequires: libbonoboui-devel
BuildRequires: libatk-devel
BuildRequires: libblkid-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libcroco-devel
BuildRequires: libdbus-devel
BuildRequires: libdw-devel
BuildRequires: libelf-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libfribidi-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgnomecanvas-devel
BuildRequires: libgnome-devel
#BuildRequires: libgnome-panel-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgstreamer-devel
BuildRequires: libgtk2-devel
BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel
BuildRequires: liblzma-devel
BuildRequires: libmount-devel
BuildRequires: libnotify-devel
BuildRequires: libpango-devel
BuildRequires: libpopt-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: librsvg-devel
BuildRequires: libX11-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libsystemd-devel
BuildRequires: libthai-devel
BuildRequires: libunwind-devel
BuildRequires: libuuid-devel
BuildRequires: libxcb-devel
BuildRequires: libxml2-devel
BuildRequires: libXtst-devel
BuildRequires: ORBit2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: gnome-doc-utils
BuildRequires: libscrollkeeper-devel
@ -85,12 +103,25 @@ This package contains libraries and header files for developing applications tha
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%post -n lib%{name}
/sbin/ldconfig
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule /etc/gconf/schemas/florence.schemas >/dev/null
exit 0
%{_libdir}/directfb-*/interfaces/ICoreResourceManager/libicoreresourcemanager_test.*
:
%postun -n lib%{name}
/sbin/ldconfig
:
%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 -f %{name}.lang
%defattr(-,root,root)
@ -125,6 +156,9 @@ exit 0
%{_libdir}/pkgconfig/florence-1.0.pc
%changelog
* Sat Jul 20 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.3-2mamba
- fix schema compilation on post scripts
* Sun Nov 16 2014 Automatic Build System <autodist@mambasoft.it> 0.6.3-1mamba
- automatic update by autodist