mate-terminal-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. Summary: The MATE Terminal Emulator
  2. Name: mate-terminal
  3. Version: 1.6.1
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
  6. Patch0: mate-terminal-1.4.0-ja.po.patch
  7. License: GPLv2
  8. Group: User Interface/Desktops
  9. URL: http://mate-desktop.org/
  10. BuildRequires: mate-common
  11. BuildRequires: mate-doc-utils
  12. BuildRequires: gtk2-devel
  13. BuildRequires: dconf-devel
  14. BuildRequires: vte-devel
  15. BuildRequires: libSM-devel
  16. BuildRequires: gtk-doc
  17. BuildRequires: autoconf
  18. BuildRequires: automake
  19. Requires(posttrans,postun): glib2
  20. Requires(post,postun): desktop-file-utils
  21. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. Packager: Takemikaduchi
  25. %description
  26. This is the MATE terminal emulator application. mate-terminal is
  27. only the shell (menubar, prefs dialog); the terminal emulation ("stuff
  28. in the middle") comes from the VTE widget. Remember this when
  29. choosing a bugzilla component. ;-)
  30. %prep
  31. %setup -q
  32. %patch0 -p1
  33. %build
  34. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  35. %configure \
  36. --disable-static
  37. %{__make} %{?_smp_mflags}
  38. %install
  39. %{__rm} -rf ${RPM_BUILD_ROOT}
  40. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  41. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  42. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  43. %find_lang %{name}
  44. %clean
  45. %{__rm} -rf ${RPM_BUILD_ROOT}
  46. %post
  47. /sbin/ldconfig
  48. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  49. %postun
  50. /sbin/ldconfig
  51. if [ $1 -eq 0 ]; then
  52. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  53. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  54. fi
  55. %posttrans
  56. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  57. %files -f %{name}.lang
  58. %defattr(-,root,root,-)
  59. %doc COPYING ChangeLog NEWS README
  60. %{_bindir}/mate-terminal
  61. %{_datadir}/applications/mate-terminal.desktop
  62. %{_datadir}/glib-2.0/schemas/org.mate.terminal.gschema.xml
  63. %{_datadir}/mate/help/%{name}
  64. %{_datadir}/%{name}
  65. %{_datadir}/omf/%{name}
  66. %changelog
  67. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  68. - new upstream release
  69. - remove BuildRequires: mate-conf-devel
  70. - add BuildRequires: dconf-devel
  71. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  72. - new upstream release
  73. - add Patch0 (mate-terminal-1.4.0-ja.po.patch)
  74. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  75. - new upstream release
  76. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  77. - change category
  78. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  79. - initial build for Vine Linux