Update Dockerfile and spec file to refine build dependencies and add RPM linting
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
FROM rockylinux/rockylinux:10.1.20251123-minimal AS base
|
FROM rockylinux/rockylinux:10.1.20251123 AS base
|
||||||
|
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -25,6 +25,7 @@ RUN dnf update -y && dnf install -y \
|
|||||||
RUN crb enable
|
RUN crb enable
|
||||||
|
|
||||||
RUN dnf install -y \
|
RUN dnf install -y \
|
||||||
|
cfitsio-devel \
|
||||||
fftw-devel \
|
fftw-devel \
|
||||||
fontconfig-devel \
|
fontconfig-devel \
|
||||||
ImageMagick-devel \
|
ImageMagick-devel \
|
||||||
@@ -37,7 +38,7 @@ RUN dnf install -y \
|
|||||||
openexr-devel \
|
openexr-devel \
|
||||||
openjpeg2-devel \
|
openjpeg2-devel \
|
||||||
openslide-devel \
|
openslide-devel \
|
||||||
poppler-devel \
|
poppler-glib-devel \
|
||||||
rpmlint \
|
rpmlint \
|
||||||
&& dnf clean all
|
&& dnf clean all
|
||||||
|
|
||||||
|
|||||||
@@ -10,11 +10,7 @@ ExclusiveArch: x86_64
|
|||||||
Source: https://github.com/libvips/libvips/releases/download/v%{LIBVIPS_VERSION}/vips-%{LIBVIPS_VERSION}.tar.xz
|
Source: https://github.com/libvips/libvips/releases/download/v%{LIBVIPS_VERSION}/vips-%{LIBVIPS_VERSION}.tar.xz
|
||||||
URL: https://www.libvips.org/
|
URL: https://www.libvips.org/
|
||||||
|
|
||||||
Requires: cairo
|
BuildRequires: cfitsio-devel
|
||||||
Requires: expat
|
|
||||||
Requires: openexr
|
|
||||||
Requires: openjpeg2
|
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
BuildRequires: fftw-devel
|
BuildRequires: fftw-devel
|
||||||
@@ -38,10 +34,9 @@ BuildRequires: ninja-build
|
|||||||
BuildRequires: openexr-devel
|
BuildRequires: openexr-devel
|
||||||
BuildRequires: openjpeg2-devel
|
BuildRequires: openjpeg2-devel
|
||||||
BuildRequires: openslide-devel
|
BuildRequires: openslide-devel
|
||||||
BuildRequires: poppler-devel
|
BuildRequires: poppler-glib-devel
|
||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libvips is a demand-driven, horizontally threaded image processing library.
|
libvips is a demand-driven, horizontally threaded image processing library.
|
||||||
Compared to similar libraries, libvips runs quickly and uses little memory.
|
Compared to similar libraries, libvips runs quickly and uses little memory.
|
||||||
@@ -93,5 +88,5 @@ meson install -C build --destdir %{buildroot}
|
|||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
%%changelog
|
%%changelog
|
||||||
* Wed Jun 03 2026 Marko Zivanovic <marko@zivanovic.email> - 8.18.2-1
|
* Wed Jun 6 2026 Marko Zivanovic <marko@zivanovic.email> - 8.18.2-1
|
||||||
- Initial package.
|
- Initial package.
|
||||||
|
|||||||
Reference in New Issue
Block a user