Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:tecosaur
davinci-resolve-updater
davinci-resolve-updater.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File davinci-resolve-updater.spec of Package davinci-resolve-updater
Name: davinci-resolve-updater Version: 18.6.4 Release: 0 Url: https://www.blackmagicdesign.com/br/products/davinciresolve/ Summary: Keep DaVinci Resolve up to date Group: System/GUI/KDE BuildRequires: desktop-file-utils BuildRequires: update-desktop-files BuildRequires: hicolor-icon-theme BuildRequires: -post-build-checks Requires: wget Requires: unzip License: MIT Source0: %{name} Source1: get-download-url Source2: %{name}.png Source3: %{name}.desktop.txt BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package helps to keep the DaVinci Resolve application always up to date. %build %install mkdir -p %{buildroot}/opt/%{name}/ install -Dm 755 %{SOURCE0} %{buildroot}/opt/%{name}/%{name} install -Dm 755 %{SOURCE1} %{buildroot}/opt/%{name}/get-download-url cp -f %{SOURCE3} %{buildroot}/opt/%{name}/%{name}.desktop mkdir -p %{buildroot}/usr/share/pixmaps/ cp -f %{SOURCE2} %{buildroot}/usr/share/pixmaps/%{name}.png %post # Start update script /opt/%{name}/%{name} start rm -f "/usr/share/applications/com.blackmagicdesign.resolve-Installer.desktop" update-desktop-database gtk-update-icon-cache %preun if [ "$1" = 0 ]; then chmod 777 /opt/davinci-resolve-updater/DaVinci_Resolve_%{version}_Linux.run /opt/davinci-resolve-updater/DaVinci_Resolve_%{version}_Linux.run --uninstall --noconfirm # remove all files rm -rf "/opt/davinci-resolve-updater" rm -rf "/opt/resolve" rm -f "/usr/share/applications/com.blackmagicdesign.rawplayer.desktop" rm -f "/usr/share/applications/com.blackmagicdesign.rawspeedtest.desktop" rm -f "/usr/share/applications/com.blackmagicdesign.resolve-CaptureLogs.desktop" rm -f "/usr/share/applications/com.blackmagicdesign.resolve-Panels.desktop" rm -f "/usr/share/applications/com.blackmagicdesign.resolve.desktop" rm -f "/etc/xdg/menus/applications-merged/com.blackmagicdesign.resolve.menu" update-desktop-database gtk-update-icon-cache fi %clean %files %defattr(-,root,root) /opt/%{name} /opt/%{name}/%{name} /opt/%{name}/get-download-url /opt/%{name}/%{name}.desktop /usr/share/pixmaps/%{name}.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