caribou-vl.spec 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. Name: caribou
  2. Version: 0.4.4
  3. Release: 1%{?_dist_release}
  4. Summary: A simplified in-place on-screen keyboard
  5. Group: User Interface/Desktops
  6. License: LGPLv2+
  7. URL: http://live.gnome.org/Caribou
  8. Source0: http://download.gnome.org/sources/caribou/0.4/caribou-%{version}.tar.xz
  9. BuildRequires: python-devel
  10. BuildRequires: gtk2-devel
  11. BuildRequires: gtk3-devel
  12. BuildRequires: pygobject3-devel
  13. BuildRequires: pyatspi
  14. BuildRequires: intltool
  15. BuildRequires: gnome-doc-utils
  16. BuildRequires: desktop-file-utils
  17. BuildRequires: gettext
  18. BuildRequires: clutter-devel
  19. BuildRequires: vala-devel
  20. BuildRequires: libXtst-devel
  21. BuildRequires: libxklavier-devel
  22. BuildRequires: json-glib-devel
  23. BuildRequires: libgee06-devel
  24. BuildRequires: gobject-introspection-devel
  25. BuildRequires: gnome-python-devel
  26. Requires: pygtk2
  27. Requires: gnome-python
  28. Requires: pyatspi
  29. %description
  30. Caribou is a text entry application that currently manifests itself as
  31. a simplified in-place on-screen keyboard.
  32. %package devel
  33. Summary: Development files for %{name}
  34. Group: Development/Libraries
  35. Requires: %{name} = %{version}-%{release}
  36. %description devel
  37. The %{name}-devel package contains libraries and header files for
  38. developing applications that use %{name}.
  39. %prep
  40. %setup -q
  41. %build
  42. %configure --disable-static
  43. make %{?_smp_mflags}
  44. %install
  45. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  46. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  47. echo "NoDisplay=true" >> $RPM_BUILD_ROOT%{_datadir}/applications/caribou.desktop
  48. echo "OnlyShowIn=GNOME;" >> $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/caribou-autostart.desktop
  49. desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/caribou.desktop
  50. desktop-file-validate $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/caribou-autostart.desktop || :
  51. %find_lang caribou
  52. %post -p /sbin/ldconfig
  53. %postun
  54. /sbin/ldconfig
  55. if [ $1 -eq 0 ] ; then
  56. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  57. fi
  58. %posttrans
  59. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  60. %files -f caribou.lang
  61. %doc NEWS COPYING README
  62. %{_sysconfdir}/xdg/autostart/caribou-autostart.desktop
  63. %{python_sitelib}/caribou
  64. %{_bindir}/caribou
  65. %{_bindir}/caribou-preferences
  66. %{_libexecdir}/antler-keyboard
  67. %{_libdir}/*.so.*
  68. %{_libdir}/girepository-1.0/Caribou-1.0.typelib
  69. %{_libdir}/gnome-settings-daemon-3.0/gtk-modules/caribou-gtk-module.desktop
  70. %{_libdir}/gtk-2.0/modules/libcaribou-gtk-module.so
  71. %{_libdir}/gtk-3.0/modules/libcaribou-gtk-module.so
  72. %{_datadir}/antler
  73. %{_datadir}/applications/caribou.desktop
  74. %{_datadir}/caribou
  75. %{_datadir}/dbus-1/services/org.gnome.Caribou.Antler.service
  76. %{_datadir}/glib-2.0/schemas/*
  77. %files devel
  78. %{_includedir}/*
  79. %{_libdir}/*.so
  80. %{_datadir}/gir-1.0/Caribou-1.0.gir
  81. %changelog
  82. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.4.4-1
  83. - new upstream release
  84. - remove Patch0 (caribou-0.4.3-revert_make_schema.patch)
  85. - remove BuildRequires: pyclutter
  86. - change BuildRequires: libgee06-devel instead of libgee-dvel
  87. * Sun Jul 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.4.3-1
  88. - new upstream release
  89. - add Patch0 (caribou-0.4.3-revert_make_schema.patch)
  90. * Mon Apr 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.4.2-1
  91. - new upstream release
  92. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.4.1-2
  93. - rebuild with python-2.7.2
  94. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.4.1-1
  95. - new upstream release
  96. * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.4.0-1
  97. - new upstream release
  98. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.92-1
  99. - new upstream release
  100. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.5-1
  101. - initial build for Vine Linux
  102. * Thu Aug 18 2011 Matthias Clasen <mclasen@redhat.com> - 0.3.5-1
  103. - Update to 0.3.5
  104. * Tue Jul 05 2011 Parag Nemade <pnemade AT redhat.com> - 0.3.3-1
  105. - Update to new upstream release 0.3.3
  106. * Thu Jun 16 2011 Tomas Bzatek <tbzatek@redhat.com> - 0.3.2-2
  107. - Tweak BuildRequires
  108. * Tue Jun 14 2011 Parag Nemade <pnemade AT redhat.com> - 0.3.2-1
  109. - Update to new upstream release 0.3.2
  110. * Fri May 6 2011 Christopher Aillon <caillon@redhat.com> - 0.2.00-3
  111. - Update scriptlets per packaging guidelines
  112. * Thu May 05 2011 Parag Nemade <pnemade AT redhat.com> - 0.2.00-2
  113. - Caribou now only be shown in GNOME. (rh#698603)
  114. - Add desktop-file-validate for caribou-autostart.desktop
  115. - Add ||: for caribou-autostart.desktop to skip the error.
  116. * Tue Apr 5 2011 Matthias Clasen <mclasen@redhat.com> - 0.2.00-1
  117. - Update to 0.2.00
  118. * Tue Mar 22 2011 Parag Nemade <pnemade AT redhat.com> - 0.1.92-1
  119. - Update to 0.1.92
  120. * Thu Mar 10 2011 Parag Nemade <pnemade AT redhat.com> - 0.1.91-1
  121. - Update to 0.1.91
  122. * Thu Mar 10 2011 Parag Nemade <pnemade AT redhat.com> - 0.1.7-1
  123. - Update to 0.1.7
  124. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.5-3
  125. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  126. * Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.1.5-2
  127. - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
  128. * Mon Jul 12 2010 Matthias Clasen <mclasen@redhat.com> - 0.1.5-1
  129. - Update to 0.1.5
  130. * Wed Jun 16 2010 Matthias Clasen <mclasen@redhat.com> - 0.1.2-3
  131. - Require pyatspi, not at-spi-python
  132. * Sat May 29 2010 Matthias Clasen <mclasen@redhat.com> - 0.1.2-2
  133. - Rewrite spec for autotools
  134. * Fri May 28 2010 Matthias Clasen <mclasen@redhat.com> - 0.1.2-1
  135. - Update to 0.1.2
  136. * Thu Jan 21 2009 Ben Konrath <ben@bagu.org> - 0.0.2-1
  137. - Initial release.