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