]> git.pld-linux.org Git - packages/enlightenment.git/blobdiff - enlightenment.spec
- updated to 0.16.8.1, not tested
[packages/enlightenment.git] / enlightenment.spec
index 02ed8d6ae1039dd0644ba08e3d177a255c6f7c63..ee0933ca963e669234b4fa79c129f771adbb9f25 100644 (file)
 Summary:       Enlightenment Window Manager
-Summary(pl):   X Window menad¿er - Enlightenment
-Name:          enlightenment
-Version:       0.16.5
-Release:       5
-License:       GPL
+Summary(pl):   Zarz±dca okien X - Enlightenment
+Summary(de):   Enlightenment ist ein Window Manager für X
+Name:          e16
+Version:       0.16.8.1
+Release:       0.1
+License:       BSD
 Group:         X11/Window Managers
-Source0:       ftp://ftp.enlightenment.org/pub/enlightenment/enlightenment/%{name}-%{version}.tar.gz
+Source0:       http://dl.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
+# Source0-md5: 0ff909ae575f805160676a853adff9a0
 Source1:       %{name}.desktop
-Source2:       %{name}.RunWM
-Source3:       %{name}.wm_style
-Patch0:                %{name}-config-path.patch
-Patch1:                %{name}-makefile_fix.patch
-Patch2:                %{name}-ac_am_fixes.patch
-Patch3:                %{name}-use_sys_snprintf.patch
-URL:           http://www.enlightenment.org/
+Source2:       %{name}-xsession.desktop
+Source3:       %{name}-e_gen_menu
+Source4:       %{name}-e_check_menu
+Patch0:                %{name}-edirconf.patch
+Patch1:                %{name}-ac_am_fixes.patch
+Patch2:                %{name}-pl.patch
+Patch3:                %{name}-check_menus.patch
+Patch4:                %{name}-winter-i18n.patch
+URL:           http://enlightenment.org/
+BuildRequires: XFree86
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: esound-devel >= 0.2.13
+BuildRequires: esound-devel >= 0.2.17
 BuildRequires: fnlib-devel
-BuildRequires: freetype1-devel
+BuildRequires: freetype-devel
 BuildRequires: gettext-devel
+BuildRequires: giflib-devel
 BuildRequires: gtk+-devel >= 1.2.1
-BuildRequires: imlib-devel >= 1.9.8
+BuildRequires: iconv
+BuildRequires: imlib2-devel >= 1.2.2
 BuildRequires: libghttp-devel
 BuildRequires: libjpeg-devel
 BuildRequires: libpng >= 1.0.8
 BuildRequires: libtiff-devel
 BuildRequires: libtool
-BuildRequires: libungif-devel
 BuildRequires: zlib-devel
-Requires:      xinitrc >= 3.0
+Requires:      ImageMagick-coder-png
+Requires:      vfmg >= 0.9.95
+Requires:      xinitrc-ng
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
-%define                _wmpropsdir     %{_datadir}/wm-properties
-%define                _sysconfdir     /etc/X11/enlightenment
+%define                _wmpropsdir     /usr/share/wm-properties
+%define                _sysconfdir     /etc/X11/%{name}
 
 %description
-Enlightenment is a Windowmanager for X-Windows that is designed to be
+Enlightenment is a Windowmanager for X Window that is designed to be
 powerful, extensible, configurable and able to be really good looking.
 
 %description -l pl
-Enlightenment jest najpotê¿niejszym i najpiêkniejszym
-window-menad¿erem jaki kiedykolwiek zosta³ stworzony dla Linuxa ;)
+Enlightenment jest najpotê¿niejszym i najpiêkniejszym zarz±dc± okien
+jaki kiedykolwiek zosta³ stworzony dla Linuksa ;)
+
+%description -l de
+Enlightenment ist ein Window Manager für X. Sein Designziel ist es, so
+konfigurierbar wie nur möglich in den Bereichen Aussehen und Bedienung
+zu sein. Das derzeitige Design von Enlightenment steuert darauf hin,
+ein "vernünftiger" Desktop zu werden, das bedeutet, es verwaltet
+Anwendungsfenster, zudem wird in der Lage sein, Anwendungen zu starten
+und Dateien zu verwalten.
 
 %prep
-%setup  -q
+%setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
+#%%patch2 -p1  XXX: needs update
 %patch3 -p1
+mkdir themes/winter
+tar -C themes/winter -zxf themes/winter.etheme
+%patch4 -p1
+rm themes/winter/fonts.cfg.*
+
+mv -f po/{no,nb}.po
+rm po/*.gmo
 
 %build
-libtoolize --copy --force
-gettextize --copy --force
-aclocal
-autoconf
 rm -f missing
-automake -a -c -f
-CFLAGS="-I/usr/include/freetype1/freetype %{rpmcflags}"
+%{__libtoolize}
+%{__gettextize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+export LOCALEDIR=%{_datadir}/locale
 %configure \
        --enable-sound=yes
 
+# regenerate gmo files
+%{__make} -C po update-gmo
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_wmpropsdir},/etc/sysconfig/wmstyle}
+install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_wmpropsdir},/etc/sysconfig/wmstyle}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
-install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
-
-gzip -9nf AUTHORS README NEWS
+install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
+install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/%{name}/scripts/e_gen_menu
+install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/%{name}/scripts/e_check_menu
 
 %find_lang %{name}
 
@@ -85,11 +108,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS README NEWS
 %config %{_sysconfdir}
-%attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
-/etc/sysconfig/wmstyle/*.names
 %attr(755,root,root) %{_bindir}/*
-%{_datadir}/enlightenment
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/[!s]*
+%dir %{_datadir}/%{name}/scripts
+%attr(755,root,root) %{_datadir}/%{name}/scripts/*
+%{_datadir}/xsessions/%{name}.desktop
 %{_wmpropsdir}/*
-%{_mandir}/man1/*
This page took 0.078456 seconds and 4 git commands to generate.