Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:deltafox
OrcaSlicer
orcaslicer.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File orcaslicer.spec of Package OrcaSlicer
Name: orcaslicer Version: 2.0.0 Release: 0 Url: https://github.com/SoftFever/OrcaSlicer Summary: G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.) Group: Hardware/Printing BuildRequires: desktop-file-utils BuildRequires: update-desktop-files BuildRequires: hicolor-icon-theme BuildRequires: -post-build-checks Requires: python3-keyring >= 21 Requires: python3-numpy Requires: python3-pynest2d Requires: python3-pyserial Requires: python3-qt5 >= 5.10 Requires: python3-requests Requires: python3-scipy Requires: python3-sentry-sdk Requires: python3-shapely Requires: python3-typing #Requires: uranium >= %{version} Recommends: python3-zeroconf BuildArch: noarch License: LGPL-3.0-only ExcludeArch: %ix86 %arm s390 ppc AutoReqProv: no Source1: %{name}.png Source2: OrcaSlicer_Linux_V%{version}.AppImage Source3: %{name}.desktop.txt BuildRoot: %{_tmppath}/%{name}-%{version}-build %description G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.) %build %install mkdir -p %{buildroot}/usr/share/pixmaps/ install -D -m 644 %{SOURCE1} %{buildroot}/usr/share/pixmaps/%{name}.png mkdir -p %{buildroot}/opt/%{name}/ install -D -m 755 %{SOURCE2} %{buildroot}/opt/%{name}/OrcaSlicer_Linux_V%{version}.AppImage cp -f %{SOURCE3} %{buildroot}/opt/%{name}/%{name}.desktop %post # Create .desktop file rm -f %{_datadir}/applications/%{name}.desktop cat > %{_datadir}/applications/%{name}.desktop << EOM [Desktop Entry] Name=OrcaSlicer Exec=%{name} Terminal=false Type=Application Icon=%{name} StartupWMClass=Ferdium Comment=G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.) GenericName=3D Printing Software MimeType=x-scheme-handler/%{name}; Categories=Hardware;Printing; EOM # Create executable for app rm -f /usr/bin/%{name} cat > /usr/bin/%{name} << EOM #!/bin/bash LD_PRELOAD=/usr/lib64/libstdc++.so.6 /opt/%{name}/OrcaSlicer_Linux_V%{version}.AppImage EOM chmod -R +x /usr/bin/%{name} %desktop_database_post %icon_theme_cache_post %mime_database_post update-desktop-database gtk-update-icon-cache %preun if [ "$1" = 0 ]; then # Remove .desktop file rm -f %{_datadir}/applications/%{name}.desktop rm -f /usr/bin/%{name} %desktop_database_post %icon_theme_cache_post %mime_database_post update-desktop-database gtk-update-icon-cache fi %clean %files %defattr(755,root,root,755) /opt/%{name}/OrcaSlicer_Linux_V%{version}.AppImage %defattr(-,root,root) /usr/share/pixmaps/%{name}.png /opt/%{name}/%{name}.desktop %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