]> git.pld-linux.org Git - packages/enlightenment.git/blobdiff - enlightenment.spec
Massive attack. We use -O0 instead -O flags while debug enabled.
[packages/enlightenment.git] / enlightenment.spec
index 3af62a2256e4f1962aaf62278264bc184aa5d0b1..1a50f682a51de1fca584f5ca1b4787e40875f098 100644 (file)
@@ -1,64 +1,88 @@
-Summary:     Enlightenment Window Manager
-Summary(pl): X Window menad¿er - Enlightenment  
-Name:        enlightenment
-Version:     0.15.0
-Release:     1
-Copyright:   GPL
-Group:       X11/Applications
-Source:      ftp://www.rasterman.com/pub/enlightenment/%{name}-%{version}.tar.gz
-Patch0:      enlightenment-DESTDIR.patch
-Requires:    esound = 0.2.7, freetype = 1.2, fnlib = 0.4
-Requires:    imlib = 1.8.2, perl >= 5.005
-URL:         http://www.rasterman.com/
-BuildRoot:   /tmp/%{name}-%{version}-root
+Summary:       Enlightenment Window Manager
+Summary(pl):   X Window menad¿er - Enlightenment  
+Name:          enlightenment
+Version:       0.16.5
+Release:       1
+License:       GPL
+Group:         X11/Window Managers
+Group(de):     X11/Fenstermanager
+Group(es):     X11/Administraadores De Ventanas
+Group(fr):     X11/Gestionnaires De Fenêtres
+Group(pl):     X11/Zarz±dcy Okien
+Source0:       ftp://ftp.enlightenment.org/pub/enlightenment/enlightenment/%{name}-%{version}.tar.gz
+Source1:       %{name}.desktop
+Source2:       %{name}.RunWM
+Source3:       %{name}.wm_style
+Patch0:                %{name}-config-path.patch
+Patch1:                %{name}-makefile_fix.patch
+URL:           http://www.enlightenment.org/
+BuildRequires: gtk+-devel >= 1.2.1
+BuildRequires: esound-devel >= 0.2.13
+BuildRequires: imlib-devel >= 1.9.8
+BuildRequires: gettext-devel 
+BuildRequires: freetype-devel
+BuildRequires: libghttp-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libpng >= 1.0.8
+BuildRequires: libtiff-devel
+BuildRequires: libungif-devel
+BuildRequires: zlib-devel
+BuildRequires: fnlib-devel
+Requires:      xinitrc >= 3.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix         /usr/X11R6
 
 %description
 Enlightenment is a Windowmanager for X-Windows 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
+window-menad¿erem jaki kiedykolwiek zosta³ stworzony dla Linuxa ;)
 
 %prep
-%setup -q
+%setup  -q
 %patch0 -p1
+%patch1 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
-       --prefix=/usr/X11R6
-make
+gettextize --copy --force
+CFLAGS="-I%{_includedir}/freetype %{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}"
+%configure \
+       --enable-fsstd \
+       --enable-sound
+
+%{__make} configdatadir=%{_sysconfdir}/X11/enlightenment
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install
+install -d $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties \
+       $RPM_BUILD_ROOT/etc/sysconfig/wmstyle
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       configdatadir=%{_sysconfdir}/X11/enlightenment
 
-%files
-%defattr(644, root, root, 755)
-%doc AUTHORS README TODO NEWS
-%dir /usr/X11R6/enlightenment
-/usr/X11R6/enlightenment/E-docs
-%dir /usr/X11R6/enlightenment/bin
-%attr(755, root, root) /usr/X11R6/enlightenment/bin/*
-/usr/X11R6/enlightenment/config
-/usr/X11R6/enlightenment/themes
+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%{_datadir}/gnome/wm-properties
 
-%changelog
-* Tue Jan 05 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.15.0-1]
-- more Requires (fnlib = 0.4, imlib = 1.8.2, esound = 0.2.7,
-  freetype = 1.2),
-- updates in %files for 0.15.0,
-- added LDFLAGS="-s" to ./configure enviroment.
+gzip -9nf AUTHORS README NEWS \
 
-* Mon Jul 20 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-  [0.14-2]
-- added pl translation,
-- minor modifications of spec file.
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
 
-* Tue Jun 2 1998 The Rasterman <raster@redhat.com>
-- wrote .spec file
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc *.gz
+%dir %{_sysconfdir}/X11/enlightenment
+%config %{_sysconfdir}/X11/enlightenment/*
+%attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
+/etc/sysconfig/wmstyle/*.names
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/enlightenment
+%{_datadir}/gnome/wm-properties/*
+%{_mandir}/man1/*
This page took 0.098653 seconds and 4 git commands to generate.