]> git.pld-linux.org Git - packages/WindowMaker.git/blobdiff - WindowMaker.spec
- use GNUSTEP_ROOT instead of GNUSTEP_LOCAL_ROOT
[packages/WindowMaker.git] / WindowMaker.spec
index 007b27f516ce74ecb2b0d26e44327797617abd1f..b217c765d67620433fbafbfa8f57969b6e650f93 100644 (file)
@@ -8,12 +8,12 @@ Summary(pt_BR):       Gerente de Janelas parecido com o NeXT
 Summary(ru):   WindowMaker - ÏËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X11
 Summary(uk):   WindowMaker - ×¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X11
 Name:          WindowMaker
-Version:       0.91.0
-Release:       6
+Version:       0.92.0
+Release:       0.1
 License:       GPL
 Group:         X11/Window Managers
 Source0:       ftp://ftp.windowmaker.org/pub/source/release/%{name}-%{version}.tar.gz
-# Source0-md5: be07953e905d1e42fe7a65ac2193a5f9
+# Source0-md5: 678cb4a9b22a557cfb524dc3cb457c08
 Source1:       %{name}-data.tar.gz
 # Source1-md5: 6ea0c37314ea9e9ab27e8bdf45a31a82
 Source2:       ftp://ftp.windowmaker.org/pub/source/release/%{name}-extra-%{extraver}.tar.gz
@@ -31,17 +31,18 @@ Patch7:             %{name}-dockit.patch
 Patch8:                %{name}-pl.po-update.patch
 Patch9:                http://www.heily.com/mark/code_samples/appicon_captions_maxprotect.diff
 Patch10:       %{name}-localenames.patch
-Patch11:       %{name}-updateIconImage.patch
+Patch11:       %{name}-0.91.0-translucency-1.patch
 URL:           http://www.windowmaker.org/
 BuildRequires: XFree86-devel
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: gettext-devel
-BuildRequires: libpng-devel >= 1.0.8
 BuildRequires: libjpeg-devel >= 6b
+BuildRequires: libpng-devel >= 1.0.8
 BuildRequires: libtiff-devel
 BuildRequires: libtool >= 1:1.4.2-9
 BuildRequires: libungif-devel
+BuildRequires: perl-base
 BuildRequires: xft-devel
 Requires:      %{name}-libs = %{version}-%{release}
 Requires:      cpp
@@ -239,6 +240,9 @@ mv -f po/{no,nb}.po
 %{__perl} -pi -e 's/test \$x86 = 1/false/' configure.ac
 
 %build
+%ifarch %{x8664}
+export ac_cv_c_inline_asm=no
+%endif
 %{__libtoolize}
 %{__aclocal}
 %{__autoheader}
@@ -251,7 +255,7 @@ cd %{name}-extra-%{extraver}
        %{__automake}
 cd ..
 
-perl -pi -e 's/defaultAppIcon.#extension#;SharedAppIcon = Yes;/defaultAppIcon.#extension#;/' \
+%{__perl} -pi -e 's/defaultAppIcon.#extension#;SharedAppIcon = Yes;/defaultAppIcon.#extension#;/' \
        WindowMaker/Defaults/WMWindowAttributes.in
 
 %configure \
@@ -264,7 +268,12 @@ perl -pi -e 's/defaultAppIcon.#extension#;SharedAppIcon = Yes;/defaultAppIcon.#e
        --enable-static \
        --enable-usermenu \
        --with-appspath=%{_libdir}/GNUstep/Apps \
-       --with-nlsdir=%{_datadir}/locale
+       --with-nlsdir=%{_datadir}/locale \
+       --with-gnustepdir=%{_libdir}/GNUstep \
+       --enable-sound \
+       --enable-gnome \
+       --enable-kde
+
 
 touch WindowMaker/Defaults/W*.in
 
@@ -315,7 +324,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
 
 %dir %{_sysconfdir}/WindowMaker
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/WindowMaker/*
 
 %{_mandir}/man1/*
 %lang(sk) %{_mandir}/sk/man1/*
@@ -346,15 +355,15 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/xsessions/WindowMaker.desktop
 
 # the first one is shared with gnustep-make...
-%dir %{_libdir}/GNUstep/Apps
-%dir %{_libdir}/GNUstep/Apps/WPrefs.app
+%dir %{_libdir}/GNUstep/Applications
+%dir %{_libdir}/GNUstep/Applications/WPrefs.app
 
-%attr(755,root,root) %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs
+%attr(755,root,root) %{_libdir}/GNUstep/Applications/WPrefs.app/WPrefs
 
-%{_libdir}/GNUstep/Apps/WPrefs.app/tiff
-%{_libdir}/GNUstep/Apps/WPrefs.app/xpm
-%{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs.tiff
-%{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs.xpm
+%{_libdir}/GNUstep/Applications/WPrefs.app/tiff
+%{_libdir}/GNUstep/Applications/WPrefs.app/xpm
+%{_libdir}/GNUstep/Applications/WPrefs.app/WPrefs.tiff
+%{_libdir}/GNUstep/Applications/WPrefs.app/WPrefs.xpm
 
 %files libs
 %defattr(644,root,root,755)
This page took 0.075968 seconds and 4 git commands to generate.