Summary(uk): ÷¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X Window
Summary(zh_CN): ¾ßÓкÜÇ¿µÄÀ©Õ¹ÐԺͿÉÅäÖÃÐÔµÄͼÐδ°¿Ú¹ÜÀíÆ÷
Name: sawfish
-Version: 1.2
+Version: 1.3
Release: 2
Epoch: 3
License: GPL
Group: X11/Window Managers
#Source0: http://ftp.gnome.org/pub/gnome/sources/sawfish/2.0/%{name}-%{version}.tar.bz2
-Source0: http://unc.dl.sourceforge.net/sourceforge/sawmill/%{name}-%{version}-gtk2.tar.gz
+Source0: http://dl.sourceforge.net/sawmill/%{name}-%{version}.tar.gz
+# Source0-md5: 9e5ce5e76c60acecdb1889c1f173295a
+Source1: %{name}-xsession.desktop
Patch0: %{name}-applnk.patch
URL: http://sawmill.sourceforge.net/
Icon: sawfish.xpm
-BuildRequires: autoconf
+BuildRequires: autoconf
BuildRequires: automake
BuildRequires: esound-devel >= 0.2.27
BuildRequires: gettext-devel
-BuildRequires: librep-devel >= 0.16
BuildRequires: gtk+2-devel >= 2.0.3
+BuildRequires: librep-devel >= 0.16
BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: readline-devel
%define repexecdir %(rep-config --execdir || echo "Install_librep-devel_and_rebuild_this_package")
Requires: rep-gtk >= 0.16
Requires: %{repexecdir}
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Provides: gnome-wm
Obsoletes: sawmill
Obsoletes: sawmill-gnome
Obsoletes: sawmill-themer
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _libexecdir %{_libdir}
-%define _wmpropsdir %{_datadir}/wm-properties
+%define _wmpropsdir /usr/share/wm-properties
%description
This is an extensible window manager using a LISP-based scripting
Summary: GNOME support for sawmill
Summary(pl): Support GNOME'a dla sawmilla
Group: X11/Window Managers
-Requires: %{name} = %{version}
+Requires: %{name} = %{epoch}:%{version}
Requires: rep-gtk-gnome >= 0.14-3
Requires: rep-gtk-libglade >= 0.14-3
ÐÁËÅÔ.
%prep
-%setup -q -n %{name}-%{version}-gtk2
+%setup -q
%patch0 -p1
%build
%{__gettextize}
%{__libtoolize}
-aclocal
+%{__aclocal}
%{__autoconf}
%{__automake} || :
%configure \
--with-esd \
--with-audiofile \
--with-gnu-ld
-%{__make} host_type=%{_host}
+%{__make} \
+ host_type=%{_host}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_wmpropsdir}
+install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_wmpropsdir}}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
host_type=%{_host}
install Sawfish.desktop $RPM_BUILD_ROOT%{_wmpropsdir}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
%find_lang %{name}
%doc README NEWS FAQ TODO
%attr(755,root,root) %{_bindir}/*
%{_datadir}/sawfish
+%{_datadir}/xsessions/%{name}.desktop
%{_pixmapsdir}/*
%dir %{_libexecdir}/sawfish