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: 78747d34f882676eafe26eef22a448be
10 Source1: %{name}.desktop
11 Source2: %{name}-xsession.desktop
12 Source4: %{name}-e_gen_menu
13 Source5: %{name}-e_check_menu
14 Patch0: %{name}-edirconf.patch
15 Patch1: %{name}-ac_am_fixes.patch
16 Patch2: %{name}-pl.patch
17 Patch3: %{name}-no_eng_config.patch
18 Patch4: %{name}-check_menus.patch
19 Patch5: %{name}-winter-i18n.patch
20 URL: http://enlightenment.org/
21 BuildRequires: XFree86
22 BuildRequires: autoconf
23 BuildRequires: automake
24 BuildRequires: esound-devel >= 0.2.13
25 BuildRequires: fnlib-devel
26 BuildRequires: freetype-devel
27 BuildRequires: gettext-devel
28 BuildRequires: gtk+-devel >= 1.2.1
30 BuildRequires: imlib2-devel
31 BuildRequires: libghttp-devel
32 BuildRequires: libjpeg-devel
33 BuildRequires: libpng >= 1.0.8
34 BuildRequires: libtiff-devel
35 BuildRequires: libtool
36 BuildRequires: libungif-devel
37 BuildRequires: zlib-devel
38 Requires: ImageMagick-coder-png
39 Requires: vfmg >= 0.9.18-10
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
71 tar -zxf ../winter.etheme
75 for FILE in actionclasses.cfg keybindings.cfg keybindings.gmc.cfg \
76 keybindings.nogmc.cfg menus.cfg; do
77 iconv -f EUC-JP -t UTF-8 config/ja/$FILE.ja > \
78 config/ja/$FILE.ja_JP.UTF-8
79 iconv -f EUC-KR -t UTF-8 config/ko/$FILE.ko > \
80 config/ko/$FILE.ko_KR.UTF-8
81 iconv -f ISO-8859-2 -t UTF-8 config/pl/$FILE.pl > \
82 config/pl/$FILE.pl_PL.UTF-8
83 done # it helps, but UTF-8 still isn't working correctly
96 export LOCALEDIR=%{_datadir}/locale
100 # regenerate gmo files
101 %{__make} -C po update-gmo
105 rm -rf $RPM_BUILD_ROOT
106 install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_wmpropsdir},/etc/sysconfig/wmstyle}
109 DESTDIR=$RPM_BUILD_ROOT
111 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
112 install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
113 install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/enlightenment/scripts/e_gen_menu
114 install %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/enlightenment/scripts/e_check_menu
116 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/enlightenment/X11
121 rm -rf $RPM_BUILD_ROOT
123 %files -f %{name}.lang
124 %defattr(644,root,root,755)
125 %doc AUTHORS README NEWS
126 %config %{_sysconfdir}
127 %attr(755,root,root) %{_bindir}/*
128 %dir %{_datadir}/enlightenment
129 %{_datadir}/enlightenment/[!s]*
130 %attr(755,root,root) %{_datadir}/enlightenment/scripts
131 %{_datadir}/xsessions/%{name}.desktop