mate-terminal-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. %define major_ver 1.20
  2. %define ver %{major_ver}.0
  3. %define rel 1
  4. Summary: The MATE Terminal Emulator
  5. Name: mate-terminal
  6. Version: %{ver}
  7. Release: %{rel}%{?_dist_release}
  8. Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
  9. License: GPLv3
  10. Group: User Interface/Desktops
  11. URL: http://mate-desktop.org/
  12. BuildRequires: mate-common
  13. BuildRequires: gtk3-devel
  14. BuildRequires: dconf-devel
  15. BuildRequires: vte3-devel >= 0.46
  16. BuildRequires: libSM-devel
  17. BuildRequires: mate-desktop-devel
  18. BuildRequires: itstool
  19. BuildRequires: gtk-doc
  20. BuildRequires: autoconf
  21. BuildRequires: automake
  22. BuildRequires: desktop-file-utils
  23. Requires(posttrans,postun): glib2
  24. Requires(post,postun): desktop-file-utils
  25. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  26. Vendor: Project Vine
  27. Distribution: Vine Linux
  28. Packager: Takemikaduchi, iwaim
  29. %description
  30. This is the MATE terminal emulator application. mate-terminal is
  31. only the shell (menubar, prefs dialog); the terminal emulation ("stuff
  32. in the middle") comes from the VTE widget. Remember this when
  33. choosing a bugzilla component. ;-)
  34. %prep
  35. %setup -q
  36. %build
  37. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  38. %configure \
  39. --disable-static
  40. %{__make} %{?_smp_mflags}
  41. %install
  42. %{__rm} -rf ${RPM_BUILD_ROOT}
  43. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  44. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  45. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  46. desktop-file-install --vendor '' \
  47. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  48. --remove-category=System \
  49. $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
  50. %find_lang %{name}
  51. %clean
  52. %{__rm} -rf ${RPM_BUILD_ROOT}
  53. %post
  54. /sbin/ldconfig
  55. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  56. %postun
  57. /sbin/ldconfig
  58. if [ $1 -eq 0 ]; then
  59. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  60. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  61. fi
  62. %posttrans
  63. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  64. %files -f %{name}.lang
  65. %defattr(-,root,root,-)
  66. %doc COPYING ChangeLog NEWS README
  67. %{_bindir}/%{name}
  68. %{_bindir}/%{name}.wrapper
  69. %{_datadir}/appdata/%{name}.appdata.xml
  70. %{_datadir}/applications/%{name}.desktop
  71. %{_datadir}/glib-2.0/schemas/org.mate.terminal.gschema.xml
  72. %{_datadir}/help/*
  73. %{_datadir}/%{name}
  74. %{_mandir}/man1/%{name}.1.gz
  75. %changelog
  76. * Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.0-1
  77. - update to 1.20.0
  78. * Thu Jan 18 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1
  79. - update to 1.18.2
  80. * Wed May 10 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1
  81. - update to 1.18.1
  82. * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1
  83. - update to 1.18.0
  84. * Sun Mar 26 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.2-1
  85. - update to 1.16.2
  86. * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1
  87. - new upstream release
  88. - update GTK+ version
  89. - BR: gtk3-devel
  90. - update VTE version (require API 2.91)
  91. - update Packager
  92. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  93. - new upstream release
  94. * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  95. - new upstream release
  96. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  97. - new upstream release
  98. * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  99. - new upstream release
  100. * Sat May 23 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  101. - new upstream release
  102. - add BuildRequires: mate-desktop-devel
  103. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  104. - new upstream release
  105. * Tue Jun 10 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
  106. - add BuildRequires: desktop-file-utils
  107. - remove Categories=System to mate-terminal.desktop
  108. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  109. - new upstream release
  110. - remove Patch0 (mate-terminal-1.4.0-ja.po.patch)
  111. - add BuildRequires: itstool
  112. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  113. - rebuild with VineSeed environment
  114. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  115. - new upstream release
  116. - remove BuildRequires: mate-conf-devel
  117. - add BuildRequires: dconf-devel
  118. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  119. - new upstream release
  120. - add Patch0 (mate-terminal-1.4.0-ja.po.patch)
  121. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  122. - new upstream release
  123. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  124. - change category
  125. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  126. - initial build for Vine Linux