florence/florence.spec

145 lines
5.2 KiB
RPMSpec

Name: florence
Version: 0.6.2
Release: 1mamba
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: GConf-devel
BuildRequires: glibc-devel
BuildRequires: libart_lgpl-devel
BuildRequires: libatk-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libbonobo-devel
BuildRequires: libbonoboui-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgnomecanvas-devel
BuildRequires: libgnome-devel
#BuildRequires: libgnome-panel-devel
BuildRequires: libgstreamer-devel
BuildRequires: libgtk2-devel
BuildRequires: libgtk-devel
BuildRequires: libnotify-devel
BuildRequires: libpango-devel
BuildRequires: libpopt-devel
BuildRequires: librsvg-devel
BuildRequires: libX11-devel
BuildRequires: libxml2-devel
BuildRequires: libXtst-devel
BuildRequires: ORBit2-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
/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.*
%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
* 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