308bfb5889
This should also fix the Fedora 40 mass-rebuild failure.
69 lines
1.6 KiB
RPMSpec
69 lines
1.6 KiB
RPMSpec
Name: lcms2
|
|
Version: 2.16
|
|
Release: %autorelease
|
|
Summary: Color Management Engine
|
|
# part of src/cmssm.c is softsurf (no SPDX yet) see https://gitlab.com/fedora/legal/fedora-license-data/-/issues/469
|
|
# utils/samples/mkcmy.c is libtiff - but it is not used
|
|
# plugins/threaded/src/ is GPL-3.0-or-later
|
|
License: MIT AND GPL-3.0-or-later
|
|
URL: http://www.littlecms.com/
|
|
Source0: http://www.littlecms.com/lcms2-%{version}.tar.gz
|
|
|
|
BuildRequires: gcc
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: zlib-devel
|
|
BuildRequires: meson
|
|
|
|
%description
|
|
LittleCMS intends to be a small-footprint, speed optimized color management
|
|
engine in open source form. LCMS2 is the current version of LCMS, and can be
|
|
parallel installed with the original (deprecated) lcms.
|
|
|
|
%package utils
|
|
Summary: Utility applications for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description utils
|
|
The %{name}-utils package contains utility applications for %{name}.
|
|
|
|
%package devel
|
|
Summary: Development files for LittleCMS
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Provides: littlecms-devel = %{version}-%{release}
|
|
|
|
%description devel
|
|
Development files for LittleCMS.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%meson -Dutils=true
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%check
|
|
%meson_test
|
|
|
|
%files
|
|
%doc AUTHORS
|
|
%doc ChangeLog
|
|
%doc README*
|
|
%license LICENSE
|
|
%{_libdir}/liblcms2.so.2*
|
|
|
|
%files utils
|
|
%{_bindir}/*
|
|
%{_mandir}/man1/*
|
|
|
|
%files devel
|
|
%{_includedir}/lcms2*.h
|
|
%{_libdir}/liblcms2.so
|
|
%{_libdir}/pkgconfig/lcms2.pc
|
|
|
|
%changelog
|
|
%autochangelog
|