]> git.pld-linux.org Git - packages/WindowMaker.git/blobdiff - WindowMaker.spec
- adapterized (sorted %verify attrs)
[packages/WindowMaker.git] / WindowMaker.spec
index 506e76186f27700e78f966ab419ca763fa11c5f6..b217c765d67620433fbafbfa8f57969b6e650f93 100644 (file)
@@ -8,13 +8,13 @@ Summary(pt_BR):       Gerente de Janelas parecido com o NeXT
 Summary(ru):   WindowMaker - ÏËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X11
 Summary(uk):   WindowMaker - ×¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X11
 Name:          WindowMaker
-Version:       0.90.0
-Release:       0.4
+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: 38b7b146fb866269f3541b87c170f529
-Source1:       ftp://windowmaker.org/pub/%{name}-data.tar.gz
+# Source0-md5: 678cb4a9b22a557cfb524dc3cb457c08
+Source1:       %{name}-data.tar.gz
 # Source1-md5: 6ea0c37314ea9e9ab27e8bdf45a31a82
 Source2:       ftp://ftp.windowmaker.org/pub/source/release/%{name}-extra-%{extraver}.tar.gz
 # Source2-md5: 07c7700daaaf232bc490f5abaabef085
@@ -31,19 +31,22 @@ 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}-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
+Requires:      gnustep-dirs
 Requires:      tk
 Requires:      vfmg
 Requires:      xinitrc-ng
@@ -138,7 +141,7 @@ zarz
 
 %package devel
 Summary:       WindowMaker libraries - development part
-Summary(es):   Bibliotecas, archivos de inclusión, e etc. para desarrollar aplicaciones WindowMaker
+Summary(es):   Bibliotecas y archivos de inclusión para WindowMaker
 Summary(fr):   Librairies de WindowMaker
 Summary(pl):   Biblioteki WindowMakera - czê¶æ dla programistów
 Summary(pt_BR):        Arquivos de inclusão e bibliotecas para o WindowMaker
@@ -221,6 +224,7 @@ utilizando componentes est
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
+%patch11 -p1
 
 for f in WindowMaker/*menu*; do
        sed -i s,/usr/lib/GNUstep/,%{_libdir}/GNUstep/, $f
@@ -236,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}
@@ -248,23 +255,25 @@ 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 \
        CPP_PATH="/lib/cpp" \
        LINGUAS="bg cs da de el es et fi fr gl hr hu it ja ko ms nb nl pl pt ro ru \
                 sk sv tr zh_CN zh_TW" \
-       --disable-rpath \
-       --with-nlsdir=%{_datadir}/locale \
-       --with-appspath=%{_libdir}/GNUstep/Apps \
-       --enable-sound \
-       --enable-gnome \
        --disable-debug \
-       --enable-kde \
+       --disable-rpath \
        --enable-shared \
        --enable-static \
        --enable-usermenu \
+       --with-appspath=%{_libdir}/GNUstep/Apps \
+       --with-nlsdir=%{_datadir}/locale \
+       --with-gnustepdir=%{_libdir}/GNUstep \
+       --enable-sound \
+       --enable-gnome \
+       --enable-kde
+
 
 touch WindowMaker/Defaults/W*.in
 
@@ -281,7 +290,8 @@ cd %{name}-extra-%{extraver}
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_pixmapsdir},%{_wmpropsdir}} \
-       $RPM_BUILD_ROOT/etc/sysconfig/wmstyle
+       $RPM_BUILD_ROOT/etc/sysconfig/wmstyle \
+       $RPM_BUILD_ROOT%{_datadir}/WindowMaker/{Sounds,SoundSets}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -306,7 +316,7 @@ cd ..
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   libs -p /sbin/ldconfig
+%post  libs -p /sbin/ldconfig
 %postun libs -p /sbin/ldconfig
 
 %files -f %{name}.lang
@@ -314,8 +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,16 +355,15 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/xsessions/WindowMaker.desktop
 
 # the first one is shared with gnustep-make...
-%dir %{_libdir}/GNUstep
-%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.036978 seconds and 4 git commands to generate.