3 # - check on and fix for x86_64 (multilib system required)
5 Summary: Launcher for the Steam software distribution service
11 Source0: http://repo.steampowered.com/steam/pool/steam/s/steam/steam_%{version}.tar.gz
12 # Source0-md5: c6f75ebaa9e32f2565df620d1867f274
13 Patch0: steamdeps.patch
14 URL: http://store.steampowered.com/
16 Requires: glibc >= 2.15
19 Requires: python-modules
22 Requires: xdg-user-dirs
26 ExclusiveArch: %{ix86} %{x8664}
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Steam is a software distribution service with an online store,
31 automated installation, automatic updates, achievements, SteamCloud
32 synchronized savegame and screenshot functionality, and many social
40 sed -i -e's/^ARCH\s*=.*$/ARCH = "%{_arch}"/' steamdeps
43 rm -rf $RPM_BUILD_ROOT
46 DESTDIR=$RPM_BUILD_ROOT
48 rm $RPM_BUILD_ROOT%{_docdir}/steam/{README,steam_install_agreement.txt}
51 rm -rf $RPM_BUILD_ROOT
54 %update_icon_cache hicolor
55 %update_desktop_database
59 %update_icon_cache hicolor
60 %update_desktop_database_postun
64 %defattr(644,root,root,755)
65 %doc steam_install_agreement.txt
66 %attr(755,root,root) %{_bindir}/steam
67 %attr(755,root,root) %{_bindir}/steamdeps
69 /usr/lib/steam/bootstraplinux*.tar.xz
70 %{_desktopdir}/steam.desktop
71 %{_iconsdir}/hicolor/*/*/*.png
72 %{_mandir}/man6/steam.6*