From eed51cc8f177550e72ea39f1330b83ef37e3950e Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Oct 15 2012 16:13:31 +0000 Subject: initial import --- diff --git a/mate-terminal.spec b/mate-terminal.spec new file mode 100644 index 0000000..5807cea --- /dev/null +++ b/mate-terminal.spec @@ -0,0 +1,87 @@ +Summary: Terminal emulator for MATE +Name: mate-terminal +Version: 1.4.0 +Release: 2%{?dist} +License: GPLv3+ +Group: User Interface/Desktops +URL: http://mate-desktop.org +Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz + + +# mateconftool-2 +Requires(pre): mate-conf +Requires(post): mate-conf +Requires(preun): mate-conf + +BuildRequires: glib2-devel +BuildRequires: gtk2-devel +BuildRequires: mate-conf-devel +BuildRequires: libglade2-devel +BuildRequires: libmateui-devel +BuildRequires: vte-devel +BuildRequires: desktop-file-utils +BuildRequires: mate-doc-utils +BuildRequires: mate-common +BuildRequires: libSM-devel + +%description +Mate-terminal is a terminal emulator for MATE. It supports translucent +backgrounds, opening multiple terminals in a single window (tabs) and +clickable URLs. + +%prep +%setup -q +NOCONFIGURE=1 ./autogen.sh + +%build +%configure --with-gtk=2.0 \ + --disable-scrollkeeper \ + --disable-schemas-install + +make %{?_smp_mflags} + + +%install +export MATECONF_MAKEFILE_SCHEMA_INSTALL=1 +make install DESTDIR=$RPM_BUILD_ROOT +unset MATECONF_MAKEFILE_SCHEMA_INSTALL + +sed -i -e "s/Icon=mate-terminal.png/Icon=mate-terminal/" \ + $RPM_BUILD_ROOT%{_datadir}/applications/mate-terminal.desktop + +desktop-file-install --vendor "" --delete-original \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications \ + --remove-category=MATE \ + --add-category=X-Mate \ + --add-category=System \ + $RPM_BUILD_ROOT%{_datadir}/applications/mate-terminal.desktop + +%find_lang mate-terminal + +%post +%mateconf_schema_upgrade mate-terminal + +%pre +%mateconf_schema_prepare mate-terminal + +%preun +%mateconf_schema_remove mate-terminal + + +%files -f mate-terminal.lang +%doc AUTHORS COPYING NEWS README +%{_bindir}/mate-terminal +%{_datadir}/mate-terminal/ +%{_datadir}/mate/help/mate-terminal/ +%{_datadir}/omf/mate-terminal/ +%{_datadir}/applications/mate-terminal.desktop +%{_sysconfdir}/mateconf/schemas/mate-terminal.schemas + +%changelog +* Mon Oct 15 2012 Leigh Scott - 1.4.0-2 +- remove surplus build requires + +* Sun Oct 14 2012 Leigh Scott - 1.4.0-1 +- initial build + + diff --git a/sources b/sources index e69de29..94dd14c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3bf42e3443e3c1422ecdc88f4642bd8c mate-terminal-1.4.0.tar.xz