Private
Public Access
1
0

Fixes rpm build

This commit is contained in:
2025-08-08 13:47:21 -07:00
parent 5fa6c86a17
commit 54b76109c2
3 changed files with 34 additions and 3 deletions

30
Dockerfile Normal file
View File

@@ -0,0 +1,30 @@
FROM fedora:39
# Install RPM build tools and dependencies
RUN dnf update -y && dnf install -y \
rpm-build \
rpmdevtools \
meson \
vala \
gcc \
pkgconfig \
gtk4-devel \
libadwaita-devel \
glib2-devel \
libgee-devel \
libsecret-devel \
ImageMagick \
git \
&& dnf clean all
# Create RPM build environment
RUN rpmdev-setuptree
# Set working directory
WORKDIR /root/rpmbuild
# Copy spec file
COPY dist/rpm/kordophone.spec SPECS/
# Build command
CMD ["rpmbuild", "-ba", "SPECS/kordophone.spec"]

View File

@@ -5,7 +5,6 @@ Summary: GTK4/Libadwaita client for Kordophone
License: GPL License: GPL
URL: https://git.sr.ht/~buzzert/kordophone-2-gtk URL: https://git.sr.ht/~buzzert/kordophone-2-gtk
# Source0: %{name}-%{version}.tar.gz
BuildRequires: meson >= 0.56.0 BuildRequires: meson >= 0.56.0
BuildRequires: vala BuildRequires: vala
@@ -47,4 +46,6 @@ fi
%{_datadir}/icons/ %{_datadir}/icons/
%changelog %changelog
- Initial RPM package * Fri Aug 8 2025 James Magahern <james@magahern.com>
- Updated rpmspec

View File

@@ -28,7 +28,7 @@ app_icon_dirs = [
build_tools_dir = meson.source_root() / 'build-aux' build_tools_dir = meson.source_root() / 'build-aux'
image_magick = find_program('magick', required : true) image_magick = find_program('convert', required : true)
resizer = find_program(build_tools_dir / 'resize.py') resizer = find_program(build_tools_dir / 'resize.py')
icons = custom_target('icons', icons = custom_target('icons',
output: 'hicolor', output: 'hicolor',