libgnomekbd-vl.spec 5.4 KB

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