libmatekbd-vl.spec 3.1 KB

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