caribou-vl.spec 5.2 KB

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