Blame SPECS/caribou.spec

491911
Name:           caribou
390c46
Version:        0.4.21
caa568
Release:        1%{?dist}
491911
Summary:        A simplified in-place on-screen keyboard
491911
License:        LGPLv2+
491911
URL:            http://live.gnome.org/Caribou
491911
Source0:        http://download.gnome.org/sources/caribou/0.4/caribou-%{version}.tar.xz
390c46
Patch1:         caribou-0.4.20-fix-python-exec.patch
390c46
Patch2:         caribou-0.4.20-multilib.patch
491911
491911
BuildRequires:  gtk2-devel
491911
BuildRequires:  gtk3-devel
491911
BuildRequires:  pygobject3-devel
491911
BuildRequires:  intltool
491911
BuildRequires:  gnome-doc-utils
491911
BuildRequires:  desktop-file-utils
491911
BuildRequires:  gettext
491911
BuildRequires:  clutter-devel
491911
BuildRequires:  vala-devel
491911
BuildRequires:  libXtst-devel
491911
BuildRequires:  libxklavier-devel
491911
BuildRequires:  libgee-devel
491911
BuildRequires:  gobject-introspection-devel
491911
BuildRequires:  at-spi2-core-devel
491911
390c46
%if 0%{?rhel}
390c46
Requires:       python2-%{name} = %{version}-%{release}
390c46
%else
390c46
# Changed in F23 to pull python3-caribou default
390c46
Requires:       python3-%{name} = %{version}-%{release}
390c46
%endif
491911
Requires:       gobject-introspection
491911
Requires:       caribou-gtk2-module
491911
Requires:       caribou-gtk3-module
491911
491911
#Following is needed as package moved from noarch to arch
491911
Obsoletes:      caribou < 0.4.1-3
491911
# Obsolete retired 'gok' to make sure it gets removed with distro upgrade
491911
Obsoletes:      gok < 2.30.1-6
491911
491911
%description
491911
Caribou is a text entry application that currently manifests itself as
491911
a simplified in-place on-screen keyboard.
491911
491911
%package        devel
491911
Summary:        Development files for %{name}
491911
Requires:       %{name}%{?_isa} = %{version}-%{release}
491911
# Obsolete retired 'gok' to make sure it gets removed with distro upgrade
491911
Obsoletes:      gok-devel < 2.30.1-6
491911
491911
%description    devel
491911
The %{name}-devel package contains libraries and header files for
491911
developing applications that use %{name}.
491911
390c46
%package     -n python2-caribou
491911
Summary:        Keyboard UI for %{name}
390c46
BuildRequires:  python2-devel
491911
Requires:       pygobject3
491911
Requires:       pyatspi
491911
Requires:       %{name} = %{version}-%{release}
491911
Obsoletes:      caribou < 0.4.1-3
390c46
Obsoletes:      python-caribou < 0.4.20-2
390c46
Provides:       python-caribou = %{version}
491911
BuildArch:      noarch
491911
390c46
%description  -n python2-caribou
491911
This package contains caribou python GUI
491911
390c46
%if !0%{?rhel}
390c46
%package     -n python3-caribou
390c46
Summary:        Keyboard UI for %{name}
390c46
BuildRequires:  python3-devel
390c46
BuildRequires:  python3-gobject
390c46
Requires:       python3-gobject
390c46
Requires:       python3-pyatspi
390c46
Requires:       %{name} = %{version}-%{release}
390c46
Obsoletes:      caribou < 0.4.1-3
390c46
BuildArch:      noarch
390c46
390c46
%description  -n python3-caribou
390c46
This package contains caribou python3 GUI
390c46
%endif
390c46
491911
%package        gtk2-module
491911
Summary:        Gtk2 module for %{name}
491911
Requires:       %{name}%{?_isa} = %{version}-%{release}
491911
Obsoletes:      caribou < 0.4.1-3
491911
491911
%description    gtk2-module
491911
This package contains caribou module for gtk2 applications.
491911
491911
%package        gtk3-module
491911
Summary:        Gtk3 module for %{name}
491911
Requires:       %{name}%{?_isa} = %{version}-%{release}
491911
Obsoletes:      caribou < 0.4.1-3
491911
491911
%description    gtk3-module
491911
This package contains caribou module for gtk3 applications.
491911
491911
%package        antler
491911
Summary:        Keyboard implementation for %{name}
390c46
%if 0%{?rhel}
390c46
Requires:       python2-%{name} = %{version}-%{release}
390c46
%else
390c46
Requires:       python3-%{name} = %{version}-%{release}
390c46
%endif
491911
Obsoletes:      caribou < 0.4.1-3
491911
491911
%description    antler
491911
This package contains caribou keyboard implementation for
491911
non-gnome-shell sessions.
491911
491911
%prep
491911
%setup -q
491911
%patch1 -p1 -b .fix-python-exec
390c46
%patch2 -p1 -b .multilib
491911
491911
%build
491911
%configure --disable-static
caa568
make V=1 %{?_smp_mflags}
491911
491911
%install
390c46
make install DESTDIR=%{buildroot} INSTALL="install -p"
390c46
390c46
%if !0%{?rhel}
390c46
# For Python3
390c46
make clean
390c46
%configure --disable-static PYTHON=python3
390c46
make install DESTDIR=%{buildroot} INSTALL="install -p"
390c46
%endif
390c46
390c46
find %{buildroot} -name '*.la' -exec rm -f {} ';'
491911
491911
desktop-file-validate $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/caribou-autostart.desktop || :
491911
desktop-file-validate $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-3.0/gtk-modules/caribou-gtk-module.desktop || :
491911
491911
%find_lang caribou
491911
491911
%post -p /sbin/ldconfig
491911
491911
%postun
491911
/sbin/ldconfig
491911
if [ $1 -eq 0 ] ; then
491911
    /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
491911
fi
491911
491911
%posttrans
491911
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
491911
491911
%postun antler
491911
if [ $1 -eq 0 ] ; then
491911
    /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
491911
fi
491911
491911
%posttrans antler
491911
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
491911
491911
%files -f caribou.lang
390c46
%doc NEWS README
390c46
%license COPYING
491911
%{_bindir}/caribou-preferences
491911
%{_datadir}/caribou
491911
%{_libdir}/girepository-1.0/Caribou-1.0.typelib
491911
%{_sysconfdir}/xdg/autostart/caribou-autostart.desktop
caa568
%{_datadir}/dbus-1/services/org.gnome.Caribou.Daemon.service
491911
%{_datadir}/glib-2.0/schemas/org.gnome.caribou.gschema.xml
491911
%{_libdir}/libcaribou.so.0*
491911
%{_libdir}/gnome-settings-daemon-3.0/gtk-modules/caribou-gtk-module.desktop
caa568
%{_libexecdir}/caribou
491911
390c46
%files -n python2-caribou
390c46
%{python2_sitelib}/caribou
390c46
390c46
%if !0%{?rhel}
390c46
%files -n python3-caribou
390c46
%{python3_sitelib}/caribou
390c46
%endif
491911
491911
%files devel
491911
%{_includedir}/*
491911
%{_libdir}/*.so
491911
%{_libdir}/pkgconfig/caribou-1.0.pc
491911
%{_datadir}/gir-1.0/Caribou-1.0.gir
491911
%{_datadir}/vala
491911
491911
%files gtk2-module
491911
%{_libdir}/gtk-2.0/modules/libcaribou-gtk-module.so
491911
491911
%files gtk3-module
491911
%{_libdir}/gtk-3.0/modules/libcaribou-gtk-module.so
491911
491911
%files antler
491911
%{_datadir}/antler
491911
%{_datadir}/dbus-1/services/org.gnome.Caribou.Antler.service
491911
%{_libexecdir}/antler-keyboard
491911
%{_datadir}/glib-2.0/schemas/org.gnome.antler.gschema.xml
491911
491911
491911
%changelog
390c46
* Wed Oct 19 2016 Kalev Lember <klember@redhat.com> - 0.4.21-1
390c46
- Update to 0.4.21
390c46
- Resolves: #1386821
390c46
caa568
* Mon Mar 23 2015 Richard Hughes <rhughes@redhat.com> - 0.4.16-1
caa568
- Update to 0.4.16
caa568
- Resolves: #1174709
caa568
caa568
* Tue Aug 19 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.4.11-5
caa568
- Resolves:rh#1054596 - Untranslated strings found
caa568
caa568
* Mon Aug 18 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.4.11-4
caa568
- Resolves:rh#1054596 - Untranslated strings found
caa568
9651a1
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.4.11-3
9651a1
- Mass rebuild 2014-01-24
9651a1
9651a1
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.4.11-2
9651a1
- Mass rebuild 2013-12-27
9651a1
491911
* Mon Jun 10 2013 Parag Nemade <pnemade AT redhat DOT com> - 0.4.11-1
491911
- Update to 0.4.11
491911
491911
* Wed Mar 20 2013 Parag Nemade <pnemade AT redhat DOT com> - 0.4.10-1
491911
- Update to 0.4.10
491911
491911
* Mon Mar 04 2013 Parag Nemade <pnemade AT redhat DOT com> - 0.4.9-1
491911
- Update to 0.4.9
491911
491911
* Thu Feb 21 2013 Kalev Lember <kalevlember@gmail.com> - 0.4.8-2
491911
- Rebuilt for cogl soname bump
491911
491911
* Tue Feb 19 2013 Parag Nemade <pnemade AT redhat DOT com> - 0.4.8-1
491911
- Update to 0.4.8
491911
491911
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.7-3
491911
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
491911
491911
* Wed Jan 16 2013 Parag Nemade <pnemade AT redhat DOT com> - 0.4.7-2
491911
- vala .vapi and .deps files should be installed by -devel
491911
491911
* Wed Jan 16 2013 Parag Nemade <pnemade AT redhat DOT com> - 0.4.7-1
491911
- Update to 0.4.7
491911
491911
* Thu Dec 20 2012 Parag Nemade <pnemade AT redhat DOT com> - 0.4.6-1
491911
- Update to 0.4.6
491911
491911
* Tue Dec 18 2012 Parag Nemade <pnemade AT redhat DOT com> - 0.4.5-1
491911
- Update to 0.4.5
491911
- Resolves:rh#744852 - Pressing | in on-screen keyboard produces <
491911
- Resolves:rh#880379 - Another service acquired %%s, quitting..
491911
- Resolves:rh#880382
491911
491911
* Wed Nov 21 2012 Parag Nemade <pnemade AT redhat DOT com> - 0.4.4.2-6
491911
- Resolves:rh#878716 - need some spec cleanup
491911
491911
* Thu Nov 15 2012 Parag Nemade <pnemade AT redhat.com> - 0.4.4.2-5
491911
- Apply patch1
491911
491911
* Tue Nov 13 2012 Parag Nemade <pnemade AT redhat.com> - 0.4.4.2-4
491911
- Patch from Rui Matos for exec python in shell shim scripts
491911
491911
* Tue Nov 13 2012 Parag Nemade <pnemade AT redhat.com> - 0.4.4.2-3
491911
- Fix multilib patch
491911
491911
* Tue Nov 13 2012 Rui Matos <tiagomatos@gmail.com> - 0.4.4.2-2
491911
- Fix dependencies, caribou and antler both need python-caribou
491911
491911
* Tue Nov 13 2012 Parag Nemade <pnemade AT redhat.com> - 0.4.4.2-1
491911
- Update to 0.4.4.2 release
491911
491911
* Thu Sep 06 2012 Richard Hughes <hughsient@gmail.com> - 0.4.4-1
491911
- Update to 0.4.4
491911
491911
* Wed Jul 25 2012 Kalev Lember <kalevlember@gmail.com> - 0.4.3-3
491911
- Correct the obsoletes
491911
491911
* Tue Jul 24 2012 Kalev Lember <kalevlember@gmail.com> - 0.4.3-2
491911
- Obsolete gok
491911
491911
* Thu Jul 19 2012 Parag Nemade <pnemade AT redhat.com> - 0.4.3-1
491911
- Update to 0.4.3 release
491911
491911
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2
491911
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
491911
491911
* Tue Mar 27 2012 Parag Nemade <pnemade AT redhat.com> - 0.4.2-1
491911
- Update to 0.4.2 release
491911
491911
* Tue Feb 07 2012 Parag Nemade <pnemade AT redhat.com> - 0.4.1-5
491911
- Resolves:rh#768033 - Update Requires for caribou
491911
491911
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-4
491911
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
491911
491911
* Fri Dec 09 2011 Parag Nemade <pnemade AT redhat.com> - 0.4.1-3
491911
- split package to subpackages -gtk2-module, -gtk3-module, -antler and python-caribou
491911
491911
* Thu Nov 17 2011 Parag Nemade <pnemade AT redhat.com> - 0.4.1-2
491911
- Resolves:rh#753149 - Upgraded F15 -> F16 gnome fails - wrong version of caribou
491911
491911
* Tue Oct 18 2011 Parag Nemade <pnemade AT redhat.com> - 0.4.1-1
491911
- upstream release 0.4.1
491911
491911
* Tue Sep 27 2011 Parag Nemade <pnemade AT redhat.com> - 0.4.0-1
491911
- upstream release 0.4.0
491911
491911
* Tue Sep 20 2011 Parag Nemade <pnemade AT redhat.com> - 0.3.92-1
491911
- upstream release 0.3.92
491911
491911
* Tue Sep 06 2011 Parag Nemade <pnemade AT redhat.com> - 0.3.91-1
491911
- Update to new upstream release 0.3.91
491911
491911
* Wed Aug 31 2011 Matthias Clasen <mclasen@redhat.com> - 0.3.5-2
491911
- Rebuild with pygobject3
491911
491911
* Thu Aug 18 2011 Matthias Clasen <mclasen@redhat.com> - 0.3.5-1
491911
- Update to 0.3.5
491911
491911
* Tue Jul 05 2011 Parag Nemade <pnemade AT redhat.com> - 0.3.3-1
491911
- Update to new upstream release 0.3.3
491911
491911
* Thu Jun 16 2011 Tomas Bzatek <tbzatek@redhat.com> - 0.3.2-2
491911
- Tweak BuildRequires
491911
491911
* Tue Jun 14 2011 Parag Nemade <pnemade AT redhat.com> - 0.3.2-1
491911
- Update to new upstream release 0.3.2
491911
491911
* Fri May  6 2011 Christopher Aillon <caillon@redhat.com> - 0.2.00-3
491911
- Update scriptlets per packaging guidelines
491911
491911
* Thu May 05 2011 Parag Nemade <pnemade AT redhat.com> - 0.2.00-2
491911
- Caribou now only be shown in GNOME. (rh#698603)
491911
- Add desktop-file-validate for caribou-autostart.desktop
491911
- Add ||: for caribou-autostart.desktop to skip the error.
491911
491911
* Tue Apr  5 2011 Matthias Clasen <mclasen@redhat.com> - 0.2.00-1
491911
- Update to 0.2.00
491911
491911
* Tue Mar 22 2011 Parag Nemade <pnemade AT redhat.com> - 0.1.92-1
491911
- Update to 0.1.92
491911
491911
* Thu Mar 10 2011 Parag Nemade <pnemade AT redhat.com> - 0.1.91-1
491911
- Update to 0.1.91
491911
491911
* Thu Mar 10 2011 Parag Nemade <pnemade AT redhat.com> - 0.1.7-1
491911
- Update to 0.1.7
491911
491911
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.5-3
491911
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
491911
491911
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.1.5-2
491911
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
491911
491911
* Mon Jul 12 2010 Matthias Clasen <mclasen@redhat.com> - 0.1.5-1
491911
- Update to 0.1.5
491911
491911
* Wed Jun 16 2010 Matthias Clasen <mclasen@redhat.com> - 0.1.2-3
491911
- Require pyatspi, not at-spi-python
491911
491911
* Sat May 29 2010 Matthias Clasen <mclasen@redhat.com> - 0.1.2-2
491911
- Rewrite spec for autotools
491911
491911
* Fri May 28 2010 Matthias Clasen <mclasen@redhat.com> - 0.1.2-1
491911
- Update to 0.1.2
491911
491911
* Wed Jan 21 2009 Ben Konrath <ben@bagu.org> - 0.0.2-1
491911
- Initial release.