A new user interface for you! Read more...

File eterm.spec of Package eterm

Name:       eterm
Version:    0.9.6
Release:    1
Summary:    Enlightened terminal emulator
License:    BSD
Group:      System/X11/Utilities
URL:        http://www.eterm.org/
Source0:    http://www.eterm.org/download/Eterm-%{version}.tar.gz
Source1:    http://www.eterm.org/download/Eterm-bg-%{version}.tar.gz
# terminal.png from Tango Icon Theme
Source2:    eterm.png

BuildRequires: libast2-devel
BuildRequires:  xorg-x11-devel xorg-x11-proto-devel
BuildRequires:  pkgconfig autoconf automake libtool
#XXX: make suse_update_desktop_file happy?
BuildRequires:  tango-icon-theme
%if %{defined suse_version}
BuildRequires: update-desktop-files
%endif

BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%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 -q -a 1 -n Eterm-%{version}

%build
%{configure} \
    --enable-etwin \
    --enable-escreen-fx \
    --enable-trans \
    --enable-mutl-charset

%{__make} %{?mflags}

%install

%{makeinstall}

%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/applications
cat > $RPM_BUILD_ROOT%{_datadir}/applications/Eterm.desktop <<EOF
[Desktop Entry]
Name=Eterm
GenericName=Terminal
Type=Application
Exec=Eterm
Icon=eterm
Terminal=false
Categories=System;TerminalEmulator;
EOF
chmod 0644 $RPM_BUILD_ROOT%{_datadir}/applications/Eterm.desktop

install -d -m 0755 %{buildroot}%{_datadir}/pixmaps
install -m 0644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps

%if %{defined suse_version}
%suse_update_desktop_file  Eterm 
%endif

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc doc/Eterm_reference.html doc/Eterm.1.html doc/Eterm.tcap doc/Eterm.ti doc/README.Escreen
%doc LICENSE README ReleaseNotes ReleaseNotes.1 ChangeLog
%{_bindir}/*E*
%{_libdir}/libEterm*
%{_mandir}/man1/*
%{_datadir}/Eterm
%{_datadir}/applications/Eterm.desktop
%{_datadir}/pixmaps/%{name}.png


%changelog