X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=steam-launcher.spec;h=9ce080c0237bfc39d37b3a85bc8f0a7ee3891b85;hb=26714f01823b29848ba35b3093c9f59cf4dc4501;hp=8a13e86df1687bc35f7f6e3bd2996af0c22240cc;hpb=60f6f2c10c6da5ba18bca8823d8b988b608c69f9;p=packages%2Fsteam-launcher.git diff --git a/steam-launcher.spec b/steam-launcher.spec index 8a13e86..9ce080c 100644 --- a/steam-launcher.spec +++ b/steam-launcher.spec @@ -1,18 +1,23 @@ +%define _enable_debug_packages 0 + Summary: Launcher for the Steam software distribution service Name: steam-launcher -Version: 1.0.0.49 +Version: 1.0.0.71 Release: 1 License: distributable Group: Applications -Source0: http://repo.steampowered.com/steam/pool/steam/s/steam/steam_%{version}.tar.gz -# Source0-md5: 2ec8c8172fd34a1c0d007d7250509f42 +Source0: https://repo.steampowered.com/steam/pool/steam/s/steam/steam_%{version}.tar.gz +# Source0-md5: 02be920816bc369c8ac6579942535910 Source1: %{name}.sysconfig Patch0: steamdeps.patch +Patch1: desktop_path.patch URL: http://store.steampowered.com/ BuildRequires: sed >= 4.0 +Requires: ca-certificates >= 20180409-3 Requires: curl Requires: fonts-TTF-RedHat-liberation Requires: glibc >= 6:2.15 +Requires: libtxc_dxtn Requires: pld-release Requires: poldek Requires: python-modules @@ -38,8 +43,12 @@ synchronized savegame and screenshot functionality, and many social features. %prep -%setup -qn steam +%setup -qn steam-launcher %patch0 -p1 +%patch1 -p1 + +%{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' bin_steamdeps.py +%{__sed} -i -e '1s,/usr/bin/env bash,%{__bash},' bin_steam.sh sed -i -e's/^ARCH\s*=.*$/ARCH = "%{_arch}"/' steamdeps @@ -51,13 +60,15 @@ install -d $RPM_BUILD_ROOT/etc/sysconfig %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -rm $RPM_BUILD_ROOT%{_docdir}/steam/{README,steam_install_agreement.txt} +rm $RPM_BUILD_ROOT%{_docdir}/steam/{README,steam_subscriber_agreement.txt} # installed only when apt is installed on the build host [ -d $RPM_BUILD_ROOT/etc/apt ] && rm -r $RPM_BUILD_ROOT/etc/apt sed -e's/@SOURCES@/%{poldek_sources}/' %{SOURCE1} > $RPM_BUILD_ROOT/etc/sysconfig/%{name} +%{__rm} $RPM_BUILD_ROOT/usr/lib/steam/steam.desktop + %clean rm -rf $RPM_BUILD_ROOT @@ -73,13 +84,16 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc steam_install_agreement.txt +%doc steam_subscriber_agreement.txt %attr(755,root,root) %{_bindir}/steam %attr(755,root,root) %{_bindir}/steamdeps %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} %dir /usr/lib/steam +%attr(755,root,root) /usr/lib/steam/bin_steam.sh +%attr(755,root,root) /usr/lib/steam/bin_steamdeps.py /usr/lib/steam/bootstraplinux*.tar.xz %{_desktopdir}/steam.desktop %{_iconsdir}/hicolor/*/*/*.png %{_mandir}/man6/steam.6* %{_pixmapsdir}/*.png +%{_datadir}/metainfo/com.valvesoftware.Steam.metainfo.xml