%define majver %(echo %version | cut -d. -f1-2) Name: caribou Version: 0.4.15 Release: 1mamba Summary: An input assistive technology intended for switch and pointer users Group: Graphical Desktop/Applications/Accessibility Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://live.gnome.org Source: ftp://ftp.gnome.org/pub/gnome/sources/caribou/%{majver}/caribou-%{version}.tar.xz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libat-spi2-core-devel BuildRequires: libcairo-devel BuildRequires: libclutter-devel BuildRequires: libcogl-devel BuildRequires: libdbus-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libgee-devel BuildRequires: libglib-devel BuildRequires: libgtk2-devel BuildRequires: libgtk-devel BuildRequires: libjson-glib-devel BuildRequires: libpango-devel BuildRequires: libpython-devel BuildRequires: libX11-devel BuildRequires: libXcomposite-devel BuildRequires: libXdamage-devel BuildRequires: libXext-devel BuildRequires: libXfixes-devel BuildRequires: libXi-devel BuildRequires: libxklavier-devel BuildRequires: libxml2-devel BuildRequires: libXrandr-devel BuildRequires: libXtst-devel ## AUTOBUILDREQ-END BuildRequires: libcogl-devel >= 1.18 Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Caribou is an input assistive technology intended for switch and pointer users. %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}-gtk2 Group: System/Libraries Summary: Gtk2 plugin for lib%{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-gtk2 Gtk2 plugin for lib%{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} ## note: you can add this requirement if .pc files are provided by this package #Requires: pkg-config %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang %{name} || touch %{name}.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root) %{_sysconfdir}/xdg/autostart/caribou-autostart.desktop #%{_bindir}/caribou %{_bindir}/caribou-preferences %{_libdir}/gnome-settings-daemon-3.0/gtk-modules/caribou-gtk-module.desktop %{_datadir}/antler/dark-key-border.svg %{_datadir}/antler/style.css #%{_datadir}/applications/caribou.desktop %dir %{_datadir}/caribou %dir %{_datadir}/caribou/layouts %dir %{_datadir}/caribou/layouts/fullscale %{_datadir}/caribou/layouts/fullscale/us.xml %dir %{_datadir}/caribou/layouts/scan %{_datadir}/caribou/layouts/scan/us.xml %dir %{_datadir}/caribou/layouts/touch %{_datadir}/caribou/layouts/touch/ara.xml %{_datadir}/caribou/layouts/touch/il.xml %{_datadir}/caribou/layouts/touch/us.xml %{_datadir}/dbus-1/services/org.gnome.Caribou.Antler.service %{_datadir}/dbus-1/services/org.gnome.Caribou.Daemon.service %{_datadir}/glib-2.0/schemas/org.gnome.antler.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.caribou.gschema.xml %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libcaribou.so.* %{_libdir}/girepository-1.0/Caribou-1.0.typelib %{_libdir}/gtk-3.0/modules/libcaribou-gtk-module.a %{_libdir}/gtk-3.0/modules/libcaribou-gtk-module.la %{_libdir}/gtk-3.0/modules/libcaribou-gtk-module.so %{_libexecdir}/caribou %dir %{python_sitelib}/caribou %{python_sitelib}/caribou/__init__.py* %dir %{python_sitelib}/caribou/antler %{python_sitelib}/caribou/antler/__init__.py* %{python_sitelib}/caribou/antler/antler_settings.py* %{python_sitelib}/caribou/antler/keyboard_view.py* %{python_sitelib}/caribou/antler/main.py* %{python_sitelib}/caribou/antler/window.py* #%{python_sitelib}/caribou/daemon/__init__.py* #%{python_sitelib}/caribou/daemon/main.py* %{python_sitelib}/caribou/i18n.py* %dir %{python_sitelib}/caribou/settings %{python_sitelib}/caribou/settings/__init__.py* %{python_sitelib}/caribou/settings/caribou_settings.py* %{python_sitelib}/caribou/settings/preferences_window.py* %{python_sitelib}/caribou/settings/setting_types.py* %{python_sitelib}/caribou/settings/settings_manager.py* %{_libexecdir}/antler-keyboard %doc AUTHORS COPYING %files -n lib%{name}-gtk2 %defattr(-,root,root) %{_libdir}/gtk-2.0/modules/libcaribou-gtk-module.a %{_libdir}/gtk-2.0/modules/libcaribou-gtk-module.la %{_libdir}/gtk-2.0/modules/libcaribou-gtk-module.so %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/libcaribou %{_includedir}/libcaribou/caribou.h %{_libdir}/libcaribou.a %{_libdir}/libcaribou.la %{_libdir}/libcaribou.so %{_datadir}/gir-1.0/Caribou-1.0.gir %{_datadir}/vala/vapi/caribou-1.0.deps %{_datadir}/vala/vapi/caribou-1.0.vapi %{_libdir}/pkgconfig/caribou-1.0.pc %doc ChangeLog NEWS README %changelog * Thu Sep 18 2014 Automatic Build System 0.4.15-1mamba - automatic version update by autodist * Fri Sep 05 2014 Automatic Build System 0.4.14-1mamba - automatic version update by autodist * Wed Jun 18 2014 Silvan Calarco 0.4.13-2mamba - rebuilt with libcogl 1.18 * Tue Nov 19 2013 Automatic Build System 0.4.13-1mamba - automatic version update by autodist * Wed Nov 06 2013 Silvan Calarco 0.4.12-2mamba - rebuilt with libcogl 1.16 * Tue Aug 27 2013 Automatic Build System 0.4.12-1mamba - automatic update by autodist * Tue Jun 04 2013 Automatic Build System 0.4.11-1mamba - automatic version update by autodist * Sun Apr 14 2013 Silvan Calarco 0.4.10-2mamba - rebuilt with libcogl 1.14.0 * Wed Mar 20 2013 Automatic Build System 0.4.10-1mamba - automatic version update by autodist * Fri Mar 08 2013 Automatic Build System 0.4.9-1mamba - automatic version update by autodist * Tue Feb 19 2013 Automatic Build System 0.4.8-1mamba - automatic version update by autodist * Tue Jan 22 2013 Automatic Build System 0.4.7-1mamba - automatic version update by autodist * Tue Dec 18 2012 Automatic Build System 0.4.6-1mamba - automatic version update by autodist * Tue Nov 20 2012 Automatic Build System 0.4.5-1mamba - update to 0.4.5 * Mon Nov 12 2012 Automatic Build System 0.4.4.2-1mamba - automatic version update by autodist * Sat Sep 15 2012 Silvan Calarco 0.4.4-1mamba - package created by autospec