Skip to content

Commit

Permalink
fix: update devpod and fix its build (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz authored Jan 11, 2025
1 parent 3056cb5 commit 42759d5
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions staging/devpod/devpod.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
%global debug_package %{nil}
%global _missing_build_ids_terminate_build 0

Name: devpod
# renovate: datasource=github-releases depName=loft-sh/devpod
Version: v0.6.7
Version: v0.6.8
Release: 1%{?dist}
Summary: Codespaces but open-source, client-only and unopinionated.

Expand All @@ -15,31 +18,24 @@ Requires: webkit2gtk4.0
%description
Codespaces but open-source, client-only and unopinionated: Works with any IDE and lets you use any cloud, kubernetes or just localhost docker.

%if 0%{?fedora} == 41
%global _missing_build_ids_terminate_build 0
%global debug_package %{nil}
%endif

%prep
%autosetup -c

%install
mkdir -p %{buildroot}%{_bindir}/
mkdir -p %{buildroot}%{_datadir}/
rm -rf usr/bin/xdg-open
rm -rf usr/share/glib-2.0
cp -rf usr/bin/* %{buildroot}%{_bindir}/
cp -rf usr/share/* %{buildroot}%{_datadir}/
rm -rf usr
install -Dm0755 -t %{buildroot}%{_bindir} usr/bin/DevPod
install -Dm0755 -t %{buildroot}%{_bindir} usr/bin/devpod-cli
install -Dm0644 -t %{buildroot}%{_datadir}/applications usr/share/applications/DevPod.desktop
install -Dm0644 -t %{buildroot}%{_datadir}/icons/hicolor/32x32/apps usr/share/icons/hicolor/32x32/apps/DevPod.png
install -Dm0644 -t %{buildroot}%{_datadir}/icons/hicolor/128x128/apps usr/share/icons/hicolor/128x128/apps/DevPod.png
install -Dm0644 -t %{buildroot}%{_datadir}/icons/hicolor/256x256@2/apps usr/share/icons/hicolor/256x256@2/apps/DevPod.png

%files
%{_bindir}/devpod-cli
%{_bindir}/DevPod
%{_datadir}/icons/hicolor/256x256@2/apps/DevPod.png
%{_datadir}/icons/hicolor/128x128/apps/DevPod.png
%{_datadir}/icons/hicolor/32x32/apps/DevPod.png
%{_datadir}/icons/hicolor/128x128/apps/DevPod.png
%{_datadir}/icons/hicolor/256x256@2/apps/DevPod.png
%{_datadir}/applications/DevPod.desktop

%changelog
* Sun Nov 03 2024 - Zeglius <[email protected]>
- Dummy changelog
%autochangelog

0 comments on commit 42759d5

Please sign in to comment.