]> git.pld-linux.org Git - packages/Eterm.git/blame - Eterm.spec
- added -ac_am.patch (fix build)
[packages/Eterm.git] / Eterm.spec
CommitLineData
539bf258
JB
1#
2# Conditional build:
3%bcond_with mmx # use MMX instructions
4%bcond_with sse2 # use SSE2 instructions
5#
6%ifarch athlon pentium3 pentium4
7%define with_mmx 1
8%endif
9%ifarch %{x8664}
10%define with_sse2 1
11%endif
1b7eb647 12Summary: Terminal for Enlightenment
3841e9b7
ER
13Summary(es.UTF-8): Terminal para Enlightenment
14Summary(pl.UTF-8): Terminal dla Enlightenmenta
15Summary(pt_BR.UTF-8): Eterm versão %{version}
1b7eb647 16Name: Eterm
f0e228a2 17Version: 0.9.4
18Release: 1
f0a4c421 19License: BSD
d741e9b6 20Group: X11/Applications
4a0a5145 21Source0: http://www.eterm.org/download/%{name}-%{version}.tar.gz
f0e228a2 22# Source0-md5: b8869ee9c9b9516231af9eefa595cee3
4a0a5145 23Source1: http://www.eterm.org/download/%{name}-bg-%{version}.tar.gz
bf7b76ed 24# Source1-md5: e8c6567b13d7fb760bded56c1d1a181d
82b27967 25Source2: %{name}.desktop
e37f434c 26Source3: Escreen.desktop
a940a28c 27Source4: gnome-eterm.png
0f3b57e3 28Patch0: %{name}-am_fix.patch
f0e228a2 29Patch1: %{name}-keys-theme.patch
718ef34a 30Patch2: %{name}-ac_am.patch
29b19e8b 31URL: http://www.eterm.org/
bcd07044 32BuildRequires: autoconf >= 2.53
33BuildRequires: automake
f5b55de7 34BuildRequires: freetype1-devel
c96ccde2 35BuildRequires: imlib2-devel >= 1.0.3
f0e228a2 36BuildRequires: libast-devel >= 0.6
e6412aa5 37BuildRequires: libltdl-devel
8950b258 38BuildRequires: libtool
bcd07044 39BuildRequires: ncurses-devel
f5b55de7 40BuildRequires: pcre-devel
3cea4ab0 41BuildRequires: screen
13298b12 42BuildRequires: sed >= 4.0
852f8d8b 43BuildRequires: twin-devel
89635fda 44BuildRequires: utempter-devel
437f3e27 45BuildRequires: xorg-lib-libXt-devel
7203f59e 46BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
1b7eb647 47
48%description
a3b63636 49Eterm is a color vt102 terminal emulator intended as an xterm(1)
50replacement for users who want a term program integrated with
51Enlightenment, or simply want a little more "eye candy". Eterm uses
52Imlib for advanced graphic abilities.
1b7eb647 53
d0e7e2a0 54%description -l es.UTF-8
3f14d0b8 55Eterm es un emulador de terminal vt102 con soporte para colores,
56desarrollado como un sustituto para el emulador xterm, para los
57usuarios que deseen un emulador de terminal integrado con la
d0e7e2a0
JR
58iluminación, o simplemente deseen algo más agradable visualmente. El
59emulador Eterm usa Imlib para trabajar con gráficos.
83d71148 60
d0e7e2a0
JR
61%description -l pl.UTF-8
62Eterm jest kolorowym emulatorem terminala vt102 mogącym być
63zamiennikiem xterm(1) dla użytkowników chcących mieć program
64terminalowy zintegrowany z zarządcą okienek o nazwie Enlightenment lub
65dla tych którzy chcą mieć trochę bardziej urozmaicony wygląd tego typu
66programu. Eterm używa biblioteki IMlib do zaawansowanego operowania na
a3b63636 67grafice.
1b7eb647 68
d0e7e2a0
JR
69%description -l pt_BR.UTF-8
70O Eterm -- versão %{version} -- é um emulador de terminal vt102 com
4a0a5145 71suporte a cores, desenvolvido para ser um substituto para o xterm,
d0e7e2a0
JR
72para os usuários que queiram um emulador de terminal integrado com o
73Enlightenment, ou simplesmente queiram algo mais agradável para os
74olhos. O Eterm usa a Imlib para trabalhar com gráficos.
83d71148 75
66c39e52 76%package -n Esetroot
d3865349 77Summary: Utility to set root pixmap
3841e9b7 78Summary(pl.UTF-8): Aplikacja ustawiająca tło nadrzędnego okna
66c39e52 79Group: X11/Window Managers/Tools
80
81%description -n Esetroot
d3865349
JB
82This program enables non-Enlightenment users to use
83pseudotransparency.
66c39e52 84
d0e7e2a0
JR
85%description -n Esetroot -l pl.UTF-8
86Program ten umożliwia korzystanie z pseudoprzezroczystości
87użytkownikom zarządców okien innych niż Enlightenment.
66c39e52 88
1b7eb647 89%prep
c96ccde2 90%setup -q -a1
0f3b57e3 91%patch0 -p1
539bf258 92%patch1 -p1
718ef34a 93%patch2 -p1
bf7b76ed 94find themes/ -name "*.cfg*" -exec \
f0a4c421 95 sed -i 's/<Eterm-0\.9\..>/<Eterm-%{version}>/' "{}" ";"
1b7eb647 96
97%build
cfd6a2fe 98%{__libtoolize}
402a3740 99%{__aclocal}
94fe278e 100%{__autoconf}
101%{__automake}
29b19e8b 102%configure \
f0e228a2 103 --disable-static \
104 --enable-shared \
105 --enable-escreen \
106 --enable-etwin \
107 --enable-escreen-fx \
108 --enable-profile \
109 --enable-trans \
539bf258 110%if %{with mmx}
f0e228a2 111 --enable-mmx \
6e42be5c 112%else
f0e228a2 113 --disable-mmx \
6e42be5c 114%endif
539bf258 115%if %{with sse2}
f0e228a2 116 --enable-sse2 \
117%else
118 --disable-sse2 \
119%endif
120 --enable-utmp \
121 --enable-auto-encoding \
122 --enable-multi-charset \
123 --disable-stack-trace \
124 --enable-name-reporting-escapes \
125 --without-debugging
9f268f03 126%{__make}
1b7eb647 127
128%install
129rm -rf $RPM_BUILD_ROOT
a940a28c 130install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_mandir},%{_desktopdir},%{_pixmapsdir}}
1b7eb647 131
95e79c4b
PG
132%{__make} install \
133 DESTDIR=$RPM_BUILD_ROOT
1b7eb647 134
852f8d8b 135install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
e37f434c 136install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
a940a28c 137install %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir}
82b27967 138
1b7eb647 139%clean
140rm -rf $RPM_BUILD_ROOT
141
29b19e8b 142%post -p /sbin/ldconfig
143%postun -p /sbin/ldconfig
144
1b7eb647 145%files
a17e4fe0 146%defattr(644,root,root,755)
3a8a36df 147%doc doc/*.html ReleaseNotes* ChangeLog
89635fda 148%attr(755,root,root) %{_bindir}/Eterm
29b19e8b 149%attr(755,root,root) %{_bindir}/Etbg
c3f368bb 150%attr(755,root,root) %{_bindir}/Etcolors
151%attr(755,root,root) %{_bindir}/Ettable
7f1dea8d 152%attr(755,root,root) %{_bindir}/Etbg_update_list
153%attr(755,root,root) %{_bindir}/Etsearch
29b19e8b 154%attr(755,root,root) %{_libdir}/lib*.so
e2591c39 155%{_libdir}/lib*.la
abbae3f6 156%{_mandir}/man1/*
157%{_datadir}/Eterm
4d3b11ab 158%{_desktopdir}/*.desktop
a940a28c 159%{_pixmapsdir}/*
66c39e52 160
161%files -n Esetroot
a4a3bd5f 162%defattr(644,root,root,755)
66c39e52 163%attr(755,root,root) %{_bindir}/Esetroot
164%attr(755,root,root) %{_bindir}/kEsetroot
165
This page took 0.049608 seconds and 4 git commands to generate.