mate-terminal-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. Summary: The MATE Terminal Emulator
  2. Name: mate-terminal
  3. Version: 1.1.0
  4. Release: 2%{?_dist_release}
  5. Source0: %{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: User Interface/Desktops
  8. URL: https://matsusoft.com.ar/projects/mate/
  9. BuildRequires: mate-common
  10. BuildRequires: mate-doc-utils
  11. BuildRequires: mate-conf-devel
  12. BuildRequires: gtk2-devel
  13. BuildRequires: vte-devel
  14. BuildRequires: libSM-devel
  15. BuildRequires: gtk-doc
  16. BuildRequires: autoconf
  17. BuildRequires: automake
  18. Requires(post,pre,preun): mate-conf
  19. Requires(post,postun): desktop-file-utils
  20. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. Packager: Takemikaduchi
  24. %description
  25. This is the MATE terminal emulator application. mate-terminal is
  26. only the shell (menubar, prefs dialog); the terminal emulation ("stuff
  27. in the middle") comes from the VTE widget. Remember this when
  28. choosing a bugzilla component. ;-)
  29. %prep
  30. %setup -q
  31. %build
  32. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  33. %configure \
  34. --disable-static \
  35. --disable-scrollkeeper
  36. %{__make} %{?_smp_mflags}
  37. %install
  38. %{__rm} -rf ${RPM_BUILD_ROOT}
  39. export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  40. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  41. unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  42. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  43. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  44. %find_lang %{name}
  45. %clean
  46. %{__rm} -rf ${RPM_BUILD_ROOT}
  47. %post
  48. /sbin/ldconfig
  49. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  50. SCHEMAS=" \
  51. mate-terminal.schemas"
  52. for S in $SCHEMAS; do
  53. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  54. | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||:
  55. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  56. %pre
  57. if [ "$1" -gt 1 ]; then
  58. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  59. SCHEMAS=" \
  60. mate-terminal.schemas"
  61. for S in $SCHEMAS; do
  62. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  63. | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
  64. fi
  65. %preun
  66. if [ "$1" -eq 0 ]; then
  67. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  68. SCHEMAS=" \
  69. mate-terminal.schemas"
  70. for S in $SCHEMAS; do
  71. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  72. | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
  73. fi
  74. %postun
  75. /sbin/ldconfig
  76. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  77. %files -f %{name}.lang
  78. %defattr(-,root,root,-)
  79. %doc COPYING ChangeLog NEWS README
  80. %{_sysconfdir}/mateconf/schemas/mate-terminal.schemas
  81. %{_bindir}/mate-terminal
  82. %{_datadir}/applications/mate-terminal.desktop
  83. %{_datadir}/mate/help/%{name}
  84. %{_datadir}/%{name}
  85. %{_datadir}/omf/%{name}
  86. %changelog
  87. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  88. - change category
  89. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  90. - initial build for Vine Linux