Matthias Clasen 1dcf21
Name:           caribou
Parag Nemade 29b9e0
Version:        0.4.4.2
Parag Nemade 29b9e0
Release:        2%{?dist}
Ben Konrath 5add48
Summary:        A simplified in-place on-screen keyboard
Ben Konrath 5add48
Ben Konrath 5add48
Group:          User Interface/Desktops
Ben Konrath 5add48
License:        LGPLv2+
Ben Konrath 5add48
URL:            http://live.gnome.org/Caribou
Parag Nemade 6d725e
Source0:        http://download.gnome.org/sources/caribou/0.4/caribou-%{version}.tar.xz
Parag Nemade 8ab1d4
Patch0:         caribou-0.4.1-multilib.patch
Ben Konrath 5add48
Ben Konrath 5add48
BuildRequires:  python-devel
Parag Nemade eb2ea0
BuildRequires:  gtk2-devel
Parag Nemade ba9918
BuildRequires:  gtk3-devel
Parag Nemade 862e06
BuildRequires:  pygobject3-devel
Matthias Clasen 5e58d5
BuildRequires:  intltool
Matthias Clasen 157b72
BuildRequires:  gnome-doc-utils
Matthias Clasen f8baf8
BuildRequires:  desktop-file-utils
Parag Nemade ba9918
BuildRequires:  gettext
Tomas Bzatek e1c804
BuildRequires:  clutter-devel
Tomas Bzatek e1c804
BuildRequires:  vala-devel
Tomas Bzatek e1c804
BuildRequires:  libXtst-devel
Tomas Bzatek e1c804
BuildRequires:  libxklavier-devel
Parag Nemade 6f1728
BuildRequires:  libgee06-devel
Tomas Bzatek e1c804
BuildRequires:  gobject-introspection-devel
Matthias Clasen 191e6b
Parag Nemade 29b9e0
Requires:       python-%{name} = %{version}-%{release}
Ben Konrath 5add48
Parag Nemade 8ab1d4
#Following is needed as package moved from noarch to arch
Parag Nemade 8ab1d4
Obsoletes:      caribou < 0.4.1-3
Kalev Lember ace2ed
# Obsolete retired 'gok' to make sure it gets removed with distro upgrade
Kalev Lember e543c6
Obsoletes:      gok < 2.30.1-6
Parag Nemade 8ab1d4
Ben Konrath 5add48
%description
Ben Konrath 5add48
Caribou is a text entry application that currently manifests itself as
Ben Konrath 5add48
a simplified in-place on-screen keyboard.
Ben Konrath 5add48
Parag Nemade 9b5b51
%package        devel
Parag Nemade 9b5b51
Summary:        Development files for %{name}
Parag Nemade 9b5b51
Group:          Development/Libraries
Parag Nemade 9b5b51
Requires:       %{name} = %{version}-%{release}
Kalev Lember ace2ed
# Obsolete retired 'gok' to make sure it gets removed with distro upgrade
Kalev Lember e543c6
Obsoletes:      gok-devel < 2.30.1-6
Parag Nemade 9b5b51
Parag Nemade 9b5b51
%description    devel
Parag Nemade 9b5b51
The %{name}-devel package contains libraries and header files for
Parag Nemade 9b5b51
developing applications that use %{name}.
Parag Nemade 9b5b51
Parag Nemade 8ab1d4
%package     -n python-caribou
Parag Nemade 8ab1d4
Summary:        Keyboard UI for %{name}
Parag Nemade 8ab1d4
Group:          System Environment/Libraries
Parag Nemade 29b9e0
Requires:       pygobject3
Parag Nemade 29b9e0
Requires:       pyatspi
Parag Nemade 8ab1d4
Obsoletes:      caribou < 0.4.1-3
Parag Nemade 8ab1d4
BuildArch:      noarch
Parag Nemade 8ab1d4
Parag Nemade 8ab1d4
%description  -n python-caribou
Parag Nemade 8ab1d4
This package contains caribou python GUI
Parag Nemade 8ab1d4
Parag Nemade 8ab1d4
%package        gtk2-module
Parag Nemade 8ab1d4
Summary:        Gtk2 im module for %{name}
Parag Nemade 8ab1d4
Group:          System Environment/Libraries
Parag Nemade 8ab1d4
Requires:       %{name} = %{version}-%{release}
Parag Nemade 8ab1d4
Obsoletes:      caribou < 0.4.1-3
Parag Nemade 8ab1d4
Parag Nemade 8ab1d4
%description    gtk2-module
Parag Nemade 8ab1d4
This package contains caribou im module for gtk2
Parag Nemade 8ab1d4
Parag Nemade 8ab1d4
%package        gtk3-module
Parag Nemade 8ab1d4
Summary:        Gtk3 im module for %{name}
Parag Nemade 8ab1d4
Group:          System Environment/Libraries
Parag Nemade 8ab1d4
Requires:       %{name} = %{version}-%{release}
Parag Nemade 8ab1d4
Obsoletes:      caribou < 0.4.1-3
Parag Nemade 8ab1d4
Parag Nemade 8ab1d4
%description    gtk3-module
Parag Nemade 8ab1d4
This package contains caribou im module for gtk3
Parag Nemade 8ab1d4
Parag Nemade 8ab1d4
%package        antler
Parag Nemade 8ab1d4
Summary:        Keyboard implementation for %{name}
Parag Nemade 8ab1d4
Group:          User Interface/Desktops
Parag Nemade 29b9e0
Requires:       python-%{name} = %{version}-%{release}
Parag Nemade 8ab1d4
Obsoletes:      caribou < 0.4.1-3
Parag Nemade 8ab1d4
Parag Nemade 8ab1d4
%description    antler
Parag Nemade 8ab1d4
This package contains caribou keyboard implementation
Parag Nemade 8ab1d4
Ben Konrath 5add48
%prep
Ben Konrath 5add48
%setup -q
Parag Nemade 8ab1d4
%patch0 -p1 -b .multilib
Ben Konrath 5add48
Ben Konrath 5add48
%build
Parag Nemade 9b5b51
%configure --disable-static
Parag Nemade ba9918
make %{?_smp_mflags}
Ben Konrath 5add48
Ben Konrath 5add48
%install
Parag Nemade ba9918
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
Parag Nemade 9b5b51
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
Ben Konrath 5add48
Matthias Clasen 1d7d79
echo "NoDisplay=true" >> $RPM_BUILD_ROOT%{_datadir}/applications/caribou.desktop
Matthias Clasen 1c23a9
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/caribou.desktop
Parag Nemade c8c3f8
desktop-file-validate $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/caribou-autostart.desktop || :
Parag Nemade 1ed06c
desktop-file-validate $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-3.0/gtk-modules/caribou-gtk-module.desktop || :
Matthias Clasen 1c23a9
Matthias Clasen 191e6b
%find_lang caribou
Ben Konrath 5add48
Parag Nemade 051af6
%post -p /sbin/ldconfig
Parag Nemade 9b5b51
Parag Nemade ba9918
%postun
Parag Nemade 9b5b51
/sbin/ldconfig
Christopher Aillon 278a1d
if [ $1 -eq 0 ] ; then
Parag Nemade ba9918
    glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
Parag Nemade ba9918
fi
Matthias Clasen 1c23a9
Christopher Aillon 278a1d
%posttrans
Christopher Aillon 278a1d
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
Christopher Aillon 278a1d
Matthias Clasen 191e6b
%files -f caribou.lang
Parag Nemade ba9918
%doc NEWS COPYING README
Matthias Clasen 1dcf21
%{_bindir}/caribou
Parag Nemade 9b5b51
%{_bindir}/caribou-preferences
Matthias Clasen 191e6b
%{_datadir}/caribou
Parag Nemade 9b5b51
%{_libdir}/girepository-1.0/Caribou-1.0.typelib
Matthias Clasen 1c23a9
%{_datadir}/applications/caribou.desktop
Parag Nemade ba9918
%{_sysconfdir}/xdg/autostart/caribou-autostart.desktop
Parag Nemade 8ab1d4
%{_datadir}/glib-2.0/schemas/org.gnome.caribou.gschema.xml
Parag Nemade 8ab1d4
%{_libdir}/libcaribou.so.0*
Parag Nemade 1ed06c
%{_libdir}/gnome-settings-daemon-3.0/gtk-modules/caribou-gtk-module.desktop
Parag Nemade 9b5b51
Parag Nemade 8ab1d4
%files -n python-caribou
Parag Nemade 8ab1d4
%{python_sitelib}/caribou
Parag Nemade 8ab1d4
Parag Nemade 9b5b51
%files devel
Parag Nemade 9b5b51
%{_includedir}/*
Parag Nemade 9b5b51
%{_libdir}/*.so
Parag Nemade 9b5b51
%{_datadir}/gir-1.0/Caribou-1.0.gir
Ben Konrath 5add48
Parag Nemade 8ab1d4
%files gtk2-module
Parag Nemade 8ab1d4
%{_libdir}/gtk-2.0/modules/libcaribou-gtk-module.so
Parag Nemade 8ab1d4
Parag Nemade 8ab1d4
%files gtk3-module
Parag Nemade 8ab1d4
%{_libdir}/gtk-3.0/modules/libcaribou-gtk-module.so
Parag Nemade 8ab1d4
Parag Nemade 8ab1d4
%files antler
Parag Nemade 8ab1d4
%{_datadir}/antler
Parag Nemade 8ab1d4
%{_datadir}/dbus-1/services/org.gnome.Caribou.Antler.service
Parag Nemade 8ab1d4
%{_libexecdir}/antler-keyboard
Parag Nemade 8ab1d4
%{_datadir}/glib-2.0/schemas/org.gnome.antler.gschema.xml
Parag Nemade 8ab1d4
Parag Nemade eb2ea0
Ben Konrath 5add48
%changelog
Parag Nemade 29b9e0
* Tue Nov 13 2012 Rui Matos <tiagomatos@gmail.com> - 0.4.4.2-2
Parag Nemade 29b9e0
- Fix dependencies, caribou and antler both need python-caribou
Parag Nemade 29b9e0
Parag Nemade f697cb
* Tue Nov 13 2012 Parag Nemade <pnemade AT redhat.com> - 0.4.4.2-1
Parag Nemade f697cb
- Update to 0.4.4.2 release
Parag Nemade f697cb
Parag Nemade 7cc962
* Thu Sep 06 2012 Richard Hughes <hughsient@gmail.com> - 0.4.4-1
Parag Nemade 7cc962
- Update to 0.4.4
Parag Nemade 7cc962
Kalev Lember e543c6
* Wed Jul 25 2012 Kalev Lember <kalevlember@gmail.com> - 0.4.3-3
Kalev Lember e543c6
- Correct the obsoletes
Kalev Lember e543c6
Kalev Lember ace2ed
* Tue Jul 24 2012 Kalev Lember <kalevlember@gmail.com> - 0.4.3-2
Kalev Lember ace2ed
- Obsolete gok
Kalev Lember ace2ed
Parag Nemade 850d61
* Thu Jul 19 2012 Parag Nemade <pnemade AT redhat.com> - 0.4.3-1
Parag Nemade 850d61
- Update to 0.4.3 release
Parag Nemade 850d61
Dennis Gilmore 6d9629
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2
Dennis Gilmore 6d9629
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Dennis Gilmore 6d9629
Parag Nemade 3d878e
* Tue Mar 27 2012 Parag Nemade <pnemade AT redhat.com> - 0.4.2-1
Parag Nemade 3d878e
- Update to 0.4.2 release
Parag Nemade 3d878e
Parag Nemade f9d8e3
* Tue Feb 07 2012 Parag Nemade <pnemade AT redhat.com> - 0.4.1-5
Parag Nemade f9d8e3
- Resolves:rh#768033 - Update Requires for caribou
Parag Nemade f9d8e3
Dennis Gilmore 9514a8
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-4
Dennis Gilmore 9514a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Dennis Gilmore 9514a8
Parag Nemade 8ab1d4
* Fri Dec 09 2011 Parag Nemade <pnemade AT redhat.com> - 0.4.1-3
Parag Nemade 8ab1d4
- split package to subpackages -gtk2-module, -gtk3-module, -antler and python-caribou
Parag Nemade 8ab1d4
Parag Nemade 8ab1d4
* Thu Nov 17 2011 Parag Nemade <pnemade AT redhat.com> - 0.4.1-2
Parag Nemade 8ab1d4
- Resolves:rh#753149 - Upgraded F15 -> F16 gnome fails - wrong version of caribou
Parag Nemade 8ab1d4
Parag Nemade fa411c
* Tue Oct 18 2011 Parag Nemade <pnemade AT redhat.com> - 0.4.1-1
Parag Nemade fa411c
- upstream release 0.4.1
Parag Nemade fa411c
Parag Nemade 6d725e
* Tue Sep 27 2011 Parag Nemade <pnemade AT redhat.com> - 0.4.0-1
Parag Nemade 6d725e
- upstream release 0.4.0
Parag Nemade 6d725e
Parag Nemade b4a89d
* Tue Sep 20 2011 Parag Nemade <pnemade AT redhat.com> - 0.3.92-1
Parag Nemade b4a89d
- upstream release 0.3.92
Parag Nemade b4a89d
Parag Nemade 862e06
* Tue Sep 06 2011 Parag Nemade <pnemade AT redhat.com> - 0.3.91-1
Parag Nemade 862e06
- Update to new upstream release 0.3.91
Parag Nemade 862e06
Parag Nemade 862e06
* Wed Aug 31 2011 Matthias Clasen <mclasen@redhat.com> - 0.3.5-2
Parag Nemade 862e06
- Rebuild with pygobject3
Parag Nemade 862e06
Parag Nemade 8ab1d4
* Thu Aug 18 2011 Matthias Clasen <mclasen@redhat.com> - 0.3.5-1
Parag Nemade 8ab1d4
- Update to 0.3.5
Parag Nemade eb2ea0
Parag Nemade 051af6
* Tue Jul 05 2011 Parag Nemade <pnemade AT redhat.com> - 0.3.3-1
Parag Nemade 051af6
- Update to new upstream release 0.3.3
Parag Nemade 051af6
Tomas Bzatek e1c804
* Thu Jun 16 2011 Tomas Bzatek <tbzatek@redhat.com> - 0.3.2-2
Tomas Bzatek e1c804
- Tweak BuildRequires
Tomas Bzatek e1c804
Parag Nemade 9b5b51
* Tue Jun 14 2011 Parag Nemade <pnemade AT redhat.com> - 0.3.2-1
Parag Nemade 9b5b51
- Update to new upstream release 0.3.2
Parag Nemade 9b5b51
Christopher Aillon 278a1d
* Fri May  6 2011 Christopher Aillon <caillon@redhat.com> - 0.2.00-3
Christopher Aillon 278a1d
- Update scriptlets per packaging guidelines
Christopher Aillon 278a1d
Parag Nemade c8c3f8
* Thu May 05 2011 Parag Nemade <pnemade AT redhat.com> - 0.2.00-2
Parag Nemade c8c3f8
- Caribou now only be shown in GNOME. (rh#698603)
Parag Nemade c8c3f8
- Add desktop-file-validate for caribou-autostart.desktop
Parag Nemade c8c3f8
- Add ||: for caribou-autostart.desktop to skip the error.
Parag Nemade c8c3f8
Matthias Clasen 3eed84
* Tue Apr  5 2011 Matthias Clasen <mclasen@redhat.com> - 0.2.00-1
Matthias Clasen 3eed84
- Update to 0.2.00
Matthias Clasen 3eed84
Parag Nemade ba9918
* Tue Mar 22 2011 Parag Nemade <pnemade AT redhat.com> - 0.1.92-1
Parag Nemade ba9918
- Update to 0.1.92
Parag Nemade ba9918
Parag Nemade ba9918
* Thu Mar 10 2011 Parag Nemade <pnemade AT redhat.com> - 0.1.91-1
Parag Nemade ba9918
- Update to 0.1.91
Parag Nemade ba9918
Parag Nemade ba9918
* Thu Mar 10 2011 Parag Nemade <pnemade AT redhat.com> - 0.1.7-1
Parag Nemade ba9918
- Update to 0.1.7
Parag Nemade ba9918
Dennis Gilmore 163caf
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.5-3
Dennis Gilmore 163caf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
Dennis Gilmore 163caf
dmalcolm cfd2c8
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.1.5-2
dmalcolm cfd2c8
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
dmalcolm cfd2c8
Matthias Clasen 1c23a9
* Mon Jul 12 2010 Matthias Clasen <mclasen@redhat.com> - 0.1.5-1
Matthias Clasen 1c23a9
- Update to 0.1.5
Matthias Clasen 1c23a9
Matthias Clasen da06c9
* Wed Jun 16 2010 Matthias Clasen <mclasen@redhat.com> - 0.1.2-3
Matthias Clasen da06c9
- Require pyatspi, not at-spi-python
Matthias Clasen da06c9
Matthias Clasen f400e1
* Sat May 29 2010 Matthias Clasen <mclasen@redhat.com> - 0.1.2-2
Matthias Clasen f400e1
- Rewrite spec for autotools
Matthias Clasen f400e1
Matthias Clasen 1dcf21
* Fri May 28 2010 Matthias Clasen <mclasen@redhat.com> - 0.1.2-1
Matthias Clasen 1dcf21
- Update to 0.1.2
Matthias Clasen 1dcf21
Ben Konrath 5add48
* Thu Jan 21 2009 Ben Konrath <ben@bagu.org> - 0.0.2-1
Ben Konrath 5add48
- Initial release.