libgnomekbd-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. Summary: A keyboard configuration library
  2. Summary(ja): キーボード設定ライブラリ
  3. Name: libgnomekbd
  4. Version: 3.26.1
  5. Release: 1%{?_dist_release}
  6. Group: system,desktop-gnome
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: LGPL
  10. URL: http://gswitchit.sourceforce.net
  11. %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  12. Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: gtk3-devel >= 2.91.7
  15. BuildRequires: libxklavier-devel >= 5.0
  16. BuildRequires: libSM-devel
  17. BuildRequires: desktop-file-utils
  18. BuildRequires: perl(XML::Parser)
  19. BuildRequires: gettext
  20. BuildRequires: intltool
  21. Requires(pre): glib2
  22. Requires(post): glib2
  23. Requires(preun): glib2
  24. %description
  25. The libgnomekbd package contains a GNOME library which manages
  26. keyboard configuration and offers various widgets related to
  27. keyboard configuration.
  28. %package devel
  29. Summary: Development files for %{name}
  30. Group: Development/Libraries
  31. Requires: %{name} = %{version}-%{release}
  32. Requires: libxklavier-devel >= 5.0
  33. Requires: pkgconfig
  34. %description devel
  35. The libgnomekbd-devel package contains libraries and header files for
  36. developing applications that use libgnomekbd.
  37. %debug_package
  38. %prep
  39. %setup -q
  40. %build
  41. %configure --disable-static --enable-compile-warnings=no
  42. %__make %{?_smp_mflags}
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. make install DESTDIR=$RPM_BUILD_ROOT
  46. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  47. %find_lang %{name}
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %post
  51. /sbin/ldconfig
  52. touch --no-create %{_datadir}/icons/hicolor || :
  53. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  54. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  55. fi
  56. update-desktop-database &> /dev/null ||:
  57. %postun
  58. /sbin/ldconfig
  59. touch --no-create %{_datadir}/icons/hicolor || :
  60. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  61. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  62. fi
  63. %{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
  64. %posttrans
  65. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  66. %{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
  67. %files -f %{name}.lang
  68. %defattr(-,root,root,-)
  69. %doc AUTHORS
  70. %license COPYING.LIB
  71. %{_bindir}/gkbd-keyboard-display
  72. %{_libdir}/*.so.*
  73. %{_libdir}/girepository-1.0/Gkbd-3.0.typelib
  74. %{_datadir}/applications/gkbd-keyboard-display.desktop
  75. %{_datadir}/glib-2.0/schemas/*.xml
  76. %{_datadir}/libgnomekbd/ui/*
  77. %{_datadir}/libgnomekbd/icons/*.svg
  78. %{_datadir}/GConf/gsettings/libgnomekbd.convert
  79. %files devel
  80. %defattr(-,root,root,-)
  81. %{_includedir}/libgnomekbd/*
  82. %{_libdir}/*.so
  83. %{_libdir}/pkgconfig/libgnomekbd.pc
  84. %{_libdir}/pkgconfig/libgnomekbdui.pc
  85. %{_datadir}/gir-1.0/Gkbd-3.0.gir
  86. %changelog
  87. * Thu Feb 25 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.26.1-1
  88. - new upstream release.
  89. * Sat Dec 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.26.0-1
  90. - new upstream release.
  91. * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-2
  92. - rebuild with VineSeed environment
  93. * Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  94. - new upstream release
  95. * Sun Apr 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0.2-1
  96. - new upstream release
  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