1 Summary: Enlightenment Window Manager
2 Summary(pl): Zarz±dca okien X - Enlightenment
7 Group: X11/Window Managers
8 Source0: http://dl.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
9 # Source0-md5: 1439839c3023914a62f8254cc31085fc
10 # Source0-size: 1791137
11 Source1: %{name}.desktop
12 Source2: %{name}-xsession.desktop
13 Source3: %{name}-winter.etheme.i18n
14 Source4: %{name}-e_gen_menu
15 Source5: %{name}-e_check_menu
16 Patch0: %{name}-edirconf.patch
17 Patch1: %{name}-ac_am_fixes.patch
18 Patch2: %{name}-pl.patch
19 Patch3: %{name}-no_eng_config.patch
20 Patch4: %{name}-check_menus.patch
21 URL: http://enlightenment.org/
22 BuildRequires: XFree86
23 BuildRequires: autoconf
24 BuildRequires: automake
25 BuildRequires: esound-devel >= 0.2.13
26 BuildRequires: fnlib-devel
27 BuildRequires: freetype-devel
28 BuildRequires: gettext-devel
29 BuildRequires: gtk+-devel >= 1.2.1
31 BuildRequires: imlib2-devel
32 BuildRequires: libghttp-devel
33 BuildRequires: libjpeg-devel
34 BuildRequires: libpng >= 1.0.8
35 BuildRequires: libtiff-devel
36 BuildRequires: libtool
37 BuildRequires: libungif-devel
38 BuildRequires: zlib-devel
39 Requires: vfmg >= 0.9.18-4
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 %define _wmpropsdir /usr/share/wm-properties
44 %define _sysconfdir /etc/X11/enlightenment
47 Enlightenment is a Windowmanager for X Window that is designed to be
48 powerful, extensible, configurable and able to be really good looking.
51 Enlightenment jest najpotê¿niejszym i najpiêkniejszym zarz±dc± okien
52 jaki kiedykolwiek zosta³ stworzony dla Linuksa ;)
59 # tar-gziped text files !?!
61 for LANG_FILE in ja ko pl; do
64 tar -zxvf ../config.$LANG_FILE
69 for FILE in actionclasses.cfg keybindings.cfg keybindings.gmc.cfg \
70 keybindings.nogmc.cfg menus.cfg; do
71 iconv -f EUC-JP -t UTF-8 config/ja/$FILE.ja > \
72 config/ja/$FILE.ja_JP.UTF-8
73 iconv -f EUC-KR -t UTF-8 config/ko/$FILE.ko > \
74 config/ko/$FILE.ko_KR.UTF-8
75 iconv -f ISO-8859-2 -t UTF-8 config/pl/$FILE.pl > \
76 config/pl/$FILE.pl_PL.UTF-8
77 done # it helps, but UTF-8 still isn't working correctly
82 cp %{SOURCE3} themes/winter.etheme.i18n
92 export LOCALEDIR=%{_datadir}/locale
96 # regenerate gmo files
101 rm -rf $RPM_BUILD_ROOT
102 install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_wmpropsdir},/etc/sysconfig/wmstyle}
105 DESTDIR=$RPM_BUILD_ROOT
107 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
108 install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
109 install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/enlightenment/scripts/e_gen_menu
110 install %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/enlightenment/scripts/e_check_menu
112 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/enlightenment/X11
117 rm -rf $RPM_BUILD_ROOT
119 %files -f %{name}.lang
120 %defattr(644,root,root,755)
121 %doc AUTHORS README NEWS
122 %config %{_sysconfdir}
123 %attr(755,root,root) %{_bindir}/*
124 %dir %{_datadir}/enlightenment
125 %{_datadir}/enlightenment/[!s]*
126 %attr(755,root,root) %{_datadir}/enlightenment/scripts
127 %{_datadir}/xsessions/%{name}.desktop