%define name enlightenment %define bin_name e16 %define theme_version 1.0.3 %define doc_version 0.16.8.0.2 %define version 1.0.29 %define Name Enlightenment %define Summary The Enlightenment window manager Name: %{name} Version: %{version} Release: 1 Summary: %{Summary} License: e16 and GPLv2+ Group: Graphical desktop/Enlightenment BuildRequires: pulseaudio-devel BuildRequires: pkgconfig(freetype2) BuildRequires: imlib2-devel BuildRequires: x11-data-bitmaps BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xxf86vm) BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(xft) BuildRequires: pkgconfig(xrandr) BuildRequires: texinfo BuildRequires: imagemagick Source0: http://prdownloads.sourceforge.net/enlightenment/%{bin_name}-%{version}.tar.gz Source1: http://prdownloads.sourceforge.net/enlightenment/%{bin_name}-docs-%{doc_version}.tar.gz Source2: http://prdownloads.sourceforge.net/enlightenment/%{bin_name}-themes-%{theme_version}.tar.gz Source7: %{name}.png # this overrides some themes' *.cfg files with other slightly modified to # use fontsets, and so be able to display text in any language # the files inside that tarball may need to be modified or new added if the # themes' files from the Enlightenment sources change -- pablo Source8: %{name}-0.16.5-themes-i18n.tar.bz2 Requires: imagemagick >= 4.2.9 Provides: e16 Enlightenment URL: http://www.enlightenment.org/ %description Enlightenment is a window manager for the X Window System that is designed to be powerful, extensible, configurable and pretty darned good looking! It is one of the more graphically intense window managers. Enlightenment goes beyond managing windows by providing a useful and appealing graphical shell from which to work. It is open in design and instead of dictating a policy, allows the user to define their own policy, down to every last detail. This package will install the Enlightenment window manager. %prep %setup -q -n %bin_name-%version -a 1 -a 2 %build %configure2_5x --enable-fsstd \ --enable-sound \ --enable-upgrade \ --enable-zoom cd %{bin_name}-themes-%{theme_version} ./configure --prefix=%{_prefix} cd .. cd %{bin_name}-docs-%{doc_version} ./configure --prefix=%{_prefix} cd .. %make %install rm -rf %{buildroot} ##build will fail if not done in this manner--CAE## %makeinstall_std # Install icons install -d 644 %{buildroot}%{_miconsdir} install -d 644 %{buildroot}%{_iconsdir} install -d 644 %{buildroot}%{_liconsdir} install -m 644 %SOURCE7 %{buildroot}%{_miconsdir} #convert %SOURCE7 -geometry 32x32 %{buildroot}%{_iconsdir}/%{name}.png #convert %SOURCE7 -geometry 48x48 %{buildroot}%{_liconsdir}/%{name}.png rm -f %{buildroot}%{_datadir}/applications/*.desktop mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/mandriva-%{name}.desktop << EOF [Desktop Entry] Name=%{Name} Comment=%{Summary} Exec=%{_bindir}/%{bin_name} Icon=%{name} Terminal=false Type=Applications Categories=X-MandrivaLinux-System-Session-Windowmanagers; EOF install -d 644 %{buildroot}%{_sysconfdir}/X11/wmsession.d cat >%{buildroot}%{_sysconfdir}/X11/wmsession.d/04enlightenment <