pages:howtos:suse:drawio-update
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
pages:howtos:suse:drawio-update [2021/11/01 09:14] – created mischerh | pages:howtos:suse:drawio-update [2021/12/09 23:31] (current) – rokkitlawnchair | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{tag> | + | {{tag>howto suse tumbleweed drawio}} |
- | ====== Update | + | ====== Update |
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | <WRAP center round info 60%> | ||
+ | Draw.io Releases can be found at: \\ | ||
+ | https:// | ||
+ | </ | ||
+ | |||
+ | |||
+ | <sxh bash; gutter: | ||
+ | MYUSER="< | ||
+ | DRAWIOVERSION="< | ||
+ | mkdir -pv / | ||
+ | wget https:// | ||
+ | chown -R $MYUSER: | ||
+ | rpmrebuild -e -p / | ||
+ | </ | ||
+ | |||
+ | edit the specfile and change/add the following lines | ||
+ | <sxh bash; highlight: [4, | ||
+ | # rpmrebuild autogenerated specfile | ||
+ | |||
+ | BuildRoot: / | ||
+ | #AutoProv: no | ||
+ | AutoReqProv: | ||
+ | %undefine __find_provides | ||
+ | AutoReq: no | ||
+ | %undefine __find_requires | ||
+ | # Do not try autogenerate prereq/ | ||
+ | %undefine __check_files | ||
+ | %undefine __find_prereq | ||
+ | %undefine __find_conflicts | ||
+ | %undefine __find_obsoletes | ||
+ | # Be sure buildpolicy set to do nothing | ||
+ | %define __spec_install_post %{nil} | ||
+ | # Something that need for rpm-4.1 | ||
+ | %define _missing_doc_files_terminate_build 0 | ||
+ | #dummy | ||
+ | #dummy | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # | ||
+ | |||
+ | |||
+ | |||
+ | #OS: linux | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | BuildArch: | ||
+ | Name: draw.io | ||
+ | Version: | ||
+ | Release: | ||
+ | License: | ||
+ | Group: | ||
+ | Summary: | ||
+ | |||
+ | |||
+ | URL: | ||
+ | Vendor: | ||
+ | Packager: | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | Prefix: | ||
+ | Provides: | ||
+ | Provides: | ||
+ | Requires(post): | ||
+ | Requires(postun): | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | %description | ||
+ | diagrams.net desktop | ||
+ | %files | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0755, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0755, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0755, root, root) "/ | ||
+ | %attr(0755, root, root) "/ | ||
+ | %attr(0755, root, root) "/ | ||
+ | %attr(0755, root, root) "/ | ||
+ | %attr(0755, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0755, root, root) "/ | ||
+ | %attr(0755, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %dir %attr(0755, root, root) "/ | ||
+ | %dir %attr(0755, root, root) "/ | ||
+ | %attr(0777, root, root) "/ | ||
+ | %dir %attr(0755, root, root) "/ | ||
+ | %attr(0777, root, root) "/ | ||
+ | %dir %attr(0755, root, root) "/ | ||
+ | %attr(0777, root, root) "/ | ||
+ | %dir %attr(0755, root, root) "/ | ||
+ | %attr(0777, root, root) "/ | ||
+ | %dir %attr(0755, root, root) "/ | ||
+ | %attr(0777, root, root) "/ | ||
+ | %dir %attr(0755, root, root) "/ | ||
+ | %attr(0777, root, root) "/ | ||
+ | %dir %attr(0755, root, root) "/ | ||
+ | %attr(0777, root, root) "/ | ||
+ | %dir %attr(0755, root, root) "/ | ||
+ | %attr(0777, root, root) "/ | ||
+ | %dir %attr(0755, root, root) "/ | ||
+ | %attr(0777, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | %attr(0644, root, root) "/ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | %post -p /bin/sh | ||
+ | #!/bin/bash | ||
+ | |||
+ | # Link to the binary | ||
+ | ln -sf '/ | ||
+ | |||
+ | # SUID chrome-sandbox for Electron 5+ | ||
+ | chmod 4755 '/ | ||
+ | |||
+ | update-mime-database / | ||
+ | update-desktop-database / | ||
+ | |||
+ | |||
+ | |||
+ | %postun -p /bin/sh | ||
+ | #!/bin/bash | ||
+ | |||
+ | # Delete the link to the binary | ||
+ | rm -f '/ | ||
+ | |||
+ | %changelog | ||
+ | |||
+ | </ | ||
+ | |||
+ | <sxh bash; gutter: | ||
+ | rpm -e draw.io | ||
+ | rpm -i / | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | ~~DISCUSSION~~ |
pages/howtos/suse/drawio-update.1635758082.txt.gz · Last modified: 2021/11/01 09:14 by mischerh