florence/florence.spec

182 lines
6.0 KiB
RPMSpec

Name: florence
Version: 0.6.3
Release: 2mamba
Summary: An extensible scalable virtual keyboard for GNOME
Group: Graphical Desktop/Applications/Accessibility
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://florence.sourceforge.net
Source: http://downloads.sourceforge.net/project/florence/florence/%{version}/florence-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-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: 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: libgraphite2-devel
BuildRequires: libgstreamer-devel
BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel
BuildRequires: liblzma-devel
BuildRequires: libmount-devel
BuildRequires: libnotify-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: librsvg-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: libz-devel
## AUTOBUILDREQ-END
BuildRequires: gnome-doc-utils
BuildRequires: libscrollkeeper-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Florence is an extensible scalable virtual keyboard for GNOME. You need it if you can't use a real hardware keyboard, for example because you are disabled, your keyboard is broken or because you use a tablet PC, but you must be able to use a pointing device (as a mouse, a trackball, or a touchscreen); If you can't use a pointing device, there is gok, which can be used with just simple switches.
Florence stays out of your way when you don't need it: it appears on the screen only when you need it. A Timer-based auto-click functionality is available to help disabled people having difficulties to click.
Florence is primarily intended to be used with the GNOME desktop, although it can be used on any desktop environment.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%prep
%setup -q
%build
#WARNING: Xorg RECORD extension is severely broken since Xorg 1.6: see bugs #http://bugs.freedesktop.org/show_bug.cgi?id=20500 and http://bugs.freedesktop.org/show_bug.cgi?id=21971 ; Please #disable xrecord if you are using a recent version of Xorg: --without-xrecord configure option. Use AT-SPI instead. #Since XEVIE was dropped from Xorg some months ago, there is no way to provide the same functionality for now. Sorry #for the inconvenience.
%configure \
--disable-scrollkeeper \
--without-xrecord \
CFLAGS="%{optflags} `pkg-config --cflags dbus-1` -lX11"
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name}
/sbin/ldconfig
:
%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)
%{_bindir}/florence
#%{_bindir}/florence_applet
#%{_libdir}/bonobo/servers/florence.server
%{_datadir}/applications/florence.desktop
%dir %{_datadir}/florence
%{_datadir}/florence/*
%{_datadir}/glib-2.0/schemas/org.florence.gschema.xml
%dir %{_datadir}/gnome/help/florence
%{_datadir}/gnome/help/florence/C
%lang(fr) %{_datadir}/gnome/help/florence/fr
%lang(ru) %{_datadir}/gnome/help/florence/ru
%{_datadir}/omf/florence/*.omf
%{_datadir}/pixmaps/florence.svg
%{_mandir}/man1/florence.1*
%{_mandir}/man1/florence_applet.1*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libflorence-1.0.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/florence-1.0
%{_includedir}/florence-1.0/florence.h
%{_libdir}/libflorence-1.0.a
%{_libdir}/libflorence-1.0.la
%{_libdir}/libflorence-1.0.so
%{_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
* Wed Jun 18 2014 Automatic Build System <autodist@mambasoft.it> 0.6.2-1mamba
- automatic update by autodist
* Sat Dec 29 2012 Automatic Build System <autodist@mambasoft.it> 0.6.0-1mamba
- automatic version update by autodist
* Sun Sep 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.3-1mamba
- update to 0.5.3
* Wed Nov 30 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
- update to 0.5.1
* Thu Jul 21 2011 Automatic Build System <autodist@mambasoft.it> 0.5.0-1mamba
- automatic update by autodist
* Tue Feb 02 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.6-1mamba
- package created by autospec