libgnomekbd-vl.spec 5.4 KB

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