caribou-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. Name: caribou
  2. Version: 0.4.6
  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: libgee-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. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.4.6-1
  83. - new upstream release
  84. - change BuildRequires: libgee-devel instead of libgee06-dvel
  85. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.4.4.2-1
  86. - new upstream release
  87. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.4.4-1
  88. - new upstream release
  89. - remove Patch0 (caribou-0.4.3-revert_make_schema.patch)
  90. - remove BuildRequires: pyclutter
  91. - change BuildRequires: libgee06-devel instead of libgee-dvel
  92. * Sun Jul 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.4.3-1
  93. - new upstream release
  94. - add Patch0 (caribou-0.4.3-revert_make_schema.patch)
  95. * Mon Apr 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.4.2-1
  96. - new upstream release
  97. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.4.1-2
  98. - rebuild with python-2.7.2
  99. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.4.1-1
  100. - new upstream release
  101. * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.4.0-1
  102. - new upstream release
  103. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.92-1
  104. - new upstream release
  105. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.5-1
  106. - initial build for Vine Linux
  107. * Thu Aug 18 2011 Matthias Clasen <mclasen@redhat.com> - 0.3.5-1
  108. - Update to 0.3.5
  109. * Tue Jul 05 2011 Parag Nemade <pnemade AT redhat.com> - 0.3.3-1
  110. - Update to new upstream release 0.3.3
  111. * Thu Jun 16 2011 Tomas Bzatek <tbzatek@redhat.com> - 0.3.2-2
  112. - Tweak BuildRequires
  113. * Tue Jun 14 2011 Parag Nemade <pnemade AT redhat.com> - 0.3.2-1
  114. - Update to new upstream release 0.3.2
  115. * Fri May 6 2011 Christopher Aillon <caillon@redhat.com> - 0.2.00-3
  116. - Update scriptlets per packaging guidelines
  117. * Thu May 05 2011 Parag Nemade <pnemade AT redhat.com> - 0.2.00-2
  118. - Caribou now only be shown in GNOME. (rh#698603)
  119. - Add desktop-file-validate for caribou-autostart.desktop
  120. - Add ||: for caribou-autostart.desktop to skip the error.
  121. * Tue Apr 5 2011 Matthias Clasen <mclasen@redhat.com> - 0.2.00-1
  122. - Update to 0.2.00
  123. * Tue Mar 22 2011 Parag Nemade <pnemade AT redhat.com> - 0.1.92-1
  124. - Update to 0.1.92
  125. * Thu Mar 10 2011 Parag Nemade <pnemade AT redhat.com> - 0.1.91-1
  126. - Update to 0.1.91
  127. * Thu Mar 10 2011 Parag Nemade <pnemade AT redhat.com> - 0.1.7-1
  128. - Update to 0.1.7
  129. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.5-3
  130. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  131. * Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.1.5-2
  132. - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
  133. * Mon Jul 12 2010 Matthias Clasen <mclasen@redhat.com> - 0.1.5-1
  134. - Update to 0.1.5
  135. * Wed Jun 16 2010 Matthias Clasen <mclasen@redhat.com> - 0.1.2-3
  136. - Require pyatspi, not at-spi-python
  137. * Sat May 29 2010 Matthias Clasen <mclasen@redhat.com> - 0.1.2-2
  138. - Rewrite spec for autotools
  139. * Fri May 28 2010 Matthias Clasen <mclasen@redhat.com> - 0.1.2-1
  140. - Update to 0.1.2
  141. * Thu Jan 21 2009 Ben Konrath <ben@bagu.org> - 0.0.2-1
  142. - Initial release.