libgnomekbd-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. Summary: A keyboard configuration library
  2. Summary(ja): キーボード設定ライブラリ
  3. Name: libgnomekbd
  4. Version: 3.2.0
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPL
  8. URL: http://gswitchit.sourceforce.net
  9. Source0: http://ftp.gnome.org/pub/gnome/sources/libgnomekbd/3.2/libgnomekbd-%{version}.tar.xz
  10. # https://bugzilla.gnome.org/show_bug.cgi?id=615077
  11. Patch1: libgnomekbd-2.30.0-fix-invalid-value-in-schema.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: dbus-devel >= 1.0
  14. BuildRequires: dbus-glib >= 0.73
  15. BuildRequires: GConf2-devel >= 2.26.0
  16. BuildRequires: gtk3-devel >= 2.91.7
  17. BuildRequires: libgnome-devel >= 2.26.0
  18. BuildRequires: libxklavier-devel >= 5.0
  19. BuildRequires: libSM-devel
  20. BuildRequires: desktop-file-utils
  21. BuildRequires: perl(XML::Parser)
  22. BuildRequires: gettext
  23. Requires(pre): glib2
  24. Requires(post): glib2
  25. Requires(preun): glib2
  26. Vendor: Project Vine
  27. Distribution: Vine Linux
  28. Packager: Takemikaduchi
  29. %description
  30. The libgnomekbd package contains a GNOME library which manages
  31. keyboard configuration and offers various widgets related to
  32. keyboard configuration.
  33. %package devel
  34. Summary: Development files for %{name}
  35. Group: Development/Libraries
  36. Requires: %{name} = %{version}-%{release}
  37. Requires: libxklavier-devel >= 5.0
  38. Requires: libgnome-devel >= 2.24.0
  39. Requires: pkgconfig
  40. %description devel
  41. The libgnomekbd-devel package contains libraries and header files for
  42. developing applications that use libgnomekbd.
  43. %prep
  44. %setup -q
  45. ## %patch1 -p1
  46. %build
  47. %configure --disable-static --disable-schemas-install --enable-compile-warnings=no
  48. %__make %{?_smp_mflags}
  49. %install
  50. rm -rf $RPM_BUILD_ROOT
  51. make install DESTDIR=$RPM_BUILD_ROOT
  52. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  53. desktop-file-install --vendor gnome --delete-original \
  54. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  55. $RPM_BUILD_ROOT%{_datadir}/applications/gkbd-indicator-plugins-capplet.desktop
  56. %find_lang %{name}
  57. %clean
  58. rm -rf $RPM_BUILD_ROOT
  59. %post
  60. /sbin/ldconfig
  61. touch --no-create %{_datadir}/icons/hicolor || :
  62. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  63. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  64. fi
  65. update-desktop-database &> /dev/null ||:
  66. %posttrans
  67. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  68. %{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
  69. %postun
  70. /sbin/ldconfig
  71. touch --no-create %{_datadir}/icons/hicolor || :
  72. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  73. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  74. fi
  75. %{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
  76. %files -f %{name}.lang
  77. %defattr(-,root,root,-)
  78. %doc AUTHORS COPYING.LIB
  79. %{_bindir}/gkbd-indicator-plugins-capplet
  80. %{_bindir}/gkbd-keyboard-display
  81. %{_libdir}/*.so.*
  82. %{_libdir}/girepository-1.0/Gkbd-3.0.typelib
  83. %{_datadir}/applications/gnome-gkbd-indicator-plugins-capplet.desktop
  84. %{_datadir}/applications/gkbd-keyboard-display.desktop
  85. %{_datadir}/glib-2.0/schemas/*.xml
  86. %{_datadir}/libgnomekbd/ui/*
  87. %{_datadir}/libgnomekbd/icons/*.svg
  88. %{_datadir}/GConf/gsettings/libgnomekbd.convert
  89. %files devel
  90. %defattr(-,root,root,-)
  91. %{_includedir}/libgnomekbd/*
  92. %{_libdir}/*.so
  93. %{_libdir}/pkgconfig/libgnomekbd.pc
  94. %{_libdir}/pkgconfig/libgnomekbdui.pc
  95. %{_datadir}/gir-1.0/Gkbd-3.0.gir
  96. %changelog
  97. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  98. - new upstream release
  99. - add BuildRequires: libSM-devel
  100. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  101. - new upstream release
  102. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1
  103. - new upstream release
  104. - change BuildRequires: gtk3-devel instead of gtk2-devel
  105. * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  106. - new upstream release
  107. - remove BuildRequires: libgnomeui-devel
  108. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2
  109. - rebuild with rpm-4.8.1 for pkg-config file
  110. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  111. - new upstream release
  112. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  113. - new upstream release
  114. - drop Patch1
  115. * Sat Apr 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.30.0-2
  116. - remove old Patches
  117. - add Patch1 to fix invalid default value in schema
  118. https://bugzilla.gnome.org/show_bug.cgi?id=615077
  119. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  120. - new upstream release
  121. - fix BuildRequires: libxklavier-devel >= 5.0
  122. * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  123. - new upstream release
  124. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
  125. - new upstream release
  126. - remove BR: libglade2-devel
  127. * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  128. - new upstream release
  129. * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  130. - new upstream release
  131. * Sun Mar 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  132. - new upstream release
  133. * Thu Dec 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.0-0vl1
  134. - new upstream release
  135. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
  136. - initial build for Vine Linux
  137. * Tue Mar 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.0-1
  138. - Update to 2.18.0
  139. * Wed Jan 24 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.2-2
  140. - Port former control-center patches to improve keyboard drawing
  141. * Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.2-1
  142. - Update to 2.17.2
  143. * Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-4
  144. - Fix up Requires
  145. * Thu Nov 2 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-3
  146. - Don't use --Werror
  147. * Sat Oct 28 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-2
  148. - Fix a memory allocation error
  149. * Sat Oct 28 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-1
  150. - Initial release