]> git.pld-linux.org Git - packages/enlightenment.git/blobdiff - enlightenment.spec
- changed %%{!?debug:...}%%{?debug...} to %%{?debug:...}%%{!?debug...}
[packages/enlightenment.git] / enlightenment.spec
index f3835d234da39fd7c0c3c4d15c13ed616cbf7020..9eb1a9859ea3048b97acc340bdd7fa7236c68127 100644 (file)
@@ -1,84 +1,88 @@
 Summary:       Enlightenment Window Manager
 Summary(pl):   X Window menad¿er - Enlightenment  
 Name:          enlightenment
-Version:       0.15.5
+Version:       0.16.5
 Release:       1
-Copyright:     GPL
+License:       GPL
 Group:         X11/Window Managers
-Group(pl):     X11/Zarz±dcy okien
-Source:                ftp://www.rasterman.com/pub/enlightenment/%{name}-%{version}.tar.gz
-URL:           http://www.rasterman.com/
-Requires:      glib = 1.2.1
-Requires:      gtk+ = 1.2.1
-BuildRoot:     /tmp/%{name}-%{version}-root
+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 \
+gettextize --copy --force
+CFLAGS="-I%{_includedir}/freetype %{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS}"
+%configure \
        --enable-fsstd \
        --enable-sound
 
-make configdatadir=/etc/X11/enlightenment
+%{__make} configdatadir=%{_sysconfdir}/X11/enlightenment
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/X11R6/bin
+install -d $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties \
+       $RPM_BUILD_ROOT/etc/sysconfig/wmstyle
 
-make install \
+%{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       configdatadir=/etc/X11/enlightenment
+       configdatadir=%{_sysconfdir}/X11/enlightenment
 
-gzip -9nf AUTHORS README NEWS 
+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
+
+gzip -9nf AUTHORS README NEWS \
+
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc {AUTHORS,README,NEWS}.gz
-%attr(755,root,root) /usr/X11R6/bin/*
-/usr/X11R6/share/enlightenment
-
-%dir /etc/X11/enlightenment
-%config /etc/X11/enlightenment/*
-
-%changelog
-* Sun Mar 21 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.15.4-4]
-- aadded --enable-fsstd to ./configure parameters,
-- gzipping %doc (instead bzipping2),
-- config files moved to /etc/X11/enlightenment,
-- removed Requires (autogenerate).
-
-* Sat Feb  6 1999 Micha³ Kuratczyk <kurkens@polbox.com>
-  [0.15.0-3d]
-- added %config macros
-- changed Group to X11/Window Managers
-- changed BuildRoot to /tmp/buildroot-%%{name}-%%{version}
-
-* Fri Feb 05 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-  [0.15.0-2.1d]
-- updated to latest snapshoot,
-- added Require: stringlist, Gtk-prel.
-
-* Mon Jul 20 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-  [0.14-2d]
-- build against glibc-2.1,
-- translation modified for pl,
-- added Require: Gtk-perl,
-- minor modifications of spec file.
-
-* Tue Jun 2 1998 The Rasterman <raster@redhat.com>
-- wrote .spec file
+%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.108003 seconds and 4 git commands to generate.