%if %{!?compression:1}0 %define compression gz %endif %define __os_install_post /usr/lib/rpm/brp-compress Summary: Enlightened terminal emulator Name: Eterm Version: 0.9.4 #Release: 1 Release: 0.%(date '+%Y%m%d') License: BSD Group: User Interface/X Requires: imlib2, imlib2-loader_jpeg, imlib2-loader_png #BuildSuggests: xorg-x11-devel BuildRequires: libast imlib2-devel XFree86-devel Source0: ftp://ftp.eterm.org/pub/Eterm/%{name}-%{version}.tar.%{compression} Source1: ftp://ftp.eterm.org/pub/Eterm/%{name}-bg-%{version}.tar.%{compression} URL: http://www.eterm.org/ BuildRoot: /var/tmp/%{name}-%{version}-root %description Eterm is a color vt102 terminal emulator with enhanced graphical capabilities. Eterm is intended to be a replacement for xterm for Enlightenment window manager users, but it can also be used as a replacement for xterm by users without Enlightenment. Eterm supports various themes and is very configurable, in keeping with the philosophy of Enlightenment. If you install Eterm, you'll also need to have the Imlib2 library installed. %prep %setup -a 1 %build #CFLAGS="$RPM_OPT_FLAGS" CFLAGS="-O0 -g3" export CFLAGS # When using the configure macro, I also specify all the directory # macros I use for compatibility with older versions of the macro %configure --bindir=%{_bindir} --libdir=%{_libdir} --mandir=%{_mandir} \ --datadir=%{_datadir} --sysconfdir=%{_sysconfdir} \ --enable-multi-charset --enable-escreen --enable-auto-encoding \ --with-debugging=9 %{?acflags} %{__make} %{?mflags} %install rm -rf $RPM_BUILD_ROOT # If the configure macro is used above (which it is), there # is NO reason to use the makeinstall macro here, so don't. %{__make} install DESTDIR=$RPM_BUILD_ROOT %{?mflags_install} ( cd $RPM_BUILD_ROOT mv .%{_bindir}/%{name} .%{_bindir}/%{name}-%{version} cd $RPM_BUILD_ROOT%{_bindir} ln -f -s %{name}-%{version} %{name} cd $RPM_BUILD_ROOT chmod +x .%{_libdir}/lib*so* ||: ) mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/Utilities cat > $RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/Utilities/Eterm.desktop < - builds on Alpha now. No need to excludearch (bug 28472) * Wed Feb 14 2001 Tim Powers - removed images which are from Digital Blasphemy from the extra images tarball, had to delete those images because they are not allowed to be redistributed on CD, or in compressed format * Tue Jan 9 2001 Tim Powers - fixed a bunch of pre and post in/uninstall brokenness by dropping split backgrounds package, backgrounds now included in Eterm proper. This also makes the spec file a lot cleaner :) * Sat Aug 19 2000 Tim Powers - fix bug #15687 * Tue Aug 8 2000 Tim Powers - fixed bug #15687 using Hans' patch * Wed Aug 2 2000 Tim Powers - rebuilt against libpng-1.0.8 * Mon Jul 24 2000 Prospector - rebuilt * Sat Jul 22 2000 Tim Powers - fix spec file problem with configure picking up egcs and running with it, fixes linking bugs * Mon Jul 10 2000 Tim Powers - rebuilt * Fri Jun 2 2000 Tim Powers - no more wmconfig :) converted to applnk - fix man page location. Now FHS compliant - use macros wherever possible - removed redundant defines at the top of the spec * Mon Apr 10 2000 Tim Powers - rebuilt for 7.0 * Thu Feb 03 2000 Tim Powers - strip debug from libraries * Wed Feb 02 2000 Tim Powers - fixed problems when upgrading and error messages due to a faulty script in the post section for the Eterm package * Tue Feb 01 2000 Tim Powers - applied patch from Hans de Goede to fix some del, home and end issues * Fri Jan 29 2000 Tim Powers - rebuilt for 6.2 powertools - bzipped source to conserve space - using percent configure so that libtoolize is run, needed for some of the newer alphas instead of ./configure --prefix= - stripping binaries again * Fri Dec 10 1999 Michael Jennings - Added Tim's spec file to CVS as Eterm.spec.in for 0.9 * Wed Dec 8 1999 Tim Powers - using unified patch for utempter and themes from Michael Jennings * Tue Dec 7 1999 Tim Powers - added wmconfig entry - split up into 2 packages, Eterm proper, and Eterm-backgrounds - thanks to ewt, we no longer have to make Eterm suid root, uses utempter instead * Mon Dec 6 1999 Tim Powers - updated to 0.8.10 - patched so that Eterm finds pix/themes in the right place - new version fixes problems with utmp, conforms to Eterm docs. - added RedHat.Eterm_suid which includes instructions on how to run Eterm in order to have it seen by "w" and "who" as a regular user * Fri Aug 20 1999 Tim Powers - fixed roblem with removing all files when uninstalling Eterm. * Tue Jul 27 1999 Tim Powers - updated version to 0.8.9 - cleaned up spec - updated patch - includes new backgrounds - built for 6.1 * Mon Apr 05 1999 Michael Maher - update to 0.8.8 * Fri Oct 23 1998 Jeff Johnson - update to 0.8.7. * Fri Oct 08 1998 Michael Maher - built eterm