]> git.pld-linux.org Git - packages/WindowMaker.git/blobdiff - WindowMaker.spec
- Added desktop file for gdm/kdm support
[packages/WindowMaker.git] / WindowMaker.spec
index d500c94bf59fe86f467afd8efa17d4f6ce8260e7..c1b9523c46b586e1b08492915a19d3da651230a1 100644 (file)
@@ -13,11 +13,15 @@ Release:    4
 License:       GPL
 Group:         X11/Window Managers
 Source0:       ftp://ftp.windowmaker.org/pub/source/release/%{name}-%{version}.tar.bz2
+# Source0-md5: 9f4fabc8831af6c58edf8708ee90126f
 Source1:       ftp://windowmaker.org/pub/%{name}-data.tar.gz
+# Source1-md5: 6ea0c37314ea9e9ab27e8bdf45a31a82
 Source2:       ftp://ftp.windowmaker.org/pub/source/release/%{name}-extra-%{extraver}.tar.gz
+# Source2-md5: 07c7700daaaf232bc490f5abaabef085
 Source3:       %{name}.desktop
 Source4:       %{name}.RunWM
 Source5:       %{name}.wm_style
+Source6:       %{name}-xsession.desktop
 Patch0:                %{name}-CFLAGS.patch
 Patch1:                %{name}-wmconfig.patch
 Patch2:                %{name}-pixmaps.patch
@@ -33,6 +37,8 @@ Patch11:      %{name}-pl.po-update.patch
 Patch12:       %{name}-wmchlocale-fixes.patch
 Patch13:       http://www.heily.com/mark/code_samples/appicon_captions_maxprotect.diff
 URL:           http://www.windowmaker.org/
+BuildRequires: Hermes-devel
+BuildRequires: XFree86-devel
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
@@ -41,17 +47,15 @@ BuildRequires:      libpng >= 1.0.8
 BuildRequires: libjpeg-devel >= 6b
 BuildRequires: libtiff-devel
 BuildRequires: libungif-devel
-BuildRequires: Hermes-devel
-BuildRequires: XFree86-devel
-Requires:      wmconfig >= 0.9.9-5
-Requires:      cpp
 Requires:      %{name}-libs = %{version}
+Requires:      cpp
 Requires:      tk
+Requires:      wmconfig >= 0.9.9-5
 Requires:      xinitrc >= 3.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/X11
-%define                _wmpropsdir     %{_datadir}/wm-properties
+%define                _wmpropsdir     /usr/share/wm-properties
 
 %description
 Window Maker is an X11 window manager which emulates the look and feel
@@ -236,10 +240,10 @@ rm -f {,%{name}-extra-%{extraver}/}missing
 %{__autoconf}
 %{__automake}
 cd %{name}-extra-%{extraver}
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__automake}
+       %{__libtoolize}
+       %{__aclocal}
+       %{__autoconf}
+       %{__automake}
 cd ..
 
 perl -pi -e 's/defaultAppIcon.#extension#;SharedAppIcon = Yes;/defaultAppIcon.#extension#;/' \
@@ -276,7 +280,7 @@ cd %{name}-extra-%{extraver}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_datadir}/pixmaps,%{_wmpropsdir}} \
+install -d $RPM_BUILD_ROOT{%{_datadir}/{pixmaps,xsessions},%{_wmpropsdir}} \
        $RPM_BUILD_ROOT/etc/sysconfig/wmstyle
 
 %{__make} install \
@@ -292,11 +296,13 @@ install contrib/dockit.1 $RPM_BUILD_ROOT%{_mandir}/man1
 install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_datadir}/pixmaps
 install %{SOURCE3} $RPM_BUILD_ROOT%{_wmpropsdir}
 
-install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
-install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
+install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/wmaker.sh
+install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/wmaker.names
+install %{SOURCE6} $RPM_BUILD_ROOT%{_dastadir}/xsessions/WindowMaker.desktop
 
 cd %{name}-extra-%{extraver}
-%{__make} DESTDIR=$RPM_BUILD_ROOT install
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 cd ..
 
 %find_lang %{name} --all-name
@@ -346,6 +352,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/dockit
 
 %{_datadir}/WindowMaker
+%{_datadir}/xsessions/WindowMaker.desktop
 
 %dir %{_libdir}/GNUstep
 %dir %{_libdir}/GNUstep/Apps
This page took 0.031438 seconds and 4 git commands to generate.