diff --git a/libjxl.spec b/libjxl.spec index f6fa457..ee414f8 100644 --- a/libjxl.spec +++ b/libjxl.spec @@ -1,5 +1,5 @@ # -# spec file for package libjxl +# spec file for package libjxl-gtk # # Copyright (c) 2023 SUSE LLC # @@ -16,11 +16,12 @@ # -Name: libjxl %define lname libjxl0_8 %if "@BUILD_FLAVOR@" == "gtk" +Name: libjxl-gtk %bcond_without gtk %else +Name: libjxl %bcond_with gtk %endif Version: 0.8.2 @@ -106,7 +107,7 @@ This package provides a thumbnailer to render for JPEG XL file thumbnails, for example, on file-browsers. %prep -%setup -a2 +%setup -n libjxl-%version -a2 mv skcms third_party/ %build