]>
Commit | Line | Data |
---|---|---|
5f6e21fa JK |
1 | |
2 | # TODO: | |
3 | # - port distribution-specific scripts to PLD | |
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 | URL: http://store.steampowered.com/ | |
14 | Requires: curl | |
15 | Requires: glibc >= 2.15 | |
16 | Requires: pld-release | |
17 | Requires: xterm | |
18 | Requires: xz | |
19 | Requires: zenity | |
20 | ExclusiveArch: %{ix86} %{x8664} | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | Steam is a software distribution service with an online store, | |
25 | automated installation, automatic updates, achievements, SteamCloud | |
26 | synchronized savegame and screenshot functionality, and many social | |
27 | features. | |
28 | ||
29 | %prep | |
30 | %setup -qn steam | |
31 | ||
32 | %build | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %{__make} install \ | |
38 | DESTDIR=$RPM_BUILD_ROOT | |
39 | ||
40 | rm $RPM_BUILD_ROOT%{_docdir}/steam/{README,steam_install_agreement.txt} | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %post | |
46 | %update_icon_cache hicolor | |
47 | %update_desktop_database | |
48 | %glib_compile_schemas | |
49 | ||
50 | %postun | |
51 | %update_icon_cache hicolor | |
52 | %update_desktop_database_postun | |
53 | %glib_compile_schemas | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %doc steam_install_agreement.txt | |
58 | %attr(755,root,root) %{_bindir}/steam | |
59 | %attr(755,root,root) %{_bindir}/steamdeps | |
60 | %dir %{_libdir}/steam | |
61 | %{_libdir}/steam/bootstraplinux*.tar.xz | |
62 | %{_desktopdir}/steam.desktop | |
63 | %{_iconsdir}/hicolor/*/*/*.png | |
64 | %{_mandir}/man6/steam.6* | |
65 | %{_pixmapsdir}/*.png |