%define version 0.8.10 %define release 20mdk Summary: Eterm Enlightened Terminal Emulator for X Window Name: Eterm Version: %{version} Release: %{release} License: GPL Group: Terminals Packager: David BAUDENS <baudens@mandrakesoft.com> Source: Eterm-%{version}.tar.bz2 Source1: Eterm-bg-scale-1.tar.bz2 Source2: Eterm-bg-scale-2.tar.bz2 Source3: Eterm-bg-tile.tar.bz2 Source4: Eterm-mandrake-theme Source5: Eterm_menu Source6: Eterm-48.png Source7: Eterm-32.png Source8: Eterm-16.png Source9: Eterm-themes-mutt-Main.in.bz2 Patch0: Eterm-%{version}-utempter-theme.patch.bz2 Patch1: Eterm-del.patch.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root URL: http://eterm.sourceforge.net/ Requires: imlib >= 1.8 BuildRequires: XFree86-devel autoconf automake gcc gdb groff imlib-devel libutempter-devel man %description Eterm is a color vt102 terminal emulator intended as a replacement for Xterm. It is designed with a Freedom of Choice philosophy, leaving as much power, flexibility, and freedom as possible in the hands of the user. It is designed to look good and work well, but takes a feature-rich approach rather than one of minimalism while still maintaining speed and efficiency. It works on any windowmanager/desktop environment, including AfterStep, BlackBox, 4DWM, CDE, KDE, GNOME, fvwm, and even twm, although it is designed to work and integrate best with Enlightenment. %package devel Requires: %{name} = %{version}-%{release} Summary: Devel files for Eterm Group: Development/Other %description devel Eterm is a color vt102 terminal emulator intended as a replacement for Xterm. It is designed with a Freedom of Choice philosophy, leaving as much power, flexibility, and freedom as possible in the hands of the user. It is designed to look good and work well, but takes a feature-rich approach rather than one of minimalism while still maintaining speed and efficiency. It works on any windowmanager/desktop environment, including AfterStep, BlackBox, 4DWM, CDE, KDE, GNOME, fvwm, and even twm, although it is designed to work and integrate best with Enlightenment. This package provides the necessary development libraries and include files to allow you to develop programs using Wine environment. %prep %setup -q -n Eterm-O.8.10 1 -a1 -a2 -a3 %patch0 -p1 %patch1 -p0 cp -fv %{SOURCE9} themes/mutt/MAIN.in cd Eterm/bg mv -f scale/* ../../bg/scale/ mv -f tile/* ../../bg/tile/ #rm -fr $RPM_BUILD_DIR/%{name}-%{version}/Eterm %build CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=/usr/X11R6 %make %install make install prefix=$RPM_BUILD_ROOT/usr/X11R6 ( cd $RPM_BUILD_ROOT mv .%{_bindir}/Eterm .%{_bindir}/Eterm-%version cd $RPM_BUILD_ROOT%{_bindir} ln -sf Eterm-%{version} Eterm cd $RPM_BUILD_ROOT chmod +x ./usr/X11R6/lib/lib*so* ||: ) # Install Mandrake Theme install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/usr/X11R6/share/Eterm/themes/Eterm/MAIN # Install icons mkdir -p $RPM_BUILD_ROOT%{_iconsdir} mkdir -p $RPM_BUILD_ROOT%{_liconsdir} mkdir -p $RPM_BUILD_ROOT%{_miconsdir} cp %{SOURCE6} $RPM_BUILD_ROOT%{_liconsdir}/Eterm.png cp %{SOURCE7} $RPM_BUILD_ROOT%{_iconsdir}/Eterm.png cp %{SOURCE8} $RPM_BUILD_ROOT%{_miconsdir}/Eterm.png # Install menu install -m 755 -d $RPM_BUILD_ROOT%{_menudir} install -m 644 %SOURCE5 $RPM_BUILD_ROOT%{_menudir}/Eterm %files %defattr(-, root, root,0755) %{_iconsdir}/Eterm.png %{_liconsdir}/Eterm.png %{_miconsdir}/Eterm.png %{_menudir}/* /usr/X11R6/bin/Et* /usr/X11R6/bin/Esetroot /usr/X11R6/lib/*.so /usr/X11R6/share/Eterm/ /usr/X11R6/man/man1/Eterm.1.bz2 %doc COPYING %doc ChangeLog %doc README %files devel %defattr(-,root,root,-) /usr/X11R6/lib/*.a %clean rm -rf $RPM_BUILD_ROOT %post %{update_menus} update-alternatives --install /usr/X11R6/bin/xvt xvt /usr/X11R6/bin/Eterm 15 /sbin/ldconfig %post devel -p /sbin/ldconfig %postun %{clean_menus} [ "$1" = "0" ]&& update-alternatives --remove xvt /usr/X11R6/bin/Eterm /sbin/ldconfig %postun devel -p /sbin/ldconfig %changelog * Wed Feb 6 2002 Stefan van der Eijk <stefan@eijk.nu> 0.8.10-20mdk - BuildRequires * Thu Jan 31 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.8.10-19mdk - remvove RPM_SOURCE_DIR usage - xpm -> png icons * Wed Dec 19 2001 Yves Duret <yduret@mandrakesoft.com> 0.8.10-18mdk - rebuild against libpng3 !! (dadou too lazy to do it). - corrected version number to 0.8.10 instead of O.8.10 (yeah capital o) * Mon Sep 17 2001 Christian Belisle <cbelisle@mandrakesoft.com> O.8.10-17mdk - Fixed menu entry * Mon Jul 23 2001 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> O.8.10-16mdk - BuildRequires: s/utempter-devel/libutempter0-devel - s/Copyright/License * Tue Mar 27 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> O.8.10-15mdk - various dedadoufication (aka spec cleaning) : - get rid of stupid tar - simplify scripts - use right macros - %%install doesn't need to clean - ... * Thu Feb 8 2001 Warly <warly@mandrakesoft.com> O.8.10-14mdk - add alternatives on xvt * Sat Jan 27 2001 Vincent Danen <vdanen@mandrakesoft.com> O.8.10-13mdk - Rebuild to fix problems with loading (Eterm kept crashing) * Mon Nov 13 2000 David BAUDENS <baudens@mandrakesoft.com> O.8.10-12mdk - Build with glibc-2.2 & gcc-2.96 * Fri Sep 25 2000 David BAUDENS <baudens@mandrakesoft.com> O.8.10-11mdk - Fix keyboard section for Mutt theme (thanks to Ben Reser) * Fri Sep 01 2000 David BAUDENS <baudens@mandrakesoft.com> O.8.10-10mdk - Fix delete key problem (thanks to Anton Graham) - Make RPMLint happy * Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> O.8.10-9mdk - automatically added BuildRequires * Tue Apr 18 2000 Daouda Lo <daouda@mandrakesoft.com> 0.8.10-8mdk - run update-menu in post and postun sections - fix version - SMP build/check * Wed Mar 29 2000 David BAUDENS <baudens@mandrakesoft.com> 0.16-7mdk - Menu support - Disable visual bell - Fix a typo in Summary * Mon Mar 27 2000 David BAUDENS <baudens@mandrakesoft.com> 0.10-6mdk - Enable Mandrake Theme * Mon Mar 27 2000 David BAUDENS <baudens@mandrakesoft.com> 0.10-5mdk - Use new Group - Use %%{_tmppath} for BuildRoot - Update Description * Mon Jan 03 2000 David BAUDENS <baudens@mandrakesoft.com> - Fix name * Sun Dec 26 1999 - David BAUDENS <baudens@mandrakesoft.com> - Fix bg * Sat Dec 25 1999 - David BAUDENS <baudens@mandrakesoft.com> - Add utemper patch from Tim POWERS <tim@redhat.com> * Tue Nov 25 1999 - David BAUDENS <baudens@mandrakesoft.com> - 0.8.10 - Make relocatable - Clean up spec file * Wed Dec 30 1998 mej <mej@mw.3com.com> - Added spec file. Created by techn0ir <technoir@themes.org> - Modified spec file for Mandrake <johnb@mandrakesoft.com>