Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:regataos
anydesk-updater
anydesk-updater.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File anydesk-updater.spec of Package anydesk-updater
Name: anydesk-updater Version: 6.3.3 Release: 0 Url: https://anydesk.com/ Summary: Keep AnyDesk up to date Group: System/GUI/KDE BuildRequires: xz BuildRequires: desktop-file-utils BuildRequires: update-desktop-files BuildRequires: hicolor-icon-theme BuildRequires: -post-build-checks Requires: xz Requires: wget Requires: gconf2 Requires: libnotify4 Requires: libappindicator1 Requires: libXtst6 Requires: libXss1 Requires: libgtkglext-x11-1_0-0 Requires: libpangox-1_0-0 Requires: pangox-compat Requires: hicolor-icon-theme License: MiT Source0: %{name} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package helps to keep the AnyDesk application always up to date. %build %install mkdir -p %{buildroot}/opt/anydesk/ install -Dm 755 %{SOURCE0} %{buildroot}/opt/anydesk/%{name} %post # Start update script /opt/anydesk/%{name} start chmod 755 /opt/anydesk/* chmod 755 /opt/anydesk/anydesk-*/* chmod 755 /opt/anydesk/anydesk-*/*/* chmod 755 /opt/anydesk/anydesk-*/icons/hicolor/*/apps/* if [ -x /usr/bin/gtk-update-icon-cache-2.0 ]; then /usr/bin/gtk-update-icon-cache-2.0 /usr/share/icons/hicolor > /dev/null 2>&1 || true fi if [ -x /usr/bin/gtk-update-icon-cache ]; then /usr/bin/gtk-update-icon-cache /usr/share/icons/hicolor > /dev/null 2>&1 || true fi cp -fv /opt/anydesk/anydesk-*/systemd/anydesk.service /etc/systemd/system/anydesk.service cp -fv /opt/anydesk/anydesk-*/anydesk.desktop /usr/share/applications/anydesk.desktop cp -fv /opt/anydesk/anydesk-*/icons/hicolor/256x256/apps/anydesk.png /usr/share/pixmaps/anydesk.png ln -sfv /opt/anydesk/anydesk-*/anydesk /usr/bin/anydesk systemctl stop anydesk systemctl daemon-reload systemctl enable anydesk systemctl start anydesk if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database > /dev/null 2>&1 || true fi %preun if [ "$1" = 0 ]; then systemctl stop anydesk systemctl disable anydesk rm -rf "/opt/anydesk/anydesk-%{version}" rm -f "/opt/anydesk/anydesk-%{version}-amd64.tar.gz" rm -f "/etc/systemd/system/anydesk.service" rm -f "/usr/share/applications/anydesk.desktop" rm -f "/usr/share/pixmaps/anydesk.png" fm -f "/usr/bin/anydesk" fi if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database > /dev/null 2>&1 || true fi %clean %files %defattr(-,root,root) /opt/anydesk/%{name} %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