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