]> git.pld-linux.org Git - packages/steam-launcher.git/blob - steam-launcher.spec
PLD updates
[packages/steam-launcher.git] / steam-launcher.spec
1
2 # TODO:
3 #       - check on and fix for x86_64 (multilib system required)
4
5 Summary:        Launcher for the Steam software distribution service
6 Name:           steam-launcher
7 Version:        1.0.0.47
8 Release:        0.1
9 License:        distributable
10 Group:          Applications
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/
15 Requires:       curl
16 Requires:       glibc >= 2.15
17 Requires:       pld-release
18 Requires:       poldek
19 Requires:       python-modules
20 Requires:       rpm
21 Requires:       which
22 Requires:       xdg-user-dirs
23 Requires:       xterm
24 Requires:       xz
25 Requires:       zenity
26 ExclusiveArch:  %{ix86} %{x8664}
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
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
33 features.
34
35 %prep
36 %setup -qn steam
37 %patch0 -p1
38
39 %build
40 sed -i -e's/^ARCH\s*=.*$/ARCH = "%{_arch}"/' steamdeps
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 rm $RPM_BUILD_ROOT%{_docdir}/steam/{README,steam_install_agreement.txt}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post
54 %update_icon_cache hicolor
55 %update_desktop_database
56 %glib_compile_schemas
57
58 %postun
59 %update_icon_cache hicolor
60 %update_desktop_database_postun
61 %glib_compile_schemas
62
63 %files
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
68 %dir /usr/lib/steam
69 /usr/lib/steam/bootstraplinux*.tar.xz
70 %{_desktopdir}/steam.desktop
71 %{_iconsdir}/hicolor/*/*/*.png
72 %{_mandir}/man6/steam.6*
73 %{_pixmapsdir}/*.png
This page took 0.062242 seconds and 4 git commands to generate.