[PATCH] spec file for RHEL6(beta)



Attached patch fixes some BuildRequires for rpm spec file. Now it
compiles on both Fedora and RHEL6b1.


--- sawfish.spec.in.orig	2010-10-06 18:55:41.000000000 +0300
+++ sawfish.spec.in	2010-10-06 18:56:10.000000000 +0300
@@ -8,7 +8,13 @@
 Source0: http://download.tuxfamily.org/sawfish/%{name}/%{name}-%{version}.tar.bz2
 URL: http://sawfish.wikia.com/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: gmp-devel, pango-devel, libXft-devel, texinfo
+BuildRequires: gmp-devel, pango-devel, libXft-devel, texinfo, gettext
+BuildRequires: libICE-devel, libSM-devel
+%if 0%{?el6}
+BuildRequires: gtk2-devel
+%else
+BuildRequires: gdk-pixbuf2-devel
+%endif
 BuildRequires: librep-devel, rep-gtk-devel
 
 %define rep_execdir %(pkg-config librep --variable=repcommonexecdir)
@@ -76,11 +82,11 @@
 %{_datadir}/sawfish/sawfish.png
 %{_libdir}/sawfish/
 %{rep_execdir}/sawfish
-%{_desktopdir}/sawfish.desktop
+%{_datadir}/applications/sawfish.desktop
 %{_datadir}/gnome/wm-properties/sawfish-wm.desktop
 %{kde_apps}/ksmserver/windowmanagers/sawfish.desktop
 %{_datadir}/xsessions/sawfish.desktop
-%{_iconsbasedir}/32x32/apps/sawfish-config.png
+%{_datadir}/icons/hicolor/32x32/apps/sawfish-config.png
 %{_mandir}/man1/sawfish*.gz
 %{_infodir}/sawfish*
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]