Files
ctl/ctl.spec

190 lines
5.4 KiB
RPMSpec
Raw Permalink Normal View History

- Update to 1.5.4: * Issues/0146 strict aliasing violations by @michaeldsmith in #147 * Issues/0138 uint32 is deprecated by @michaeldsmith in #148 * Issues/0150 max inst count segfault by @michaeldsmith in #151 * restore tiff to vcpkg github workflow by @michaeldsmith in #152 * Fix Mac Github workflow CI by @michaeldsmith in #154 * Add soversion to IlmImfCtl too by @paolostivanin in #153 * issues/0155 - typo in set_target_properties() in /lib/dpx/CMakeLists.txt by @michaeldsmith in #156 * change from actions/checkout@v3 to actions/checkout@v4 by @michaeldsmith in #158 * remove github workflow job that only does setup of freebsd by @michaeldsmith in #159 * Issues/0134 openexr2 shared iex_debug trap by @michaeldsmith in #160 * remove centos7 from github workflow, centos7 is EOL 2024-06-30 by @michaeldsmith in #161 * add ZLIB to CMakeLists.txt target_link_libraries() by @michaeldsmith in #162 * Disambiguate clamp calls in exrToDpx.cpp by @carlocab in #164 * Ctlrender help by @aforsythe in #38 * fix missing va_end by @rex4539 in #166 * improve CMake status messages by @michaeldsmith in #169 * CodeQL - add permissions to GH workflows by @michaeldsmith in #170 * codeql/cpp-comparison-with-wider-type by @michaeldsmith in #172 * codeql/cpp-wrong-type-format-argument by @michaeldsmith in #173 * cmake/simplify-finding-openexr by @michaeldsmith in #174 * codeql/cpp/integer-multiplication-cast-to-long by @michaeldsmith in #175 * issues/0176-ctlrender-ctest-tiff32-uses-previous-ctest-output by @michaeldsmith in #177 * Add ARM Linux GitHub workflow by @michaeldsmith in #178 * Issues/0168 valgrind issue ctlrender with unsupported input format by @michaeldsmith in #179 * Issues/0180 llvm gentoo error by @michaeldsmith in #181 * Issues/0183 compile brew head by @michaeldsmith in #184 * change SOVERSION to use MAJOR.MINOR format instead of MAJOR.MINOR.PATCH by @michaeldsmith in #186 OBS-URL: https://build.opensuse.org/package/show/graphics/ctl?expand=0&rev=12
2025-10-17 07:52:01 +00:00
#
# spec file for package ctl
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define so_ver 1_5
Name: ctl
Version: 1.5.4
Release: 0
Summary: Programming language for digital color management
License: AMPAS
URL: https://github.com/ampas/CTL
Source: https://github.com/ampas/CTL/archive/refs/tags/ctl-%{version}.tar.gz
Source2: ctl-rpmlintrc
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libtiff-devel
BuildRequires: openexr-devel >= 3
%description
The Color Transformation Language (CTL) is a programming language for digital
color management systems (CMS). Color transforms are to be expressed as
programs (rather than declarations), and a CTL interpreter is used to execute
such programs and perform transformations.
Color transforms can be shared by distributing CTL programs. Two
parties with the same CTL program can apply the same transform to an
image.
%package data
Summary: Contains various CTL files
BuildArch: noarch
%description data
This package contains various CTL files.
%package devel
Summary: Development package for CTL
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: libIlmCtl%{so_ver} = %{version}
Requires: libIlmCtlMath%{so_ver} = %{version}
Requires: libIlmCtlSimd%{so_ver} = %{version}
Requires: openexr-devel >= 3
%description devel
This package contain the devel files for CTL.
%package doc
Summary: Documentation files for CTL
BuildArch: noarch
%description doc
This package provides documentation for CTL.
%package -n libIlmImfCtl%{so_ver}
Summary: OpenEXR interface to CTL
Group: System/Libraries
Requires: %{name}-data
%description -n libIlmImfCtl%{so_ver}
IlmImfCtl provides a simplified OpenEXR interface to the Color Transformation Language.
%package -n libIlmCtl%{so_ver}
Summary: Interpreter for the Color Transformation Language
Group: System/Libraries
Requires: %{name}-data
%description -n libIlmCtl%{so_ver}
The IlmCtl library provides the CTL interpreter.
%package -n libIlmCtlMath%{so_ver}
Summary: Math functions for the Color Transformation Language
Group: System/Libraries
Requires: %{name}-data
%description -n libIlmCtlMath%{so_ver}
The IlmCtlMath library contains fixed colorspace transforms
(RGB/XYZ/Luv/Lab), LUTs, matrix computation and interpolation code.
%package -n libIlmCtlSimd%{so_ver}
Summary: SIMD execution for the the Color Transformation Language
Group: System/Libraries
Requires: %{name}-data
%description -n libIlmCtlSimd%{so_ver}
The IlmCtlSimd library contains functions to use SIMD from the
CTL interpreter.
%prep
%autosetup -p1 -n CTL-%{name}-%{version}
%build
%cmake
%cmake_build
%install
%cmake_install
%ldconfig_scriptlets -n libIlmCtl%{so_ver}
%ldconfig_scriptlets -n libIlmCtlMath%{so_ver}
%ldconfig_scriptlets -n libIlmCtlSimd%{so_ver}
%ldconfig_scriptlets -n libIlmImfCtl%{so_ver}
%files
%license LICENSE
%doc CHANGELOG README.md
%{_bindir}/ctlrender
%{_bindir}/exr_ctl_exr
%{_bindir}/exrdpx
%files data
%{_datadir}/CTL/change_saturation.ctl
%{_datadir}/CTL/transform_DPX_EXR.ctl
%{_datadir}/CTL/transform_EXR_DPX.ctl
%{_datadir}/CTL/utilities.ctl
%files devel
%dir %{_includedir}/CTL
%dir %{_datadir}/CTL
%dir %{_includedir}/OpenEXR
%{_libdir}/libIlmCtl.so
%{_libdir}/libIlmCtlMath.so
%{_libdir}/libIlmCtlSimd.so
%{_libdir}/libIlmImfCtl.so
%{_includedir}/CTL/CtlAddr.h
%{_includedir}/CTL/CtlAlign.h
%{_includedir}/CTL/CtlColorSpace.h
%{_includedir}/CTL/CtlErrors.h
%{_includedir}/CTL/CtlExc.h
%{_includedir}/CTL/CtlFunctionCall.h
%{_includedir}/CTL/CtlInterpreter.h
%{_includedir}/CTL/CtlLContext.h
%{_includedir}/CTL/CtlLookupTable.h
%{_includedir}/CTL/CtlMessage.h
%{_includedir}/CTL/CtlModule.h
%{_includedir}/CTL/CtlRbfInterpolator.h
%{_includedir}/CTL/CtlRcPtr.h
%{_includedir}/CTL/CtlReadWriteAccess.h
%{_includedir}/CTL/CtlSimdInterpreter.h
%{_includedir}/CTL/CtlSparseMatrix.h
%{_includedir}/CTL/CtlStdType.h
%{_includedir}/CTL/CtlSymbolTable.h
%{_includedir}/CTL/CtlSyntaxTree.h
%{_includedir}/CTL/CtlTokens.h
%{_includedir}/CTL/CtlType.h
%{_includedir}/CTL/CtlTypeStorage.h
%{_includedir}/CTL/CtlVersion.h
%{_includedir}/OpenEXR/ImfCtlApplyTransforms.h
%files -n libIlmImfCtl%{so_ver}
%{_libdir}/libIlmImfCtl.so.*
- Update to 1.5.4: * Issues/0146 strict aliasing violations by @michaeldsmith in #147 * Issues/0138 uint32 is deprecated by @michaeldsmith in #148 * Issues/0150 max inst count segfault by @michaeldsmith in #151 * restore tiff to vcpkg github workflow by @michaeldsmith in #152 * Fix Mac Github workflow CI by @michaeldsmith in #154 * Add soversion to IlmImfCtl too by @paolostivanin in #153 * issues/0155 - typo in set_target_properties() in /lib/dpx/CMakeLists.txt by @michaeldsmith in #156 * change from actions/checkout@v3 to actions/checkout@v4 by @michaeldsmith in #158 * remove github workflow job that only does setup of freebsd by @michaeldsmith in #159 * Issues/0134 openexr2 shared iex_debug trap by @michaeldsmith in #160 * remove centos7 from github workflow, centos7 is EOL 2024-06-30 by @michaeldsmith in #161 * add ZLIB to CMakeLists.txt target_link_libraries() by @michaeldsmith in #162 * Disambiguate clamp calls in exrToDpx.cpp by @carlocab in #164 * Ctlrender help by @aforsythe in #38 * fix missing va_end by @rex4539 in #166 * improve CMake status messages by @michaeldsmith in #169 * CodeQL - add permissions to GH workflows by @michaeldsmith in #170 * codeql/cpp-comparison-with-wider-type by @michaeldsmith in #172 * codeql/cpp-wrong-type-format-argument by @michaeldsmith in #173 * cmake/simplify-finding-openexr by @michaeldsmith in #174 * codeql/cpp/integer-multiplication-cast-to-long by @michaeldsmith in #175 * issues/0176-ctlrender-ctest-tiff32-uses-previous-ctest-output by @michaeldsmith in #177 * Add ARM Linux GitHub workflow by @michaeldsmith in #178 * Issues/0168 valgrind issue ctlrender with unsupported input format by @michaeldsmith in #179 * Issues/0180 llvm gentoo error by @michaeldsmith in #181 * Issues/0183 compile brew head by @michaeldsmith in #184 * change SOVERSION to use MAJOR.MINOR format instead of MAJOR.MINOR.PATCH by @michaeldsmith in #186 OBS-URL: https://build.opensuse.org/package/show/graphics/ctl?expand=0&rev=12
2025-10-17 07:52:01 +00:00
%files -n libIlmCtl%{so_ver}
%{_libdir}/libIlmCtl.so.*
- Update to 1.5.4: * Issues/0146 strict aliasing violations by @michaeldsmith in #147 * Issues/0138 uint32 is deprecated by @michaeldsmith in #148 * Issues/0150 max inst count segfault by @michaeldsmith in #151 * restore tiff to vcpkg github workflow by @michaeldsmith in #152 * Fix Mac Github workflow CI by @michaeldsmith in #154 * Add soversion to IlmImfCtl too by @paolostivanin in #153 * issues/0155 - typo in set_target_properties() in /lib/dpx/CMakeLists.txt by @michaeldsmith in #156 * change from actions/checkout@v3 to actions/checkout@v4 by @michaeldsmith in #158 * remove github workflow job that only does setup of freebsd by @michaeldsmith in #159 * Issues/0134 openexr2 shared iex_debug trap by @michaeldsmith in #160 * remove centos7 from github workflow, centos7 is EOL 2024-06-30 by @michaeldsmith in #161 * add ZLIB to CMakeLists.txt target_link_libraries() by @michaeldsmith in #162 * Disambiguate clamp calls in exrToDpx.cpp by @carlocab in #164 * Ctlrender help by @aforsythe in #38 * fix missing va_end by @rex4539 in #166 * improve CMake status messages by @michaeldsmith in #169 * CodeQL - add permissions to GH workflows by @michaeldsmith in #170 * codeql/cpp-comparison-with-wider-type by @michaeldsmith in #172 * codeql/cpp-wrong-type-format-argument by @michaeldsmith in #173 * cmake/simplify-finding-openexr by @michaeldsmith in #174 * codeql/cpp/integer-multiplication-cast-to-long by @michaeldsmith in #175 * issues/0176-ctlrender-ctest-tiff32-uses-previous-ctest-output by @michaeldsmith in #177 * Add ARM Linux GitHub workflow by @michaeldsmith in #178 * Issues/0168 valgrind issue ctlrender with unsupported input format by @michaeldsmith in #179 * Issues/0180 llvm gentoo error by @michaeldsmith in #181 * Issues/0183 compile brew head by @michaeldsmith in #184 * change SOVERSION to use MAJOR.MINOR format instead of MAJOR.MINOR.PATCH by @michaeldsmith in #186 OBS-URL: https://build.opensuse.org/package/show/graphics/ctl?expand=0&rev=12
2025-10-17 07:52:01 +00:00
%files -n libIlmCtlMath%{so_ver}
%{_libdir}/libIlmCtlMath.so.*
- Update to 1.5.4: * Issues/0146 strict aliasing violations by @michaeldsmith in #147 * Issues/0138 uint32 is deprecated by @michaeldsmith in #148 * Issues/0150 max inst count segfault by @michaeldsmith in #151 * restore tiff to vcpkg github workflow by @michaeldsmith in #152 * Fix Mac Github workflow CI by @michaeldsmith in #154 * Add soversion to IlmImfCtl too by @paolostivanin in #153 * issues/0155 - typo in set_target_properties() in /lib/dpx/CMakeLists.txt by @michaeldsmith in #156 * change from actions/checkout@v3 to actions/checkout@v4 by @michaeldsmith in #158 * remove github workflow job that only does setup of freebsd by @michaeldsmith in #159 * Issues/0134 openexr2 shared iex_debug trap by @michaeldsmith in #160 * remove centos7 from github workflow, centos7 is EOL 2024-06-30 by @michaeldsmith in #161 * add ZLIB to CMakeLists.txt target_link_libraries() by @michaeldsmith in #162 * Disambiguate clamp calls in exrToDpx.cpp by @carlocab in #164 * Ctlrender help by @aforsythe in #38 * fix missing va_end by @rex4539 in #166 * improve CMake status messages by @michaeldsmith in #169 * CodeQL - add permissions to GH workflows by @michaeldsmith in #170 * codeql/cpp-comparison-with-wider-type by @michaeldsmith in #172 * codeql/cpp-wrong-type-format-argument by @michaeldsmith in #173 * cmake/simplify-finding-openexr by @michaeldsmith in #174 * codeql/cpp/integer-multiplication-cast-to-long by @michaeldsmith in #175 * issues/0176-ctlrender-ctest-tiff32-uses-previous-ctest-output by @michaeldsmith in #177 * Add ARM Linux GitHub workflow by @michaeldsmith in #178 * Issues/0168 valgrind issue ctlrender with unsupported input format by @michaeldsmith in #179 * Issues/0180 llvm gentoo error by @michaeldsmith in #181 * Issues/0183 compile brew head by @michaeldsmith in #184 * change SOVERSION to use MAJOR.MINOR format instead of MAJOR.MINOR.PATCH by @michaeldsmith in #186 OBS-URL: https://build.opensuse.org/package/show/graphics/ctl?expand=0&rev=12
2025-10-17 07:52:01 +00:00
%files -n libIlmCtlSimd%{so_ver}
%{_libdir}/libIlmCtlSimd.so.*
- Update to 1.5.4: * Issues/0146 strict aliasing violations by @michaeldsmith in #147 * Issues/0138 uint32 is deprecated by @michaeldsmith in #148 * Issues/0150 max inst count segfault by @michaeldsmith in #151 * restore tiff to vcpkg github workflow by @michaeldsmith in #152 * Fix Mac Github workflow CI by @michaeldsmith in #154 * Add soversion to IlmImfCtl too by @paolostivanin in #153 * issues/0155 - typo in set_target_properties() in /lib/dpx/CMakeLists.txt by @michaeldsmith in #156 * change from actions/checkout@v3 to actions/checkout@v4 by @michaeldsmith in #158 * remove github workflow job that only does setup of freebsd by @michaeldsmith in #159 * Issues/0134 openexr2 shared iex_debug trap by @michaeldsmith in #160 * remove centos7 from github workflow, centos7 is EOL 2024-06-30 by @michaeldsmith in #161 * add ZLIB to CMakeLists.txt target_link_libraries() by @michaeldsmith in #162 * Disambiguate clamp calls in exrToDpx.cpp by @carlocab in #164 * Ctlrender help by @aforsythe in #38 * fix missing va_end by @rex4539 in #166 * improve CMake status messages by @michaeldsmith in #169 * CodeQL - add permissions to GH workflows by @michaeldsmith in #170 * codeql/cpp-comparison-with-wider-type by @michaeldsmith in #172 * codeql/cpp-wrong-type-format-argument by @michaeldsmith in #173 * cmake/simplify-finding-openexr by @michaeldsmith in #174 * codeql/cpp/integer-multiplication-cast-to-long by @michaeldsmith in #175 * issues/0176-ctlrender-ctest-tiff32-uses-previous-ctest-output by @michaeldsmith in #177 * Add ARM Linux GitHub workflow by @michaeldsmith in #178 * Issues/0168 valgrind issue ctlrender with unsupported input format by @michaeldsmith in #179 * Issues/0180 llvm gentoo error by @michaeldsmith in #181 * Issues/0183 compile brew head by @michaeldsmith in #184 * change SOVERSION to use MAJOR.MINOR format instead of MAJOR.MINOR.PATCH by @michaeldsmith in #186 OBS-URL: https://build.opensuse.org/package/show/graphics/ctl?expand=0&rev=12
2025-10-17 07:52:01 +00:00
%files doc
%if 0%{?sle_version} >= 150600 || %{?suse_version} >= 1600
%dir %{_docdir}/ctl
%dir %{_docdir}/ctl/CTL
%{_docdir}/ctl/CTL/CtlManual.*
%else
%dir %{_datadir}/doc
%dir %{_datadir}/doc/CTL
%dir %{_datadir}/doc/CTL/CTL
%{_datadir}/doc/CTL/CTL/CtlManual.*
%endif
%changelog