%define major_ver 1.20 %define ver %{major_ver}.0 %define rel 1 Summary: The MATE Terminal Emulator Name: mate-terminal Version: %{ver} Release: %{rel}%{?_dist_release} Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz License: GPLv3 Group: User Interface/Desktops URL: http://mate-desktop.org/ BuildRequires: mate-common BuildRequires: gtk3-devel BuildRequires: dconf-devel BuildRequires: vte3-devel >= 0.46 BuildRequires: libSM-devel BuildRequires: mate-desktop-devel BuildRequires: itstool BuildRequires: gtk-doc BuildRequires: autoconf BuildRequires: automake BuildRequires: desktop-file-utils Requires(posttrans,postun): glib2 Requires(post,postun): desktop-file-utils BuildRoot: %{_tmppath}/%{name}-%{version}-root Vendor: Project Vine Distribution: Vine Linux Packager: Takemikaduchi, iwaim %description This is the MATE terminal emulator application. mate-terminal is only the shell (menubar, prefs dialog); the terminal emulation ("stuff in the middle") comes from the VTE widget. Remember this when choosing a bugzilla component. ;-) %prep %setup -q %build (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) %configure \ --disable-static %{__make} %{?_smp_mflags} %install %{__rm} -rf ${RPM_BUILD_ROOT} %{__make} install DESTDIR=${RPM_BUILD_ROOT} find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; desktop-file-install --vendor '' \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ --remove-category=System \ $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop %find_lang %{name} %clean %{__rm} -rf ${RPM_BUILD_ROOT} %post /sbin/ldconfig update-desktop-database %{_datadir}/applications >& /dev/null ||: %postun /sbin/ldconfig if [ $1 -eq 0 ]; then update-desktop-database %{_datadir}/applications >& /dev/null ||: glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: fi %posttrans glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: %files -f %{name}.lang %defattr(-,root,root,-) %doc COPYING ChangeLog NEWS README %{_bindir}/%{name} %{_bindir}/%{name}.wrapper %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/glib-2.0/schemas/org.mate.terminal.gschema.xml %{_datadir}/help/* %{_datadir}/%{name} %{_mandir}/man1/%{name}.1.gz %changelog * Sun May 20 2018 IWAI, Masaharu 1.20.0-1 - update to 1.20.0 * Thu Jan 18 2018 IWAI, Masaharu 1.18.2-1 - update to 1.18.2 * Wed May 10 2017 IWAI, Masaharu 1.18.1-1 - update to 1.18.1 * Sat Apr 8 2017 IWAI, Masaharu 1.18.0-1 - update to 1.18.0 * Sun Mar 26 2017 IWAI, Masaharu 1.16.2-1 - update to 1.16.2 * Sun Nov 27 2016 IWAI, Masaharu 1.16.1-1 - new upstream release - update GTK+ version - BR: gtk3-devel - update VTE version (require API 2.91) - update Packager * Sun May 08 2016 Yoji TOYODA 1.14.0-1 - new upstream release * Sat Dec 19 2015 Yoji TOYODA 1.12.1-1 - new upstream release * Sat Nov 07 2015 Yoji TOYODA 1.12.0-1 - new upstream release * Sun Jul 19 2015 Yoji TOYODA 1.10.1-1 - new upstream release * Sat May 23 2015 Yoji TOYODA 1.10.0-1 - new upstream release - add BuildRequires: mate-desktop-devel * Wed Nov 26 2014 Yoji TOYODA 1.8.1-1 - new upstream release * Tue Jun 10 2014 Yoji TOYODA 1.8.0-2 - add BuildRequires: desktop-file-utils - remove Categories=System to mate-terminal.desktop * Wed Apr 16 2014 Yoji TOYODA 1.8.0-1 - new upstream release - remove Patch0 (mate-terminal-1.4.0-ja.po.patch) - add BuildRequires: itstool * Sun Dec 29 2013 Yoji TOYODA 1.6.1-2 - rebuild with VineSeed environment * Sun May 19 2013 Yoji TOYODA 1.6.1-1 - new upstream release - remove BuildRequires: mate-conf-devel - add BuildRequires: dconf-devel * Thu Aug 02 2012 Yoji TOYODA 1.4.0-1 - new upstream release - add Patch0 (mate-terminal-1.4.0-ja.po.patch) * Sat May 12 2012 Yoji TOYODA 1.2.1-1 - new upstream release * Fri Dec 23 2011 Yoji TOYODA 1.1.0-2 - change category * Fri Dec 23 2011 Yoji TOYODA 1.1.0-1 - initial build for Vine Linux