]> git.pld-linux.org Git - packages/Eterm.git/blob - Eterm.spec
- perl -pi -e "s/^automake -a -c$/automake -a -c -f/"
[packages/Eterm.git] / Eterm.spec
1 Summary:        Terminal for Enlightenment
2 Summary(pl):    Terminal dla Enlightenmenta
3 Name:           Eterm
4 Version:        0.9.1
5 Release:        4
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://www.eterm.org/download/Eterm-0.9.1.tar.gz        
9 Source1:        http://www.eterm.org/download/Eterm-bg-0.9.1.tar.gz     
10 Source2:        %{name}.desktop
11 Patch0:         %{name}-am_fix.patch
12 URL:            http://www.eterm.org/
13 BuildRequires:  imlib2-devel >= 1.0.3
14 BuildRequires:  libast-devel
15 BuildRequires:  libltdl-devel
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  libtool
19 BuildRequires:  ncurses
20 # for /usr/bin/tic
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _terminfodir    /usr/share/terminfo
24 %define         _prefix         /usr/X11R6
25 %define         _mandir         %{_prefix}/man
26
27 %description
28 Eterm is a color vt102 terminal emulator intended as an xterm(1)
29 replacement for users who want a term program integrated with
30 Enlightenment, or simply want a little more "eye candy". Eterm uses
31 Imlib for advanced graphic abilities.
32
33 %description -l pl
34 Eterm jest kolorowym emulatorem terminala vt102 mogacym byæ
35 zamiennikiem xterm(1) dla u¿ytkowników chc±cych mieæ program
36 terminalowy zintegrowany z zarz±dc± okienek o nazwie Enlightenment lub
37 dla tych którzy chc± mieæ trochê bardziej urozmaicony wygl±d tego typu
38 programu. Eterm u¿ywa biblioteki IMlib do zaawansowanego operowania na
39 grafice.
40
41 %prep
42 %setup -q -a1
43 %patch0 -p1
44
45 %build
46 rm -f missing
47 libtoolize --copy --force
48 aclocal
49 autoconf
50 automake -a -c -f
51 %configure \
52         --with-delete="\033[3~" \
53         --disable-static \
54         --enable-shared \
55         --disable-stack-trace \
56         --without-debugging \
57 %ifarch i686 athlon
58         --enable-mmx
59 %else
60         --disable-mmx
61 %endif
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_mandir},%{_applnkdir}/Terminals,%{_terminfodir}}
67
68 %{__make} install DESTDIR=$RPM_BUILD_ROOT
69
70 (cd doc; /usr/bin/tic -o $RPM_BUILD_ROOT%{_terminfodir} Eterm.ti)
71
72 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Terminals
73
74 gzip -9nf ReleaseNotes* ChangeLog
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %files
83 %defattr(644,root,root,755)
84 %doc doc/*.html *.gz
85 %attr(2755,root,utmp) %{_bindir}/Eterm
86 %attr(755,root,root) %{_bindir}/Esetroot
87 %attr(755,root,root) %{_bindir}/Etbg
88 %attr(755,root,root) %{_bindir}/Etcolors
89 %attr(755,root,root) %{_bindir}/Ettable
90 %attr(755,root,root) %{_libdir}/lib*.so
91 %{_mandir}/man1/*
92 %{_datadir}/Eterm
93 %{_applnkdir}/Terminals/*
94 %{_terminfodir}/*/*
This page took 0.056197 seconds and 3 git commands to generate.