mate-terminal-vl.spec 3.5 KB

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