Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:MaxxedSUSE:Emulators
parsec-linux
parsec-linux.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File parsec-linux.spec of Package parsec-linux
# # spec file for package parsec-linux # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define rname parsec Name: parsec-linux Version: 150_93b Release: 1 Summary: Remotely connect to a gaming pc for a low latency remote computing experience License: SUSE-NonFree URL: https://parsec.app/ BuildRoot: %{name}-%{version}-build BuildRequires: rsvg-convert BuildRequires: binutils Source0: parsec-linux.deb Source1: parsec.svg ExclusiveArch: x86_64 #Requires: libxext libxcb libglvnd libstdc++6 libx11 libgcc_s1 libXdmcp %description Remotely connect to a gaming pc for a low latency remote computing experience %prep cp %{SOURCE0} %{_builddir} cd %{_builddir} ar x parsec-linux.deb data.tar.xz tar -xf data.tar.xz cd %{_builddir} %check %build %install mkdir -p %{buildroot}/usr/bin mkdir -p %{buildroot}%{_datadir}/applications mkdir -p %{buildroot}%{_datadir}/parsec/skel install -Dm755 usr/bin/parsecd %{buildroot}/usr/bin/%{rname} install -d %{buildroot}%{_datadir}/pixmaps install -m 0644 -p usr/share/icons/hicolor/256x256/apps/parsecd.png %{buildroot}%{_datadir}/pixmaps/%{rname}.png install -d %{buildroot}%{_datadir}/icons/hicolor/scalable/apps install -m 0644 -p %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{rname}.svg for size in 16 22 24 32 48 64 128 256; do dest=%{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps install -d ${dest} rsvg-convert -w ${size} -h ${size} %{SOURCE1} -o ${dest}/%{rname}.png chmod 0644 ${dest}/%{rname}.png touch -r %{SOURCE1} ${dest}/%{rname}.png done chmod -x usr/share/parsec/skel/appdata.json cp usr/share/parsec/skel/appdata.json %{buildroot}%{_datadir}/parsec/skel/ install -Dm755 usr/share/parsec/skel/parsecd-150-93b.so %{buildroot}%{_datadir}/parsec/skel/ sed -i "s%Icon=/usr/share/icons/hicolor/256x256/apps/parsecd.png%Icon=parsec%" usr/share/applications/parsecd.desktop sed -i 's|Exec=/usr/bin/parsecd %u|Exec=/usr/bin/parsec %u|' usr/share/applications/parsecd.desktop sed -i "s%Categories=Network%Categories=Network;Monitor%" usr/share/applications/parsecd.desktop chmod -x+X usr/share/applications/parsecd.desktop install -Dm755 usr/share/applications/parsecd.desktop %{buildroot}%{_datadir}/applications/parsec.desktop %{__strip} %{buildroot}%{_datadir}/parsec/skel/parsecd-150-93b.so %{__strip} %{buildroot}%{_bindir}/parsec %files %defattr(-,root,root) %{_bindir}/%{rname} %dir %{_datadir}/applications %dir %{_datadir}/parsec %dir %{_datadir}/parsec/skel %{_datadir}/parsec/skel/appdata.json %{_datadir}/parsec/skel/parsecd-150-93b.so %{_datadir}/applications/parsec.desktop %dir %{_datadir}/icons/hicolor %dir %{_datadir}/icons/hicolor/16x16 %dir %{_datadir}/icons/hicolor/16x16/apps %dir %{_datadir}/icons/hicolor/22x22 %dir %{_datadir}/icons/hicolor/22x22/apps %dir %{_datadir}/icons/hicolor/24x24 %dir %{_datadir}/icons/hicolor/24x24/apps %dir %{_datadir}/icons/hicolor/32x32 %dir %{_datadir}/icons/hicolor/32x32/apps %dir %{_datadir}/icons/hicolor/48x48 %dir %{_datadir}/icons/hicolor/48x48/apps %dir %{_datadir}/icons/hicolor/64x64 %dir %{_datadir}/icons/hicolor/64x64/apps %dir %{_datadir}/icons/hicolor/128x128 %dir %{_datadir}/icons/hicolor/128x128/apps %dir %{_datadir}/icons/hicolor/256x256 %dir %{_datadir}/icons/hicolor/256x256/apps %dir %{_datadir}/icons/hicolor/scalable %dir %{_datadir}/icons/hicolor/scalable/apps %{_datadir}/icons/hicolor/*/apps/%{rname}.* %{_datadir}/pixmaps/%{rname}.png %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor