]> git.pld-linux.org Git - packages/e16.git/blobdiff - e16.spec
- added -pl patch, updated -conf-g* patch
[packages/e16.git] / e16.spec
index 37db41a481d775b1cd38f4bd89f00854c4c8335b..0ea26800eac802081139627d8179ffef889b596d 100644 (file)
--- a/e16.spec
+++ b/e16.spec
@@ -1,19 +1,28 @@
+# TODO:
+#      - fix attempts to use bogus path (differentiate absolute and relative
+#        pathnames)
+#      - fix applnk submenu handling (for Ra)
+#      - use the translated (locale dependent) script menu generating (???)
+#
 Summary:       Enlightenment Window Manager
-Summary(pl):   X Window menad¿er - Enlightenment
+Summary(pl):   Zarz±dca okien X - Enlightenment
 Name:          enlightenment
-Version:       0.16.5
-Release:       5
+Version:       0.16.6
+Release:       2
 License:       GPL
 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: fa1b5f062cd2ba005eb555c358450deb
 Source1:       %{name}.desktop
 Source2:       %{name}.RunWM
 Source3:       %{name}.wm_style
+Source4:       %{name}-xsession.desktop
 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/
+Patch4:                %{name}-pl.patch
+URL:           http://enlightenment.org/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: esound-devel >= 0.2.13
@@ -32,18 +41,16 @@ BuildRequires:      zlib-devel
 Requires:      xinitrc >= 3.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
-%define                _wmpropsdir     %{_datadir}/wm-properties
+%define                _wmpropsdir     /usr/share/wm-properties
 %define                _sysconfdir     /etc/X11/enlightenment
 
 %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 Linuksa ;)
+Enlightenment jest najpotê¿niejszym i najpiêkniejszym zarz±dc± okien
+jaki kiedykolwiek zosta³ stworzony dla Linuksa ;)
 
 %prep
 %setup  -q
@@ -53,11 +60,11 @@ window-menad
 %patch3 -p1
 
 %build
+rm -f missing
 %{__libtoolize}
 %{__gettextize}
-aclocal
+%{__aclocal}
 %{__autoconf}
-rm -f missing
 %{__automake}
 CFLAGS="-I%{_includedir}/freetype %{rpmcflags}"
 %configure \
@@ -67,16 +74,15 @@ CFLAGS="-I%{_includedir}/freetype %{rpmcflags}"
 
 %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 %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
 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 %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
 
 %find_lang %{name}
 
@@ -85,11 +91,14 @@ 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}/enlightenment
+%{_datadir}/enlightenment/[!s]*
+%attr(755,root,root) %{_datadir}/enlightenment/scripts
+%{_datadir}/xsessions/%{name}.desktop
 %{_wmpropsdir}/*
 %{_mandir}/man1/*
This page took 0.091875 seconds and 4 git commands to generate.