rpms/steam/F-20 steam.spec,1.6,1.7
by Simone Caronni
Author: slaanesh
Update of /cvs/nonfree/rpms/steam/F-20
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv3903
Modified Files:
steam.spec
Log Message:
* Mon Jan 06 2014 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-6
- Make noruntime subpackage noarch.
Index: steam.spec
===================================================================
RCS file: /cvs/nonfree/rpms/steam/F-20/steam.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- steam.spec 6 Jan 2014 11:19:56 -0000 1.6
+++ steam.spec 6 Jan 2014 11:28:51 -0000 1.7
@@ -3,7 +3,7 @@
Name: steam
Version: 1.0.0.45
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file
License: Steam License Agreement
@@ -42,6 +42,7 @@
%package noruntime
Summary: Use system libraries instead of the Steam Runtime
Requires: steam = %{version}-%{release}
+Buildarch: noarch
# After the Steam client has been downloaded run the following command and then
# adjust the list of requirements to remove dependencies pulled in by other
@@ -154,6 +155,9 @@
%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*sh
%changelog
+* Mon Jan 06 2014 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-6
+- Make noruntime subpackage noarch.
+
* Mon Jan 06 2014 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-5
- Update README.Fedora with new instructions.
10 years, 11 months
rpms/steam/devel steam.spec,1.6,1.7
by Simone Caronni
Author: slaanesh
Update of /cvs/nonfree/rpms/steam/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv3868
Modified Files:
steam.spec
Log Message:
* Mon Jan 06 2014 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-6
- Make noruntime subpackage noarch.
Index: steam.spec
===================================================================
RCS file: /cvs/nonfree/rpms/steam/devel/steam.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- steam.spec 6 Jan 2014 11:17:41 -0000 1.6
+++ steam.spec 6 Jan 2014 11:28:29 -0000 1.7
@@ -3,7 +3,7 @@
Name: steam
Version: 1.0.0.45
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file
License: Steam License Agreement
@@ -42,6 +42,7 @@
%package noruntime
Summary: Use system libraries instead of the Steam Runtime
Requires: steam = %{version}-%{release}
+Buildarch: noarch
# After the Steam client has been downloaded run the following command and then
# adjust the list of requirements to remove dependencies pulled in by other
@@ -154,6 +155,9 @@
%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*sh
%changelog
+* Mon Jan 06 2014 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-6
+- Make noruntime subpackage noarch.
+
* Mon Jan 06 2014 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-5
- Update README.Fedora with new instructions.
10 years, 11 months
rpms/steam/F-18 steam-disable-runtime.patch, NONE, 1.1 steam.csh, 1.2, 1.3 steam.sh, 1.2, 1.3 README.Fedora, 1.2, 1.3 steam.spec, 1.5, 1.6
by Simone Caronni
Author: slaanesh
Update of /cvs/nonfree/rpms/steam/F-18
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv3596
Modified Files:
README.Fedora steam.spec
Added Files:
steam-disable-runtime.patch steam.csh steam.sh
Log Message:
* Mon Jan 06 2014 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-5
- Update README.Fedora with new instructions.
steam-disable-runtime.patch:
steam | 12 ++++++++++++
1 file changed, 12 insertions(+)
--- NEW FILE steam-disable-runtime.patch ---
diff -Naur steam.old/steam steam/steam
--- steam.old/steam 2013-12-20 20:50:34.014610244 +0100
+++ steam/steam 2014-01-06 11:56:29.576011740 +0100
@@ -186,6 +186,18 @@
# go to the install directory and run the client
cp "$LAUNCHSTEAMBOOTSTRAPFILE" "$LAUNCHSTEAMDIR/bootstrap.tar.xz"
cd "$LAUNCHSTEAMDIR"
+
+if [ "$STEAM_RUNTIME" == "0" ]; then
+ if [ ! -h $LAUNCHSTEAMPLATFORM/libudev.so.0 ]; then
+ ln -sf /usr/lib/libudev.so.1 $LAUNCHSTEAMPLATFORM/libudev.so.0
+ fi
+ rm -fr $LAUNCHSTEAMPLATFORM/steam-runtime
+else
+ if [ -h $LAUNCHSTEAMPLATFORM/libudev.so.0 ]; then
+ rm -f $LAUNCHSTEAMPLATFORM/libudev.so.0
+ fi
+fi
+
if [ "`command -v tee`" != "" ]; then
mkdir -p --mode=777 /tmp/dumps
exec "$LAUNCHSTEAMDIR/$STEAMBOOTSTRAP" "$@" 2>&1 | tee "/tmp/dumps/${USER}_stdout.txt"
Index: steam.csh
===================================================================
RCS file: steam.csh
diff -N steam.csh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ steam.csh 6 Jan 2014 11:21:12 -0000 1.3
@@ -0,0 +1,5 @@
+# Disable Ubuntu 32 bit runtime
+if ( -x /usr/bin/steam ) then
+ setenv STEAM_RUNTIME "0"
+endif
+
Index: steam.sh
===================================================================
RCS file: steam.sh
diff -N steam.sh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ steam.sh 6 Jan 2014 11:21:12 -0000 1.3
@@ -0,0 +1,2 @@
+# Disable Ubuntu 32 bit runtime
+[ -x /usr/bin/steam ] && export STEAM_RUNTIME=0
Index: README.Fedora
===================================================================
RCS file: /cvs/nonfree/rpms/steam/F-18/README.Fedora,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- README.Fedora 9 Nov 2013 01:11:27 -0000 1.2
+++ README.Fedora 6 Jan 2014 11:21:11 -0000 1.3
@@ -50,33 +50,11 @@
==========================================================
Normally the package uses Ubuntu libraries. To use instead Fedora provided
-libraries, first of all figure out which libraries are needed:
-
- $ cd ~/.local/share/Steam/ubuntu12_32/
- $ for i in `ldd *.so | egrep -v "linux-gate.so|ld-linux.so" | awk '{print $1}'`; do
- > repoquery --disablerepo=* --enablerepo=fedora,updates -q --qf="%{name}" --whatprovides "$i"
- > done | sort | uniq | sed 's/$/i686/g' > libraries.txt
-
-This will generate a text file containing the required libraries. You can install
-them with the following command:
-
- # yum -y install `cat libraries.txt`
-
-Then you can launch Steam with:
-
- $ STEAM_RUNTIME=0 steam
-
-To disable permanently the use of the Ubuntu runtime and always use the
-installed libraries, you can create a profile environment like the following:
-
- $ cat /etc/profile.d/steam.sh
- # Disable Ubuntu 32 bit runtime
- [ -x /usr/bin/steam ] && export STEAM_RUNTIME=0
-
-If Steam is launched with the Fedora libraries; you can remove the Ubuntu
-runtime folder which is nearly 400 mb:
-
- $ rm -fr /.local/share/Steam/ubuntu12_32/steam-runtime
-
+libraries, install the additional package "steam-noruntime".
+After installing, log out and log in back again so the environment file is
+sourced, setting STEAM_RUNTIME to 0.
+Running Steam this way is unsupported and may lead to unexpected results. Also
+videos in the client are not played, regardless of the installation of the Flash
+Plugin.
Index: steam.spec
===================================================================
RCS file: /cvs/nonfree/rpms/steam/F-18/steam.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- steam.spec 27 Nov 2013 17:37:57 -0000 1.5
+++ steam.spec 6 Jan 2014 11:21:12 -0000 1.6
@@ -3,13 +3,16 @@
Name: steam
Version: 1.0.0.45
-Release: 1%{?dist}
+Release: 5%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file
-License: Steam License Agreement
+License: Steam License Agreement
URL: http://www.steampowered.com/
Source0: http://repo.steampowered.com/steam/pool/%{name}/s/%{name}/%{name}_%{versi...
Source10: README.Fedora
+Patch0: %{name}-disable-runtime.patch
+Source1: %{name}.sh
+Source2: %{name}.csh
ExclusiveArch: i686
BuildRequires: desktop-file-utils
@@ -36,16 +39,78 @@
installation, automatic updates, achievements, SteamCloud synchronized
savegame and screenshot functionality, and many social features.
+%package noruntime
+Summary: Use system libraries instead of the Steam Runtime
+Requires: steam = %{version}-%{release}
+
+# After the Steam client has been downloaded run the following command and then
+# adjust the list of requirements to remove dependencies pulled in by other
+# packages.
+
+# cd ~/.local/share/Steam/ubuntu12_32/
+# for i in `ldd *.so | egrep -v "linux-gate.so|ld-linux.so" | awk '{print $1}'` `find steam-runtime/i386 -name "*.so*" -exec basename {} \;` do
+# repoquery --disablerepo=* --enablerepo=fedora,updates -q --qf="Requires: %{name}" --whatprovides "$i"
+# done | sort | uniq | sed 's/$/%{_isa}/g'
+
+# Required for enabling Steam system tray icon
+Requires: libappindicator%{_isa}
+# Requirements for the main client
+Requires: alsa-plugins-pulseaudio%{_isa}
+Requires: avahi-libs%{_isa}
+Requires: expat%{_isa}
+Requires: harfbuzz%{_isa}
+Requires: json-c%{_isa}
+Requires: keyutils-libs%{_isa}
+Requires: libasyncns%{_isa}
+Requires: libattr%{_isa}
+Requires: libffi%{_isa}
+Requires: libsndfile%{_isa}
+Requires: libusbx%{_isa}
+Requires: libXau%{_isa}
+Requires: libXdmcp%{_isa}
+Requires: mesa-dri-drivers%{_isa}
+Requires: mesa-libEGL%{_isa}
+Requires: mesa-libgbm%{_isa}
+Requires: NetworkManager-glib%{_isa}
+Requires: openal-soft%{_isa}
+Requires: openssl-libs%{_isa}
+Requires: pcre%{_isa}
+Requires: pixman%{_isa}
+Requires: pulseaudio-libs%{_isa}
+Requires: tcp_wrappers-libs%{_isa}
+# Additional requirements for games that use the Steam runtime libraries
+%if 0%{?fedora} >= 19
+Requires: SDL2_image%{_isa}
+Requires: SDL2_mixer%{_isa}
+%endif
+Requires: SDL_image%{_isa}
+Requires: SDL_mixer%{_isa}
+Requires: SDL_ttf%{_isa}
+
+%description noruntime
+The Steam client normally uses a set of libraries derived from Ubuntu (the Steam
+Runtime); and all titles on Steam are compiled against those libraries.
+
+This package takes care of installing all the requirements to use system
+libraries in place of the Steam Runtime and a profile environment file to enable
+it. Please note that this is not a supported Valve configuration and it may lead
+to unexpected results.
+
+
%prep
%setup -q -n %{name}
+%patch0 -p1
sed -i 's/\r$//' %{name}.desktop
sed -i 's/\r$//' steam_install_agreement.txt
cp %{SOURCE10} .
+
%build
# Nothing to build
+
%install
+# Steam package
make install DESTDIR=%{buildroot}
rm -fr %{buildroot}%{_docdir}/%{name}/ %{buildroot}%{_bindir}/%{name}deps
@@ -54,16 +119,10 @@
install -D -m 644 -p lib/udev/rules.d/99-steam-controller-perms.rules \
%{buildroot}%{_udevrulesdir}/99-steam-controller-perms.rules
-%files
-%doc README COPYING steam_install_agreement.txt debian/changelog README.Fedora
-%{_bindir}/%{name}
-%{_datadir}/applications/%{name}.desktop
-%{_datadir}/icons/hicolor/*/apps/%{name}.png
-%{_datadir}/pixmaps/%{name}.png
-%{_datadir}/pixmaps/%{name}_tray_mono.png
-%{_libdir}/%{name}/
-%{_mandir}/man6/%{name}.*
-%{_udevrulesdir}/99-steam-controller-perms.rules
+# Steam no-runtime package
+mkdir -p %{buildroot}%{_sysconfdir}/profile.d
+install -pm 644 %{SOURCE1} %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d
+
%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@@ -79,7 +138,39 @@
%posttrans
%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files
+%doc README COPYING steam_install_agreement.txt debian/changelog README.Fedora
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
+%{_datadir}/pixmaps/%{name}.png
+%{_datadir}/pixmaps/%{name}_tray_mono.png
+%{_libdir}/%{name}/
+%{_mandir}/man6/%{name}.*
+%{_udevrulesdir}/99-steam-controller-perms.rules
+
+%files noruntime
+%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*sh
+
%changelog
+* Mon Jan 06 2014 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-5
+- Update README.Fedora with new instructions.
+
+* Mon Jan 06 2014 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-4
+- Create a no-runtime subpackage leaving the main package to behave as intended
+ by Valve. All the Steam Runtime dependencies are against the subpackage.
+
+* Mon Dec 23 2013 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-3
+- Additional system libraries required by games.
+
+* Fri Dec 20 2013 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-2
+- If STEAM_RUNTIME is not set, perform the following actions by default from the
+ main commmand:
+ Disable the Ubuntu runtime.
+ Delete the unpacked Ubuntu runtime.
+ Create the obsolete libudev.so.0.
+
* Wed Nov 27 2013 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-1
- Update to 1.0.0.45.
10 years, 11 months
rpms/steam/F-19 steam-disable-runtime.patch, NONE, 1.1 steam.csh, 1.2, 1.3 steam.sh, 1.2, 1.3 README.Fedora, 1.2, 1.3 steam.spec, 1.5, 1.6
by Simone Caronni
Author: slaanesh
Update of /cvs/nonfree/rpms/steam/F-19
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv3463
Modified Files:
README.Fedora steam.spec
Added Files:
steam-disable-runtime.patch steam.csh steam.sh
Log Message:
* Mon Jan 06 2014 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-5
- Update README.Fedora with new instructions.
steam-disable-runtime.patch:
steam | 12 ++++++++++++
1 file changed, 12 insertions(+)
--- NEW FILE steam-disable-runtime.patch ---
diff -Naur steam.old/steam steam/steam
--- steam.old/steam 2013-12-20 20:50:34.014610244 +0100
+++ steam/steam 2014-01-06 11:56:29.576011740 +0100
@@ -186,6 +186,18 @@
# go to the install directory and run the client
cp "$LAUNCHSTEAMBOOTSTRAPFILE" "$LAUNCHSTEAMDIR/bootstrap.tar.xz"
cd "$LAUNCHSTEAMDIR"
+
+if [ "$STEAM_RUNTIME" == "0" ]; then
+ if [ ! -h $LAUNCHSTEAMPLATFORM/libudev.so.0 ]; then
+ ln -sf /usr/lib/libudev.so.1 $LAUNCHSTEAMPLATFORM/libudev.so.0
+ fi
+ rm -fr $LAUNCHSTEAMPLATFORM/steam-runtime
+else
+ if [ -h $LAUNCHSTEAMPLATFORM/libudev.so.0 ]; then
+ rm -f $LAUNCHSTEAMPLATFORM/libudev.so.0
+ fi
+fi
+
if [ "`command -v tee`" != "" ]; then
mkdir -p --mode=777 /tmp/dumps
exec "$LAUNCHSTEAMDIR/$STEAMBOOTSTRAP" "$@" 2>&1 | tee "/tmp/dumps/${USER}_stdout.txt"
Index: steam.csh
===================================================================
RCS file: steam.csh
diff -N steam.csh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ steam.csh 6 Jan 2014 11:20:44 -0000 1.3
@@ -0,0 +1,5 @@
+# Disable Ubuntu 32 bit runtime
+if ( -x /usr/bin/steam ) then
+ setenv STEAM_RUNTIME "0"
+endif
+
Index: steam.sh
===================================================================
RCS file: steam.sh
diff -N steam.sh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ steam.sh 6 Jan 2014 11:20:44 -0000 1.3
@@ -0,0 +1,2 @@
+# Disable Ubuntu 32 bit runtime
+[ -x /usr/bin/steam ] && export STEAM_RUNTIME=0
Index: README.Fedora
===================================================================
RCS file: /cvs/nonfree/rpms/steam/F-19/README.Fedora,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- README.Fedora 9 Nov 2013 01:12:26 -0000 1.2
+++ README.Fedora 6 Jan 2014 11:20:44 -0000 1.3
@@ -50,33 +50,11 @@
==========================================================
Normally the package uses Ubuntu libraries. To use instead Fedora provided
-libraries, first of all figure out which libraries are needed:
-
- $ cd ~/.local/share/Steam/ubuntu12_32/
- $ for i in `ldd *.so | egrep -v "linux-gate.so|ld-linux.so" | awk '{print $1}'`; do
- > repoquery --disablerepo=* --enablerepo=fedora,updates -q --qf="%{name}" --whatprovides "$i"
- > done | sort | uniq | sed 's/$/i686/g' > libraries.txt
-
-This will generate a text file containing the required libraries. You can install
-them with the following command:
-
- # yum -y install `cat libraries.txt`
-
-Then you can launch Steam with:
-
- $ STEAM_RUNTIME=0 steam
-
-To disable permanently the use of the Ubuntu runtime and always use the
-installed libraries, you can create a profile environment like the following:
-
- $ cat /etc/profile.d/steam.sh
- # Disable Ubuntu 32 bit runtime
- [ -x /usr/bin/steam ] && export STEAM_RUNTIME=0
-
-If Steam is launched with the Fedora libraries; you can remove the Ubuntu
-runtime folder which is nearly 400 mb:
-
- $ rm -fr /.local/share/Steam/ubuntu12_32/steam-runtime
-
+libraries, install the additional package "steam-noruntime".
+After installing, log out and log in back again so the environment file is
+sourced, setting STEAM_RUNTIME to 0.
+Running Steam this way is unsupported and may lead to unexpected results. Also
+videos in the client are not played, regardless of the installation of the Flash
+Plugin.
Index: steam.spec
===================================================================
RCS file: /cvs/nonfree/rpms/steam/F-19/steam.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- steam.spec 27 Nov 2013 17:37:48 -0000 1.5
+++ steam.spec 6 Jan 2014 11:20:44 -0000 1.6
@@ -3,13 +3,16 @@
Name: steam
Version: 1.0.0.45
-Release: 1%{?dist}
+Release: 5%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file
-License: Steam License Agreement
+License: Steam License Agreement
URL: http://www.steampowered.com/
Source0: http://repo.steampowered.com/steam/pool/%{name}/s/%{name}/%{name}_%{versi...
Source10: README.Fedora
+Patch0: %{name}-disable-runtime.patch
+Source1: %{name}.sh
+Source2: %{name}.csh
ExclusiveArch: i686
BuildRequires: desktop-file-utils
@@ -36,16 +39,78 @@
installation, automatic updates, achievements, SteamCloud synchronized
savegame and screenshot functionality, and many social features.
+%package noruntime
+Summary: Use system libraries instead of the Steam Runtime
+Requires: steam = %{version}-%{release}
+
+# After the Steam client has been downloaded run the following command and then
+# adjust the list of requirements to remove dependencies pulled in by other
+# packages.
+
+# cd ~/.local/share/Steam/ubuntu12_32/
+# for i in `ldd *.so | egrep -v "linux-gate.so|ld-linux.so" | awk '{print $1}'` `find steam-runtime/i386 -name "*.so*" -exec basename {} \;` do
+# repoquery --disablerepo=* --enablerepo=fedora,updates -q --qf="Requires: %{name}" --whatprovides "$i"
+# done | sort | uniq | sed 's/$/%{_isa}/g'
+
+# Required for enabling Steam system tray icon
+Requires: libappindicator%{_isa}
+# Requirements for the main client
+Requires: alsa-plugins-pulseaudio%{_isa}
+Requires: avahi-libs%{_isa}
+Requires: expat%{_isa}
+Requires: harfbuzz%{_isa}
+Requires: json-c%{_isa}
+Requires: keyutils-libs%{_isa}
+Requires: libasyncns%{_isa}
+Requires: libattr%{_isa}
+Requires: libffi%{_isa}
+Requires: libsndfile%{_isa}
+Requires: libusbx%{_isa}
+Requires: libXau%{_isa}
+Requires: libXdmcp%{_isa}
+Requires: mesa-dri-drivers%{_isa}
+Requires: mesa-libEGL%{_isa}
+Requires: mesa-libgbm%{_isa}
+Requires: NetworkManager-glib%{_isa}
+Requires: openal-soft%{_isa}
+Requires: openssl-libs%{_isa}
+Requires: pcre%{_isa}
+Requires: pixman%{_isa}
+Requires: pulseaudio-libs%{_isa}
+Requires: tcp_wrappers-libs%{_isa}
+# Additional requirements for games that use the Steam runtime libraries
+%if 0%{?fedora} >= 19
+Requires: SDL2_image%{_isa}
+Requires: SDL2_mixer%{_isa}
+%endif
+Requires: SDL_image%{_isa}
+Requires: SDL_mixer%{_isa}
+Requires: SDL_ttf%{_isa}
+
+%description noruntime
+The Steam client normally uses a set of libraries derived from Ubuntu (the Steam
+Runtime); and all titles on Steam are compiled against those libraries.
+
+This package takes care of installing all the requirements to use system
+libraries in place of the Steam Runtime and a profile environment file to enable
+it. Please note that this is not a supported Valve configuration and it may lead
+to unexpected results.
+
+
%prep
%setup -q -n %{name}
+%patch0 -p1
sed -i 's/\r$//' %{name}.desktop
sed -i 's/\r$//' steam_install_agreement.txt
cp %{SOURCE10} .
+
%build
# Nothing to build
+
%install
+# Steam package
make install DESTDIR=%{buildroot}
rm -fr %{buildroot}%{_docdir}/%{name}/ %{buildroot}%{_bindir}/%{name}deps
@@ -54,16 +119,10 @@
install -D -m 644 -p lib/udev/rules.d/99-steam-controller-perms.rules \
%{buildroot}%{_udevrulesdir}/99-steam-controller-perms.rules
-%files
-%doc README COPYING steam_install_agreement.txt debian/changelog README.Fedora
-%{_bindir}/%{name}
-%{_datadir}/applications/%{name}.desktop
-%{_datadir}/icons/hicolor/*/apps/%{name}.png
-%{_datadir}/pixmaps/%{name}.png
-%{_datadir}/pixmaps/%{name}_tray_mono.png
-%{_libdir}/%{name}/
-%{_mandir}/man6/%{name}.*
-%{_udevrulesdir}/99-steam-controller-perms.rules
+# Steam no-runtime package
+mkdir -p %{buildroot}%{_sysconfdir}/profile.d
+install -pm 644 %{SOURCE1} %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d
+
%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@@ -79,7 +138,39 @@
%posttrans
%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files
+%doc README COPYING steam_install_agreement.txt debian/changelog README.Fedora
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
+%{_datadir}/pixmaps/%{name}.png
+%{_datadir}/pixmaps/%{name}_tray_mono.png
+%{_libdir}/%{name}/
+%{_mandir}/man6/%{name}.*
+%{_udevrulesdir}/99-steam-controller-perms.rules
+
+%files noruntime
+%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*sh
+
%changelog
+* Mon Jan 06 2014 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-5
+- Update README.Fedora with new instructions.
+
+* Mon Jan 06 2014 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-4
+- Create a no-runtime subpackage leaving the main package to behave as intended
+ by Valve. All the Steam Runtime dependencies are against the subpackage.
+
+* Mon Dec 23 2013 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-3
+- Additional system libraries required by games.
+
+* Fri Dec 20 2013 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-2
+- If STEAM_RUNTIME is not set, perform the following actions by default from the
+ main commmand:
+ Disable the Ubuntu runtime.
+ Delete the unpacked Ubuntu runtime.
+ Create the obsolete libudev.so.0.
+
* Wed Nov 27 2013 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-1
- Update to 1.0.0.45.
10 years, 11 months
rpms/steam/F-20 steam-disable-runtime.patch, NONE, 1.1 steam.csh, 1.2, 1.3 steam.sh, 1.2, 1.3 README.Fedora, 1.2, 1.3 steam.spec, 1.5, 1.6
by Simone Caronni
Author: slaanesh
Update of /cvs/nonfree/rpms/steam/F-20
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv3326
Modified Files:
README.Fedora steam.spec
Added Files:
steam-disable-runtime.patch steam.csh steam.sh
Log Message:
* Mon Jan 06 2014 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-5
- Update README.Fedora with new instructions.
steam-disable-runtime.patch:
steam | 12 ++++++++++++
1 file changed, 12 insertions(+)
--- NEW FILE steam-disable-runtime.patch ---
diff -Naur steam.old/steam steam/steam
--- steam.old/steam 2013-12-20 20:50:34.014610244 +0100
+++ steam/steam 2014-01-06 11:56:29.576011740 +0100
@@ -186,6 +186,18 @@
# go to the install directory and run the client
cp "$LAUNCHSTEAMBOOTSTRAPFILE" "$LAUNCHSTEAMDIR/bootstrap.tar.xz"
cd "$LAUNCHSTEAMDIR"
+
+if [ "$STEAM_RUNTIME" == "0" ]; then
+ if [ ! -h $LAUNCHSTEAMPLATFORM/libudev.so.0 ]; then
+ ln -sf /usr/lib/libudev.so.1 $LAUNCHSTEAMPLATFORM/libudev.so.0
+ fi
+ rm -fr $LAUNCHSTEAMPLATFORM/steam-runtime
+else
+ if [ -h $LAUNCHSTEAMPLATFORM/libudev.so.0 ]; then
+ rm -f $LAUNCHSTEAMPLATFORM/libudev.so.0
+ fi
+fi
+
if [ "`command -v tee`" != "" ]; then
mkdir -p --mode=777 /tmp/dumps
exec "$LAUNCHSTEAMDIR/$STEAMBOOTSTRAP" "$@" 2>&1 | tee "/tmp/dumps/${USER}_stdout.txt"
Index: steam.csh
===================================================================
RCS file: steam.csh
diff -N steam.csh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ steam.csh 6 Jan 2014 11:19:56 -0000 1.3
@@ -0,0 +1,5 @@
+# Disable Ubuntu 32 bit runtime
+if ( -x /usr/bin/steam ) then
+ setenv STEAM_RUNTIME "0"
+endif
+
Index: steam.sh
===================================================================
RCS file: steam.sh
diff -N steam.sh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ steam.sh 6 Jan 2014 11:19:56 -0000 1.3
@@ -0,0 +1,2 @@
+# Disable Ubuntu 32 bit runtime
+[ -x /usr/bin/steam ] && export STEAM_RUNTIME=0
Index: README.Fedora
===================================================================
RCS file: /cvs/nonfree/rpms/steam/F-20/README.Fedora,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- README.Fedora 9 Nov 2013 01:09:57 -0000 1.2
+++ README.Fedora 6 Jan 2014 11:19:55 -0000 1.3
@@ -50,33 +50,11 @@
==========================================================
Normally the package uses Ubuntu libraries. To use instead Fedora provided
-libraries, first of all figure out which libraries are needed:
-
- $ cd ~/.local/share/Steam/ubuntu12_32/
- $ for i in `ldd *.so | egrep -v "linux-gate.so|ld-linux.so" | awk '{print $1}'`; do
- > repoquery --disablerepo=* --enablerepo=fedora,updates -q --qf="%{name}" --whatprovides "$i"
- > done | sort | uniq | sed 's/$/i686/g' > libraries.txt
-
-This will generate a text file containing the required libraries. You can install
-them with the following command:
-
- # yum -y install `cat libraries.txt`
-
-Then you can launch Steam with:
-
- $ STEAM_RUNTIME=0 steam
-
-To disable permanently the use of the Ubuntu runtime and always use the
-installed libraries, you can create a profile environment like the following:
-
- $ cat /etc/profile.d/steam.sh
- # Disable Ubuntu 32 bit runtime
- [ -x /usr/bin/steam ] && export STEAM_RUNTIME=0
-
-If Steam is launched with the Fedora libraries; you can remove the Ubuntu
-runtime folder which is nearly 400 mb:
-
- $ rm -fr /.local/share/Steam/ubuntu12_32/steam-runtime
-
+libraries, install the additional package "steam-noruntime".
+After installing, log out and log in back again so the environment file is
+sourced, setting STEAM_RUNTIME to 0.
+Running Steam this way is unsupported and may lead to unexpected results. Also
+videos in the client are not played, regardless of the installation of the Flash
+Plugin.
Index: steam.spec
===================================================================
RCS file: /cvs/nonfree/rpms/steam/F-20/steam.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- steam.spec 27 Nov 2013 17:37:12 -0000 1.5
+++ steam.spec 6 Jan 2014 11:19:56 -0000 1.6
@@ -3,13 +3,16 @@
Name: steam
Version: 1.0.0.45
-Release: 1%{?dist}
+Release: 5%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file
-License: Steam License Agreement
+License: Steam License Agreement
URL: http://www.steampowered.com/
Source0: http://repo.steampowered.com/steam/pool/%{name}/s/%{name}/%{name}_%{versi...
Source10: README.Fedora
+Patch0: %{name}-disable-runtime.patch
+Source1: %{name}.sh
+Source2: %{name}.csh
ExclusiveArch: i686
BuildRequires: desktop-file-utils
@@ -36,16 +39,78 @@
installation, automatic updates, achievements, SteamCloud synchronized
savegame and screenshot functionality, and many social features.
+%package noruntime
+Summary: Use system libraries instead of the Steam Runtime
+Requires: steam = %{version}-%{release}
+
+# After the Steam client has been downloaded run the following command and then
+# adjust the list of requirements to remove dependencies pulled in by other
+# packages.
+
+# cd ~/.local/share/Steam/ubuntu12_32/
+# for i in `ldd *.so | egrep -v "linux-gate.so|ld-linux.so" | awk '{print $1}'` `find steam-runtime/i386 -name "*.so*" -exec basename {} \;` do
+# repoquery --disablerepo=* --enablerepo=fedora,updates -q --qf="Requires: %{name}" --whatprovides "$i"
+# done | sort | uniq | sed 's/$/%{_isa}/g'
+
+# Required for enabling Steam system tray icon
+Requires: libappindicator%{_isa}
+# Requirements for the main client
+Requires: alsa-plugins-pulseaudio%{_isa}
+Requires: avahi-libs%{_isa}
+Requires: expat%{_isa}
+Requires: harfbuzz%{_isa}
+Requires: json-c%{_isa}
+Requires: keyutils-libs%{_isa}
+Requires: libasyncns%{_isa}
+Requires: libattr%{_isa}
+Requires: libffi%{_isa}
+Requires: libsndfile%{_isa}
+Requires: libusbx%{_isa}
+Requires: libXau%{_isa}
+Requires: libXdmcp%{_isa}
+Requires: mesa-dri-drivers%{_isa}
+Requires: mesa-libEGL%{_isa}
+Requires: mesa-libgbm%{_isa}
+Requires: NetworkManager-glib%{_isa}
+Requires: openal-soft%{_isa}
+Requires: openssl-libs%{_isa}
+Requires: pcre%{_isa}
+Requires: pixman%{_isa}
+Requires: pulseaudio-libs%{_isa}
+Requires: tcp_wrappers-libs%{_isa}
+# Additional requirements for games that use the Steam runtime libraries
+%if 0%{?fedora} >= 19
+Requires: SDL2_image%{_isa}
+Requires: SDL2_mixer%{_isa}
+%endif
+Requires: SDL_image%{_isa}
+Requires: SDL_mixer%{_isa}
+Requires: SDL_ttf%{_isa}
+
+%description noruntime
+The Steam client normally uses a set of libraries derived from Ubuntu (the Steam
+Runtime); and all titles on Steam are compiled against those libraries.
+
+This package takes care of installing all the requirements to use system
+libraries in place of the Steam Runtime and a profile environment file to enable
+it. Please note that this is not a supported Valve configuration and it may lead
+to unexpected results.
+
+
%prep
%setup -q -n %{name}
+%patch0 -p1
sed -i 's/\r$//' %{name}.desktop
sed -i 's/\r$//' steam_install_agreement.txt
cp %{SOURCE10} .
+
%build
# Nothing to build
+
%install
+# Steam package
make install DESTDIR=%{buildroot}
rm -fr %{buildroot}%{_docdir}/%{name}/ %{buildroot}%{_bindir}/%{name}deps
@@ -54,16 +119,10 @@
install -D -m 644 -p lib/udev/rules.d/99-steam-controller-perms.rules \
%{buildroot}%{_udevrulesdir}/99-steam-controller-perms.rules
-%files
-%doc README COPYING steam_install_agreement.txt debian/changelog README.Fedora
-%{_bindir}/%{name}
-%{_datadir}/applications/%{name}.desktop
-%{_datadir}/icons/hicolor/*/apps/%{name}.png
-%{_datadir}/pixmaps/%{name}.png
-%{_datadir}/pixmaps/%{name}_tray_mono.png
-%{_libdir}/%{name}/
-%{_mandir}/man6/%{name}.*
-%{_udevrulesdir}/99-steam-controller-perms.rules
+# Steam no-runtime package
+mkdir -p %{buildroot}%{_sysconfdir}/profile.d
+install -pm 644 %{SOURCE1} %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d
+
%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@@ -79,7 +138,39 @@
%posttrans
%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files
+%doc README COPYING steam_install_agreement.txt debian/changelog README.Fedora
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
+%{_datadir}/pixmaps/%{name}.png
+%{_datadir}/pixmaps/%{name}_tray_mono.png
+%{_libdir}/%{name}/
+%{_mandir}/man6/%{name}.*
+%{_udevrulesdir}/99-steam-controller-perms.rules
+
+%files noruntime
+%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*sh
+
%changelog
+* Mon Jan 06 2014 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-5
+- Update README.Fedora with new instructions.
+
+* Mon Jan 06 2014 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-4
+- Create a no-runtime subpackage leaving the main package to behave as intended
+ by Valve. All the Steam Runtime dependencies are against the subpackage.
+
+* Mon Dec 23 2013 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-3
+- Additional system libraries required by games.
+
+* Fri Dec 20 2013 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-2
+- If STEAM_RUNTIME is not set, perform the following actions by default from the
+ main commmand:
+ Disable the Ubuntu runtime.
+ Delete the unpacked Ubuntu runtime.
+ Create the obsolete libudev.so.0.
+
* Wed Nov 27 2013 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-1
- Update to 1.0.0.45.
10 years, 11 months
rpms/steam/devel steam-disable-runtime.patch, NONE, 1.1 steam.csh, 1.2, 1.3 steam.sh, 1.2, 1.3 README.Fedora, 1.2, 1.3 steam.spec, 1.5, 1.6
by Simone Caronni
Author: slaanesh
Update of /cvs/nonfree/rpms/steam/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv3098
Modified Files:
README.Fedora steam.spec
Added Files:
steam-disable-runtime.patch steam.csh steam.sh
Log Message:
* Mon Jan 06 2014 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-5
- Update README.Fedora with new instructions.
steam-disable-runtime.patch:
steam | 12 ++++++++++++
1 file changed, 12 insertions(+)
--- NEW FILE steam-disable-runtime.patch ---
diff -Naur steam.old/steam steam/steam
--- steam.old/steam 2013-12-20 20:50:34.014610244 +0100
+++ steam/steam 2014-01-06 11:56:29.576011740 +0100
@@ -186,6 +186,18 @@
# go to the install directory and run the client
cp "$LAUNCHSTEAMBOOTSTRAPFILE" "$LAUNCHSTEAMDIR/bootstrap.tar.xz"
cd "$LAUNCHSTEAMDIR"
+
+if [ "$STEAM_RUNTIME" == "0" ]; then
+ if [ ! -h $LAUNCHSTEAMPLATFORM/libudev.so.0 ]; then
+ ln -sf /usr/lib/libudev.so.1 $LAUNCHSTEAMPLATFORM/libudev.so.0
+ fi
+ rm -fr $LAUNCHSTEAMPLATFORM/steam-runtime
+else
+ if [ -h $LAUNCHSTEAMPLATFORM/libudev.so.0 ]; then
+ rm -f $LAUNCHSTEAMPLATFORM/libudev.so.0
+ fi
+fi
+
if [ "`command -v tee`" != "" ]; then
mkdir -p --mode=777 /tmp/dumps
exec "$LAUNCHSTEAMDIR/$STEAMBOOTSTRAP" "$@" 2>&1 | tee "/tmp/dumps/${USER}_stdout.txt"
Index: steam.csh
===================================================================
RCS file: steam.csh
diff -N steam.csh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ steam.csh 6 Jan 2014 11:17:41 -0000 1.3
@@ -0,0 +1,5 @@
+# Disable Ubuntu 32 bit runtime
+if ( -x /usr/bin/steam ) then
+ setenv STEAM_RUNTIME "0"
+endif
+
Index: steam.sh
===================================================================
RCS file: steam.sh
diff -N steam.sh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ steam.sh 6 Jan 2014 11:17:41 -0000 1.3
@@ -0,0 +1,2 @@
+# Disable Ubuntu 32 bit runtime
+[ -x /usr/bin/steam ] && export STEAM_RUNTIME=0
Index: README.Fedora
===================================================================
RCS file: /cvs/nonfree/rpms/steam/devel/README.Fedora,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- README.Fedora 9 Nov 2013 01:09:57 -0000 1.2
+++ README.Fedora 6 Jan 2014 11:17:41 -0000 1.3
@@ -50,33 +50,11 @@
==========================================================
Normally the package uses Ubuntu libraries. To use instead Fedora provided
-libraries, first of all figure out which libraries are needed:
-
- $ cd ~/.local/share/Steam/ubuntu12_32/
- $ for i in `ldd *.so | egrep -v "linux-gate.so|ld-linux.so" | awk '{print $1}'`; do
- > repoquery --disablerepo=* --enablerepo=fedora,updates -q --qf="%{name}" --whatprovides "$i"
- > done | sort | uniq | sed 's/$/i686/g' > libraries.txt
-
-This will generate a text file containing the required libraries. You can install
-them with the following command:
-
- # yum -y install `cat libraries.txt`
-
-Then you can launch Steam with:
-
- $ STEAM_RUNTIME=0 steam
-
-To disable permanently the use of the Ubuntu runtime and always use the
-installed libraries, you can create a profile environment like the following:
-
- $ cat /etc/profile.d/steam.sh
- # Disable Ubuntu 32 bit runtime
- [ -x /usr/bin/steam ] && export STEAM_RUNTIME=0
-
-If Steam is launched with the Fedora libraries; you can remove the Ubuntu
-runtime folder which is nearly 400 mb:
-
- $ rm -fr /.local/share/Steam/ubuntu12_32/steam-runtime
-
+libraries, install the additional package "steam-noruntime".
+After installing, log out and log in back again so the environment file is
+sourced, setting STEAM_RUNTIME to 0.
+Running Steam this way is unsupported and may lead to unexpected results. Also
+videos in the client are not played, regardless of the installation of the Flash
+Plugin.
Index: steam.spec
===================================================================
RCS file: /cvs/nonfree/rpms/steam/devel/steam.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- steam.spec 27 Nov 2013 17:37:12 -0000 1.5
+++ steam.spec 6 Jan 2014 11:17:41 -0000 1.6
@@ -3,13 +3,16 @@
Name: steam
Version: 1.0.0.45
-Release: 1%{?dist}
+Release: 5%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file
-License: Steam License Agreement
+License: Steam License Agreement
URL: http://www.steampowered.com/
Source0: http://repo.steampowered.com/steam/pool/%{name}/s/%{name}/%{name}_%{versi...
Source10: README.Fedora
+Patch0: %{name}-disable-runtime.patch
+Source1: %{name}.sh
+Source2: %{name}.csh
ExclusiveArch: i686
BuildRequires: desktop-file-utils
@@ -36,16 +39,78 @@
installation, automatic updates, achievements, SteamCloud synchronized
savegame and screenshot functionality, and many social features.
+%package noruntime
+Summary: Use system libraries instead of the Steam Runtime
+Requires: steam = %{version}-%{release}
+
+# After the Steam client has been downloaded run the following command and then
+# adjust the list of requirements to remove dependencies pulled in by other
+# packages.
+
+# cd ~/.local/share/Steam/ubuntu12_32/
+# for i in `ldd *.so | egrep -v "linux-gate.so|ld-linux.so" | awk '{print $1}'` `find steam-runtime/i386 -name "*.so*" -exec basename {} \;` do
+# repoquery --disablerepo=* --enablerepo=fedora,updates -q --qf="Requires: %{name}" --whatprovides "$i"
+# done | sort | uniq | sed 's/$/%{_isa}/g'
+
+# Required for enabling Steam system tray icon
+Requires: libappindicator%{_isa}
+# Requirements for the main client
+Requires: alsa-plugins-pulseaudio%{_isa}
+Requires: avahi-libs%{_isa}
+Requires: expat%{_isa}
+Requires: harfbuzz%{_isa}
+Requires: json-c%{_isa}
+Requires: keyutils-libs%{_isa}
+Requires: libasyncns%{_isa}
+Requires: libattr%{_isa}
+Requires: libffi%{_isa}
+Requires: libsndfile%{_isa}
+Requires: libusbx%{_isa}
+Requires: libXau%{_isa}
+Requires: libXdmcp%{_isa}
+Requires: mesa-dri-drivers%{_isa}
+Requires: mesa-libEGL%{_isa}
+Requires: mesa-libgbm%{_isa}
+Requires: NetworkManager-glib%{_isa}
+Requires: openal-soft%{_isa}
+Requires: openssl-libs%{_isa}
+Requires: pcre%{_isa}
+Requires: pixman%{_isa}
+Requires: pulseaudio-libs%{_isa}
+Requires: tcp_wrappers-libs%{_isa}
+# Additional requirements for games that use the Steam runtime libraries
+%if 0%{?fedora} >= 19
+Requires: SDL2_image%{_isa}
+Requires: SDL2_mixer%{_isa}
+%endif
+Requires: SDL_image%{_isa}
+Requires: SDL_mixer%{_isa}
+Requires: SDL_ttf%{_isa}
+
+%description noruntime
+The Steam client normally uses a set of libraries derived from Ubuntu (the Steam
+Runtime); and all titles on Steam are compiled against those libraries.
+
+This package takes care of installing all the requirements to use system
+libraries in place of the Steam Runtime and a profile environment file to enable
+it. Please note that this is not a supported Valve configuration and it may lead
+to unexpected results.
+
+
%prep
%setup -q -n %{name}
+%patch0 -p1
sed -i 's/\r$//' %{name}.desktop
sed -i 's/\r$//' steam_install_agreement.txt
cp %{SOURCE10} .
+
%build
# Nothing to build
+
%install
+# Steam package
make install DESTDIR=%{buildroot}
rm -fr %{buildroot}%{_docdir}/%{name}/ %{buildroot}%{_bindir}/%{name}deps
@@ -54,16 +119,10 @@
install -D -m 644 -p lib/udev/rules.d/99-steam-controller-perms.rules \
%{buildroot}%{_udevrulesdir}/99-steam-controller-perms.rules
-%files
-%doc README COPYING steam_install_agreement.txt debian/changelog README.Fedora
-%{_bindir}/%{name}
-%{_datadir}/applications/%{name}.desktop
-%{_datadir}/icons/hicolor/*/apps/%{name}.png
-%{_datadir}/pixmaps/%{name}.png
-%{_datadir}/pixmaps/%{name}_tray_mono.png
-%{_libdir}/%{name}/
-%{_mandir}/man6/%{name}.*
-%{_udevrulesdir}/99-steam-controller-perms.rules
+# Steam no-runtime package
+mkdir -p %{buildroot}%{_sysconfdir}/profile.d
+install -pm 644 %{SOURCE1} %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d
+
%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@@ -79,7 +138,39 @@
%posttrans
%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files
+%doc README COPYING steam_install_agreement.txt debian/changelog README.Fedora
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
+%{_datadir}/pixmaps/%{name}.png
+%{_datadir}/pixmaps/%{name}_tray_mono.png
+%{_libdir}/%{name}/
+%{_mandir}/man6/%{name}.*
+%{_udevrulesdir}/99-steam-controller-perms.rules
+
+%files noruntime
+%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*sh
+
%changelog
+* Mon Jan 06 2014 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-5
+- Update README.Fedora with new instructions.
+
+* Mon Jan 06 2014 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-4
+- Create a no-runtime subpackage leaving the main package to behave as intended
+ by Valve. All the Steam Runtime dependencies are against the subpackage.
+
+* Mon Dec 23 2013 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-3
+- Additional system libraries required by games.
+
+* Fri Dec 20 2013 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-2
+- If STEAM_RUNTIME is not set, perform the following actions by default from the
+ main commmand:
+ Disable the Ubuntu runtime.
+ Delete the unpacked Ubuntu runtime.
+ Create the obsolete libudev.so.0.
+
* Wed Nov 27 2013 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.45-1
- Update to 1.0.0.45.
10 years, 11 months
rpms/amule/devel amule.spec,1.20,1.21
by Nicolas Chauvet
Author: kwizart
Update of /cvs/free/rpms/amule/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv30870
Modified Files:
amule.spec
Log Message:
Fix docs
Index: amule.spec
===================================================================
RCS file: /cvs/free/rpms/amule/devel/amule.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- amule.spec 2 Jan 2014 15:27:27 -0000 1.20
+++ amule.spec 5 Jan 2014 23:05:38 -0000 1.21
@@ -96,7 +96,7 @@
iconv -f ISO-8859-1 -t UTF-8 < src/utils/aLinkCreator/alc.desktop \
> $RPM_BUILD_ROOT%{_datadir}/applications/alc.desktop
-desktop-file-install --vendor livna \
+desktop-file-install --vendor "" \
--delete-original\
--dir $RPM_BUILD_ROOT%{_datadir}/applications\
$RPM_BUILD_ROOT%{_datadir}/applications/alc.desktop
@@ -119,7 +119,8 @@
%files -f %{name}.lang
%defattr(-,root,root,-)
-%doc ABOUT-NLS
+%doc ABOUT-NLS Changelog README TODO
+%doc EC_Protocol.txt amulesig.txt license.txt
%{_bindir}/alc
%{_bindir}/amule
%{_bindir}/cas
10 years, 11 months
rpms/rtmpdump/F-20 rtmpdump.spec,1.9,1.10
by Susi Lehtola
Author: jussilehtola
Update of /cvs/free/rpms/rtmpdump/F-20
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv20068
Modified Files:
rtmpdump.spec
Log Message:
Didn't notice additional BuildRequire.
Index: rtmpdump.spec
===================================================================
RCS file: /cvs/free/rpms/rtmpdump/F-20/rtmpdump.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- rtmpdump.spec 5 Jan 2014 21:22:37 -0000 1.9
+++ rtmpdump.spec 5 Jan 2014 21:48:59 -0000 1.10
@@ -14,6 +14,7 @@
Source0: http://repo.or.cz/w/rtmpdump.git/snapshot/%{commit}.tar.gz
BuildRequires: gnutls-devel
+BuildRequires: libgcrypt-devel
BuildRequires: zlib-devel
BuildRequires: nettle-devel
10 years, 11 months
rpms/rtmpdump/devel rtmpdump.spec,1.9,1.10
by Susi Lehtola
Author: jussilehtola
Update of /cvs/free/rpms/rtmpdump/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv19841
Modified Files:
rtmpdump.spec
Log Message:
Didn't notice additional BuildRequire.
Index: rtmpdump.spec
===================================================================
RCS file: /cvs/free/rpms/rtmpdump/devel/rtmpdump.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- rtmpdump.spec 5 Jan 2014 17:36:32 -0000 1.9
+++ rtmpdump.spec 5 Jan 2014 21:48:26 -0000 1.10
@@ -14,6 +14,7 @@
Source0: http://repo.or.cz/w/rtmpdump.git/snapshot/%{commit}.tar.gz
BuildRequires: gnutls-devel
+BuildRequires: libgcrypt-devel
BuildRequires: zlib-devel
BuildRequires: nettle-devel
10 years, 11 months
rpms/rtmpdump/F-20 rtmpdump.spec,1.8,1.9 sources,1.5,1.6
by Susi Lehtola
Author: jussilehtola
Update of /cvs/free/rpms/rtmpdump/F-20
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv15994
Modified Files:
rtmpdump.spec sources
Log Message:
* Sun Jan 5 2014 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.4-1.20131205.gitdc76f0a
- Update to newest snapshot.
- Clean up spec file.
Index: rtmpdump.spec
===================================================================
RCS file: /cvs/free/rpms/rtmpdump/F-20/rtmpdump.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- rtmpdump.spec 3 Mar 2013 21:46:37 -0000 1.8
+++ rtmpdump.spec 5 Jan 2014 21:22:37 -0000 1.9
@@ -1,88 +1,83 @@
-%define snapshot c58cfb3e
-%define snapshot_date 20110811
-
-Name: rtmpdump
-Version: 2.4
-Release: 0.3.%{snapshot_date}git%{snapshot}%{?dist}
-Summary: Toolkit for RTMP streams
-
-Group: Applications/Internet
-License: GPLv2+
-# Note that librtmp is actually LGPLv2, so if you package that separately
-# (for which you'd probably want to make it a dynamic library) you should
-# label its licence correctly. But the _tools_ are GPLv2.
-URL: http://rtmpdump.mplayerhq.hu/
-Source0: http://rtmpdump.mplayerhq.hu/download/rtmpdump-%{snapshot_date}-g%{snapsh...
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: gnutls-devel zlib-devel
+%global commit dc76f0a8461e6c8f1277eba58eae201b2dc1d06a
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global gitdate 20131205
+
+Name: rtmpdump
+Version: 2.4
+Release: 1.%{gitdate}.git%{shortcommit}%{?dist}
+Summary: Toolkit for RTMP streams
+
+Group: Applications/Internet
+# The tools are GPLv2+. The library is LGPLv2+, see below.
+License: GPLv2+
+URL: http://rtmpdump.mplayerhq.hu/
+Source0: http://repo.or.cz/w/rtmpdump.git/snapshot/%{commit}.tar.gz
+
+BuildRequires: gnutls-devel
+BuildRequires: zlib-devel
+BuildRequires: nettle-devel
%description
rtmpdump is a toolkit for RTMP streams. All forms of RTMP are supported,
including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://.
%package -n librtmp
-Summary: Support library for RTMP streams
-Group: Applications/Internet
-License: LGPLv2+
+Summary: Support library for RTMP streams
+Group: Applications/Internet
+License: LGPLv2+
%description -n librtmp
-librtmp is a suport library for RTMP streams. All forms of RTMP are supported,
+librtmp is a support library for RTMP streams. All forms of RTMP are supported,
including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://.
%package -n librtmp-devel
-Summary: Files for librtmp development
-Group: Applications/Internet
-License: LGPLv2+
-Requires: librtmp = %{version}-%{release}
+Summary: Files for librtmp development
+Group: Applications/Internet
+License: LGPLv2+
+Requires: librtmp%{?_isa} = %{version}-%{release}
%description -n librtmp-devel
-librtmp is a suport library for RTMP streams. The librtmp-devel package
+librtmp is a support library for RTMP streams. The librtmp-devel package
contains include files needed to develop applications using librtmp.
%prep
-%setup -q -n rtmpdump-%{snapshot_date}-g%{snapshot}
+%setup -q -n %{name}
%build
# The fact that we have to add -ldl for gnutls is Fedora bug #611318
-make CRYPTO=GNUTLS SHARED=yes OPT="$RPM_OPT_FLAGS" LIB_GNUTLS="-lgnutls -lgcrypt -ldl"
+make SYS=posix CRYPTO=GNUTLS SHARED=yes OPT="%{optflags}" LIB_GNUTLS="-lgnutls -lgcrypt -ldl"
%install
-rm -rf $RPM_BUILD_ROOT
-make CRYPTO=GNUTLS SHARED=yes DESTDIR=$RPM_BUILD_ROOT prefix=/usr mandir=%{_mandir} libdir=%{_libdir} install
-rm -f $RPM_BUILD_ROOT/%{_libdir}/librtmp.a
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make CRYPTO=GNUTLS SHARED=yes DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir} install
+rm -f %{buildroot}%{_libdir}/librtmp.a
%post -n librtmp -p /sbin/ldconfig
-
%postun -n librtmp -p /sbin/ldconfig
%files
-%defattr(-,root,root,-)
+%doc COPYING README
%{_bindir}/rtmpdump
%{_sbindir}/rtmpsrv
%{_sbindir}/rtmpgw
%{_sbindir}/rtmpsuck
%{_mandir}/man1/rtmpdump.1*
%{_mandir}/man8/rtmpgw.8*
-%doc COPYING README
%files -n librtmp
-%defattr(-,root,root,-)
-%{_libdir}/librtmp.so.0
-%doc librtmp/COPYING
+%doc librtmp/COPYING ChangeLog
+%{_libdir}/librtmp.so.1
%files -n librtmp-devel
-%defattr(-,root,root,-)
-/usr/include/librtmp
+%{_includedir}/librtmp/
%{_libdir}/librtmp.so
%{_libdir}/pkgconfig/librtmp.pc
%{_mandir}/man3/librtmp.3*
-%doc ChangeLog
%changelog
+* Sun Jan 5 2014 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 2.4-1.20131205.gitdc76f0a
+- Update to newest snapshot.
+- Clean up spec file.
+
* Sun Mar 03 2013 Nicolas Chauvet <kwizart(a)gmail.com> - 2.4-0.3.20110811gitc58cfb3e
- Mass rebuilt for Fedora 19 Features
Index: sources
===================================================================
RCS file: /cvs/free/rpms/rtmpdump/F-20/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources 29 Aug 2011 19:52:01 -0000 1.5
+++ sources 5 Jan 2014 21:22:37 -0000 1.6
@@ -1 +1 @@
-07ed0f980eeb51f2431dedfbb525efcc rtmpdump-20110811-gc58cfb3e.tar.gz
+e06ec3e11ba0a9f3cbb61be972bfb02e dc76f0a8461e6c8f1277eba58eae201b2dc1d06a.tar.gz
10 years, 11 months