libmatekbd-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. Summary: MATE keyboard shared library
  2. Name: libmatekbd
  3. Version: 1.6.1
  4. Release: 2%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.6/%{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. %{_datadir}/MateConf/gsettings/matekbd.convert
  63. %{_datadir}/glib-2.0/schemas/org.mate.peripherals-keyboard-xkb.gschema.xml
  64. %{_datadir}/libmatekbd/ui/*.ui
  65. %files devel
  66. %defattr(-,root,root,-)
  67. %{_includedir}/libmatekbd
  68. %{_libdir}/libmatekbd*.so
  69. %{_libdir}/pkgconfig/libmatekbd.pc
  70. %{_libdir}/pkgconfig/libmatekbdui.pc
  71. %changelog
  72. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  73. - rebuild with VineSeed environment
  74. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  75. - new upstream release
  76. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  77. - new upstream release
  78. - remove BuildRequires: mate-conf-devel
  79. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  80. - new upstream release
  81. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  82. - new upstream release
  83. - add BuildRequires: libSM-devel
  84. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  85. - initial build for Vine Linux