mate-terminal-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. Summary: The MATE Terminal Emulator
  2. Name: mate-terminal
  3. Version: 1.4.0
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.4/%{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: mate-conf-devel
  13. BuildRequires: gtk2-devel
  14. BuildRequires: vte-devel
  15. BuildRequires: libSM-devel
  16. BuildRequires: gtk-doc
  17. BuildRequires: autoconf
  18. BuildRequires: automake
  19. Requires(post,pre,preun): mate-conf
  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. --disable-scrollkeeper
  38. %{__make} %{?_smp_mflags}
  39. %install
  40. %{__rm} -rf ${RPM_BUILD_ROOT}
  41. export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  42. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  43. unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  44. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  45. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  46. %find_lang %{name}
  47. %clean
  48. %{__rm} -rf ${RPM_BUILD_ROOT}
  49. %post
  50. /sbin/ldconfig
  51. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  52. SCHEMAS=" \
  53. mate-terminal.schemas"
  54. for S in $SCHEMAS; do
  55. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  56. | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||:
  57. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  58. %pre
  59. if [ "$1" -gt 1 ]; then
  60. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  61. SCHEMAS=" \
  62. mate-terminal.schemas"
  63. for S in $SCHEMAS; do
  64. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  65. | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
  66. fi
  67. %preun
  68. if [ "$1" -eq 0 ]; then
  69. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  70. SCHEMAS=" \
  71. mate-terminal.schemas"
  72. for S in $SCHEMAS; do
  73. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  74. | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
  75. fi
  76. %postun
  77. /sbin/ldconfig
  78. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  79. %files -f %{name}.lang
  80. %defattr(-,root,root,-)
  81. %doc COPYING ChangeLog NEWS README
  82. %{_sysconfdir}/mateconf/schemas/mate-terminal.schemas
  83. %{_bindir}/mate-terminal
  84. %{_datadir}/applications/mate-terminal.desktop
  85. %{_datadir}/mate/help/%{name}
  86. %{_datadir}/%{name}
  87. %{_datadir}/omf/%{name}
  88. %changelog
  89. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  90. - new upstream release
  91. - add Patch0 (mate-terminal-1.4.0-ja.po.patch)
  92. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  93. - new upstream release
  94. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  95. - change category
  96. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  97. - initial build for Vine Linux