You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

183 lines
5.6 KiB

%define ver @VERSION@
%define rel 2
%define prefix @prefix@
Summary: Enlightened terminal emulator
Name: Eterm
Version: %{ver}
Release: %{rel}
Copyright: BSD
Group: User Interface/X
BuildRoot: /var/tmp/Eterm-root
Requires: imlib >= 1.9.6
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 Imlib library installed.
%package backgrounds
Summary: Backgrounds for Eterm
Group: User Interface/X
Requires: Eterm = %{ver}
%description backgrounds
Install this package if you want additional backgrounds for Eterm
%setup -q -n Eterm-%{ver} 1
./configure --prefix=%{prefix}
mkdir -p $RPM_BUILD_ROOT/etc/X11/wmconfig/
cat > $RPM_BUILD_ROOT/etc/X11/wmconfig/Eterm <<EOF
Eterm name "Eterm"
Eterm description "A featureful, themeable X11 terminal emulator."
Eterm exec "Eterm &"
Eterm group Utilities/Shells
chmod 0644 $RPM_BUILD_ROOT/etc/X11/wmconfig/Eterm
make prefix=$RPM_BUILD_ROOT%{prefix} install
mv .%{prefix}/bin/Eterm .%{prefix}/bin/Eterm-%{ver}
cd $RPM_BUILD_ROOT%{prefix}/bin
ln -sf Eterm-%{ver} Eterm
chmod +x .%{prefix}/lib/lib*so* ||:
# Stripped binaries suck for debugging. -- mej
#strip -s $RPM_BUILD_ROOT%{prefix}/bin/* || :
gzip $RPM_BUILD_ROOT%{prefix}/man/man1/*
(cd $RPM_BUILD_ROOT%{prefix}/share/Eterm/pix/ ; \
for i in tiled-pixmaps.list scaled-pixmaps.list pixmaps.list ; do \
mv $i $i.base ; done)
tar -zxvf %{SOURCE1}
make -C bg all
make -C bg prefix=$RPM_BUILD_ROOT%{prefix} install
#get the package listing for Eterm-backgrounds
echo "%defattr(-,root,root)" > rpm-Eterm-bg-files
cat > rpm-Eterm-bg-files <<EOF
find ./bg/ -type f -not -name '*.list' -not -name 'Makefile*' \
-not -name 'README*' -not -name 014.jpg \
-not -name 40.jpg -not -name blackstone.jpg -not -name backwave.jpg \
-not -name circuit.jpg -not -name nebula.jpg \
-not -name fourthday.jpg -not -name gaia.jpg \
-not -name galleon.jpg -not -name night_of_the_dragon.jpg \
| sed "s#^\./bg/[scati]*le#%{prefix}/share/Eterm/pix#g" >> rpm-Eterm-bg-files
for i in tiled-pixmaps.list scaled-pixmaps.list pixmaps.list ; do \
mv -f %{prefix}/share/Eterm/pix/$i.base %{prefix}/share/Eterm/pix/$i ; done
for i in tiled-pixmaps.list scaled-pixmaps.list pixmaps.list ; do \
rm -f %{prefix}/share/Eterm/pix/$i* ; done
%pre backgrounds
for i in tiled-pixmaps.list scaled-pixmaps.list pixmaps.list ; do \
mv -f %{prefix}/share/Eterm/pix/$i %{prefix}/share/Eterm/pix/$i.base ; done
%postun backgrounds
for i in tiled-pixmaps.list scaled-pixmaps.list pixmaps.list ; do \
mv -f %{prefix}/share/Eterm/pix/$i.base %{prefix}/share/Eterm/pix/$i ; done
%doc doc/Eterm_reference.html doc/Eterm.1.html
%config(missingok) %{prefix}/share/Eterm/pix/*.list.base
%dir %{prefix}/share/Eterm
%dir %{prefix}/share/Eterm/pix
%files backgrounds -f rpm-Eterm-bg-files
* Fri Dec 10 1999 Michael Jennings <>
- Added Tim's spec file to CVS as 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
* 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