mate-terminal-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. %define major_ver 1.18
  2. %define ver %{major_ver}.1
  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
  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. * Wed May 10 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1
  77. - update to 1.18.1
  78. * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1
  79. - update to 1.18.0
  80. * Sun Mar 26 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.2-1
  81. - update to 1.16.2
  82. * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1
  83. - new upstream release
  84. - update GTK+ version
  85. - BR: gtk3-devel
  86. - update VTE version (require API 2.91)
  87. - update Packager
  88. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  89. - new upstream release
  90. * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  91. - new upstream release
  92. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  93. - new upstream release
  94. * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  95. - new upstream release
  96. * Sat May 23 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  97. - new upstream release
  98. - add BuildRequires: mate-desktop-devel
  99. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  100. - new upstream release
  101. * Tue Jun 10 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
  102. - add BuildRequires: desktop-file-utils
  103. - remove Categories=System to mate-terminal.desktop
  104. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  105. - new upstream release
  106. - remove Patch0 (mate-terminal-1.4.0-ja.po.patch)
  107. - add BuildRequires: itstool
  108. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  109. - rebuild with VineSeed environment
  110. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  111. - new upstream release
  112. - remove BuildRequires: mate-conf-devel
  113. - add BuildRequires: dconf-devel
  114. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  115. - new upstream release
  116. - add Patch0 (mate-terminal-1.4.0-ja.po.patch)
  117. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  118. - new upstream release
  119. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  120. - change category
  121. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  122. - initial build for Vine Linux