]> git.pld-linux.org Git - packages/WindowMaker.git/blobdiff - WindowMaker.spec
- BR: perl-base
[packages/WindowMaker.git] / WindowMaker.spec
index 9564c457ceb64bfda8734f4f57d274916204cf65..32742ff335a1bdd69a66446ccd5e6d4610696f20 100644 (file)
@@ -9,12 +9,12 @@ Summary(ru):  WindowMaker - 
 Summary(uk):   WindowMaker - ×¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X11
 Name:          WindowMaker
 Version:       0.91.0
-Release:       1
+Release:       7
 License:       GPL
 Group:         X11/Window Managers
 Source0:       ftp://ftp.windowmaker.org/pub/source/release/%{name}-%{version}.tar.gz
 # Source0-md5: be07953e905d1e42fe7a65ac2193a5f9
-Source1:       ftp://windowmaker.org/pub/%{name}-data.tar.gz
+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,6 +31,8 @@ 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
+Patch12:       %{name}-0.91.0-translucency-1.patch
 URL:           http://www.windowmaker.org/
 BuildRequires: XFree86-devel
 BuildRequires: autoconf
@@ -41,9 +43,11 @@ BuildRequires:       libjpeg-devel >= 6b
 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 +142,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 +225,8 @@ utilizando componentes est
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
+%patch11 -p1
+%patch12 -p1
 
 for f in WindowMaker/*menu*; do
        sed -i s,/usr/lib/GNUstep/,%{_libdir}/GNUstep/, $f
@@ -248,23 +254,20 @@ 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
 
 touch WindowMaker/Defaults/W*.in
 
@@ -281,7 +284,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
@@ -345,7 +349,6 @@ 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
 
This page took 0.125295 seconds and 4 git commands to generate.