libmatekbd-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. %define major_ver 1.18
  2. %define ver %{major_ver}.2
  3. %define rel 1
  4. Summary: MATE keyboard shared library
  5. Name: libmatekbd
  6. Version: %{ver}
  7. Release: %{rel}%{?_dist_release}
  8. Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
  9. License: LGPLv2.1
  10. Group: System Environment/Libraries
  11. URL: http://mate-desktop.org/
  12. BuildRequires: mate-common
  13. BuildRequires: gtk3-devel >= 3.14
  14. BuildRequires: libxklavier-devel > 5.2
  15. BuildRequires: autoconf
  16. BuildRequires: automake
  17. Requires(posttrans,postun): glib2
  18. Requires(post,postun): desktop-file-utils
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: Takemikaduchi, iwaim
  23. %description
  24. MATE keyboard shared library
  25. %package devel
  26. Summary: Development tools for libmatekbd
  27. Summary(ja): libmatekbd の開発環境
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. Requires: pkgconfig
  31. %description devel
  32. Header files and libraries for building a extension library for the
  33. libmatekbd.
  34. %prep
  35. %setup -q
  36. %build
  37. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  38. %configure \
  39. --disable-static \
  40. %{__make} %{?_smp_mflags}
  41. %install
  42. %{__rm} -rf ${RPM_BUILD_ROOT}
  43. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  44. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  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. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  52. %postun
  53. /sbin/ldconfig
  54. if [ $1 -eq 0 ]; then
  55. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  56. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  57. fi
  58. %posttrans
  59. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  60. %files -f %{name}.lang
  61. %defattr(-,root,root,-)
  62. %doc COPYING ChangeLog NEWS README
  63. %{_libdir}/libmatekbd*.so.*
  64. %{_libdir}/girepository-1.0/Matekbd-1.0.typelib
  65. %{_datadir}/glib-2.0/schemas/org.mate.peripherals-keyboard-xkb.gschema.xml
  66. %{_datadir}/libmatekbd/ui/*.ui
  67. %files devel
  68. %defattr(-,root,root,-)
  69. %{_includedir}/libmatekbd
  70. %{_libdir}/libmatekbd*.so
  71. %{_libdir}/pkgconfig/libmatekbd.pc
  72. %{_libdir}/pkgconfig/libmatekbdui.pc
  73. %{_datadir}/gir-1.0/Matekbd-1.0.gir
  74. %changelog
  75. * Tue Apr 11 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1
  76. - update to 1.18.2
  77. * Sun Apr 2 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1
  78. - update to 1.18.0
  79. - move to GTK3+
  80. - drop BR: libSM-devel
  81. * Sat Nov 26 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1
  82. - new upstream release
  83. - fix License
  84. - update Packager
  85. * Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1
  86. - new upstream release
  87. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  88. - new upstream release
  89. * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  90. - new upstream release
  91. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  92. - new upstream release
  93. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  94. - new upstream release
  95. * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  96. - new upstream release
  97. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  98. - rebuild with VineSeed environment
  99. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  100. - new upstream release
  101. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  102. - new upstream release
  103. - remove BuildRequires: mate-conf-devel
  104. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  105. - new upstream release
  106. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  107. - new upstream release
  108. - add BuildRequires: libSM-devel
  109. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  110. - initial build for Vine Linux