]> git.pld-linux.org Git - packages/steam-launcher.git/blame - steam-launcher.spec
Do not install apt config
[packages/steam-launcher.git] / steam-launcher.spec
CommitLineData
5f6e21fa
JK
1
2# TODO:
7b16f921 3# - check on and fix for x86_64 (multilib system required)
5f6e21fa
JK
4
5Summary: Launcher for the Steam software distribution service
6Name: steam-launcher
7Version: 1.0.0.47
8Release: 0.1
9License: distributable
10Group: Applications
11Source0: http://repo.steampowered.com/steam/pool/steam/s/steam/steam_%{version}.tar.gz
12# Source0-md5: c6f75ebaa9e32f2565df620d1867f274
7b16f921 13Patch0: steamdeps.patch
5f6e21fa 14URL: http://store.steampowered.com/
5cada23f 15BuildRequires: sed >= 4.0
5f6e21fa 16Requires: curl
5cada23f 17Requires: glibc >= 6:2.15
5f6e21fa 18Requires: pld-release
7b16f921
JK
19Requires: poldek
20Requires: python-modules
21Requires: rpm
22Requires: which
23Requires: xdg-user-dirs
5f6e21fa
JK
24Requires: xterm
25Requires: xz
26Requires: zenity
27ExclusiveArch: %{ix86} %{x8664}
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31Steam is a software distribution service with an online store,
32automated installation, automatic updates, achievements, SteamCloud
33synchronized savegame and screenshot functionality, and many social
34features.
35
36%prep
37%setup -qn steam
7b16f921 38%patch0 -p1
5f6e21fa 39
7b16f921 40sed -i -e's/^ARCH\s*=.*$/ARCH = "%{_arch}"/' steamdeps
5f6e21fa
JK
41
42%install
43rm -rf $RPM_BUILD_ROOT
5f6e21fa
JK
44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
46
47rm $RPM_BUILD_ROOT%{_docdir}/steam/{README,steam_install_agreement.txt}
48
6b775bed
JK
49# installed only when apt is installed on the build host
50[ -d $RPM_BUILD_ROOT/etc/apt ] && rm -r $RPM_BUILD_ROOT/etc/apt
51
5f6e21fa
JK
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%post
56%update_icon_cache hicolor
57%update_desktop_database
58%glib_compile_schemas
59
60%postun
61%update_icon_cache hicolor
62%update_desktop_database_postun
63%glib_compile_schemas
64
65%files
66%defattr(644,root,root,755)
67%doc steam_install_agreement.txt
68%attr(755,root,root) %{_bindir}/steam
69%attr(755,root,root) %{_bindir}/steamdeps
7b16f921
JK
70%dir /usr/lib/steam
71/usr/lib/steam/bootstraplinux*.tar.xz
5f6e21fa
JK
72%{_desktopdir}/steam.desktop
73%{_iconsdir}/hicolor/*/*/*.png
74%{_mandir}/man6/steam.6*
75%{_pixmapsdir}/*.png
This page took 0.047867 seconds and 4 git commands to generate.