mate-terminal-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. Summary: The MATE Terminal Emulator
  2. Name: mate-terminal
  3. Version: 1.8.0
  4. Release: 2%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: User Interface/Desktops
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: mate-doc-utils
  11. BuildRequires: gtk2-devel
  12. BuildRequires: dconf-devel
  13. BuildRequires: vte-devel
  14. BuildRequires: libSM-devel
  15. BuildRequires: itstool
  16. BuildRequires: gtk-doc
  17. BuildRequires: autoconf
  18. BuildRequires: automake
  19. BuildRequires: desktop-file-utils
  20. Requires(posttrans,postun): glib2
  21. Requires(post,postun): desktop-file-utils
  22. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. Packager: Takemikaduchi
  26. %description
  27. This is the MATE terminal emulator application. mate-terminal is
  28. only the shell (menubar, prefs dialog); the terminal emulation ("stuff
  29. in the middle") comes from the VTE widget. Remember this when
  30. choosing a bugzilla component. ;-)
  31. %prep
  32. %setup -q
  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. desktop-file-install --vendor '' \
  44. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  45. --remove-category=System \
  46. $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
  47. %find_lang %{name}
  48. %clean
  49. %{__rm} -rf ${RPM_BUILD_ROOT}
  50. %post
  51. /sbin/ldconfig
  52. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  53. %postun
  54. /sbin/ldconfig
  55. if [ $1 -eq 0 ]; then
  56. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  57. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  58. fi
  59. %posttrans
  60. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  61. %files -f %{name}.lang
  62. %defattr(-,root,root,-)
  63. %doc COPYING ChangeLog NEWS README
  64. %{_bindir}/%{name}
  65. %{_bindir}/%{name}.wrapper
  66. %{_datadir}/applications/%{name}.desktop
  67. %{_datadir}/glib-2.0/schemas/org.mate.terminal.gschema.xml
  68. %{_datadir}/help/*
  69. %{_datadir}/%{name}
  70. %{_mandir}/man1/%{name}.1.gz
  71. %changelog
  72. * Tue Jun 10 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
  73. - add BuildRequires: desktop-file-utils
  74. - remove Categories=System to mate-terminal.desktop
  75. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  76. - new upstream release
  77. - remove Patch0 (mate-terminal-1.4.0-ja.po.patch)
  78. - add BuildRequires: itstool
  79. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  80. - rebuild with VineSeed environment
  81. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  82. - new upstream release
  83. - remove BuildRequires: mate-conf-devel
  84. - add BuildRequires: dconf-devel
  85. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  86. - new upstream release
  87. - add Patch0 (mate-terminal-1.4.0-ja.po.patch)
  88. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  89. - new upstream release
  90. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  91. - change category
  92. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  93. - initial build for Vine Linux