CTL/CTL.spec

286 lines
9.6 KiB
RPMSpec
Raw Normal View History

2007-11-17 00:37:47 +00:00
Name: CTL
2018-07-18 20:12:58 +00:00
Version: 1.5.2
Release: 19%{?dist}
2007-11-17 00:37:47 +00:00
Summary: The Color Transformation Language
License: AMPAS BSD
2018-07-18 20:12:58 +00:00
URL: http://github.com/ampas/CTL
Source0: %{url}/archive/ctl-%{version}/%{name}-%{version}.tar.gz
2018-10-01 13:41:27 +00:00
Patch0: ctl-1.5.2-dpx.patch
Patch1: ctl-1.5.2-ilmctl.patch
2019-04-10 19:48:40 +00:00
# https://github.com/ampas/CTL/issues/71
Patch2: ctl-1.5.2-ilm_230.patch
Patch3: ctl-gcc11.patch
2018-07-18 20:12:58 +00:00
BuildRequires: gcc-c++
BuildRequires: cmake
2007-11-17 00:37:47 +00:00
# http://bugzilla.redhat.com/357461
# The CTL license is ok, Free but GPL Incompatible.
2018-07-18 20:12:58 +00:00
BuildRequires: aces_container-devel
2021-08-01 13:27:46 +00:00
# As of OpenEXR 3 upstream has significantly reorganized the libraries
# including splitting out imath as a standalone library (which this project may
# or may not need). Please see
# https://github.com/AcademySoftwareFoundation/Imath/blob/master/docs/PortingGuide2-3.md
# for porting details and encourage upstream to support it. For now a 2.x
# compat package is provided.
%if 0%{?fedora} > 33
BuildRequires: cmake(OpenEXR) < 3
%else
2018-07-18 20:12:58 +00:00
BuildRequires: OpenEXR-devel
2021-08-01 13:27:46 +00:00
BuildRequires: ilmbase-devel
%endif
2018-07-18 20:12:58 +00:00
BuildRequires: libtiff-devel
# Provide this package as case-insensitive
Provides: ctl = %{version}-%{release}
2018-11-05 10:53:19 +00:00
# Obsoletes old libraries - rhbz#1644764
Provides: OpenEXR_CTL-libs = %{version}-%{release}
Obsoletes: OpenEXR_CTL-libs < 1.5.2-1
2018-07-18 20:12:58 +00:00
2007-11-17 00:37:47 +00:00
%description
The Color Transformation Language, or CTL, is a programming language
for digital color management.
%package devel
Summary: Development files for %{name}
2018-07-18 20:12:58 +00:00
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: ilmbase-devel%{?_isa}
Requires: OpenEXR-devel%{?_isa}
2018-07-19 10:31:12 +00:00
Provides: OpenEXR_CTL-devel = %{version}-%{release}
Obsoletes: OpenEXR_CTL-devel < 1.5.2-1
2007-11-17 00:37:47 +00:00
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package docs
Summary: Documentation for %{name}
%description docs
This package contains documentation files for %{name}.
2018-07-18 20:12:58 +00:00
%package -n OpenEXR_CTL
Summary: A simplified OpenEXR interface to CTL
Requires: %{name}%{?_isa} = %{version}-%{release}
2007-11-17 00:37:47 +00:00
2018-07-18 20:12:58 +00:00
%description -n OpenEXR_CTL
exrdpx is an initial version of a CTL-driven file converter
that translates DPX files into OpenEXR files and vice versa.
The conversion between the DPX and OpenEXR color spaces is
handled by CTL transforms.
2007-11-17 00:37:47 +00:00
2018-07-18 20:12:58 +00:00
exr_ctl_exr is an initial version of a program that can bake
the effect of a series of CTL transforms into the pixels of
an OpenEXR file.
2007-11-17 00:37:47 +00:00
2018-07-18 20:12:58 +00:00
%prep
%autosetup -p1 -n CTL-ctl-%{version}
2007-11-17 00:37:47 +00:00
2018-07-18 20:12:58 +00:00
%build
%cmake \
-DINSTALL_LIB_DIR:PATH=%{_lib} \
2020-10-07 05:42:55 +00:00
-DINSTALL_CMAKE_DIR:PATH=%{_lib}/cmake/%{name}
2008-02-09 14:25:41 +00:00
2020-10-07 05:42:55 +00:00
%cmake_build
2007-11-17 00:37:47 +00:00
%install
2020-10-07 05:42:55 +00:00
%cmake_install
2018-07-18 20:12:58 +00:00
find %{buildroot} -name '*.la' -exec rm -f {} ';'
2007-11-17 00:37:47 +00:00
2018-07-18 20:12:58 +00:00
# Move libraries in the correct place
2020-04-02 10:42:22 +00:00
%if "%{_lib}" == "lib64"
2018-07-18 20:12:58 +00:00
mv %{buildroot}%{_prefix}/lib/* \
%{buildroot}%{_prefix}/%{_lib}
rmdir %{buildroot}%{_prefix}/lib
%endif
2007-11-17 00:37:47 +00:00
2018-07-18 20:12:58 +00:00
# Remove installed docs
rm -rf %{buildroot}%{_docdir}
rm -rf %{buildroot}%{_prefix}/doc
2007-11-17 00:37:47 +00:00
2018-07-18 20:12:58 +00:00
%ldconfig_scriptlets
2007-11-17 00:37:47 +00:00
%files
2018-07-18 20:12:58 +00:00
%doc AUTHORS CHANGELOG README.md
%license LICENSE
2007-11-17 00:37:47 +00:00
%{_libdir}/*.so.*
2018-07-18 20:12:58 +00:00
%{_libdir}/CTL
2007-11-17 00:37:47 +00:00
%files devel
%{_includedir}/CTL/
2018-07-18 20:12:58 +00:00
%{_includedir}/OpenEXR/ImfCtlApplyTransforms.h
2007-11-17 00:37:47 +00:00
%{_libdir}/*.so
2018-07-18 20:12:58 +00:00
%{_libdir}/cmake/CTL/*.cmake
2007-11-17 00:37:47 +00:00
%{_libdir}/pkgconfig/CTL.pc
2018-07-18 20:12:58 +00:00
%{_libdir}/pkgconfig/OpenEXR_CTL.pc
2007-11-17 00:37:47 +00:00
%files docs
%doc doc/CtlManual.pdf doc/CtlManual.doc
2018-07-18 20:12:58 +00:00
%files -n OpenEXR_CTL
%{_bindir}/ctlrender
%{_bindir}/exr_ctl_exr
%{_bindir}/exrdpx
2007-11-17 00:37:47 +00:00
%changelog
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2021-08-01 13:27:46 +00:00
* Sun Aug 01 2021 Richard Shaw <hobbes1069@gmail.com> - 1.5.2-17
- Move to openexr2 compat package.
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2021-01-01 22:17:47 +00:00
* Fri Jan 01 2021 Richard Shaw <hobbes1069@gmail.com> - 1.5.2-14
- Rebuild for OpenEXR 2.5.3.
* Tue Oct 13 2020 Jeff Law <law@redhat.com> - 1.5.2-13
- Fix deprecated use of std::istream::streampos
2020-10-07 05:42:55 +00:00
* Wed Oct 07 2020 Nicolas Chauvet <kwizart@gmail.com> - 1.5.2-12
- Fix FTBFS
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-11
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-04-02 11:26:05 +00:00
* Thu Apr 02 2020 Björn Esser <besser82@fedoraproject.org> - 1.5.2-9
- Fix string quoting for rpm >= 4.16
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-04-10 19:16:10 +00:00
* Wed Apr 10 2019 Richard Shaw <hobbes1069@gmail.com> - 1.5.2-6
- Rebuild for OpenEXR 2.3.0.
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2018-11-05 10:53:19 +00:00
* Mon Nov 05 2018 Nicolas Chauvet <kwizart@gmail.com> - 1.5.2-4
- Obsoletes old libraries - rhbz#1644764
2018-10-01 13:41:27 +00:00
* Mon Oct 01 2018 Nicolas Chauvet <kwizart@gmail.com> - 1.5.2-3
- Fix soname
2018-07-19 10:31:12 +00:00
* Thu Jul 19 2018 Nicolas Chauvet <kwizart@gmail.com> - 1.5.2-2
- Add Obsoletes/Provides for OpenEXR_CTL
2018-07-18 20:12:58 +00:00
* Tue Jul 17 2018 Nicolas Chauvet <kwizart@gmail.com> - 1.5.2-1
- Update to 1.5.2
- Merge OpenEXR_CTL into CTL
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-05-02 11:12:52 +00:00
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.4.1-23
- Rebuilt for GCC 5 C++11 ABI change
2014-11-25 19:50:02 +00:00
* Tue Nov 25 2014 Rex Dieter <rdieter@fedoraproject.org> 1.4.1-22
- rebuild (ilmbase)
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2013-11-27 16:33:23 +00:00
* Wed Nov 27 2013 Rex Dieter <rdieter@fedoraproject.org> 1.4.1-19
- rebuild (ilmbase)
2013-09-09 01:50:14 +00:00
* Sun Sep 08 2013 Rex Dieter <rdieter@fedoraproject.org> 1.4.1-18
- rebuild (ilmbase)
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-02-28 17:27:12 +00:00
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-14
- Rebuilt for c++ ABI breakage
* Thu Jan 19 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.4.1-13
- Add ctl-1.4.1-gcc47.patch (Fix mass rebuild FTBFS).
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2009-02-03 19:27:44 +00:00
* Tue Feb 3 2009 kwizart < kwizart at gmail.com > - 1.4.1-8
- Rebuild for pkgconfig(CTL)
2008-10-03 13:42:54 +00:00
* Fri Oct 3 2008 kwizart < kwizart at gmail.com > - 1.4.1-7
- Rebuild for F-10
2008-02-09 14:25:41 +00:00
* Sat Feb 9 2008 kwizart < kwizart at gmail.com > - 1.4.1-6
- Rebuild for gcc43
* Wed Jan 9 2008 kwizart < kwizart at gmail.com > - 1.4.1-5
- clean unused-direct-shlib-dependencies
2008-01-08 18:34:23 +00:00
* Tue Jan 8 2008 kwizart < kwizart at gmail.com > - 1.4.1-4
- Fix gcc43
2007-11-17 00:37:47 +00:00
* Fri Nov 9 2007 kwizart < kwizart at gmail.com > - 1.4.1-3
- Change package name from ctl to CTL
* Wed Nov 7 2007 kwizart < kwizart at gmail.com > - 1.4.1-2
- Improve license URL
- Use IlmBase.pc for pkg-config
- Fix perms in debuginfo
* Mon Oct 29 2007 kwizart < kwizart at gmail.com > - 1.4.1-1
- Initial package for Fedora