1 Summary: Color Transform Language libraries
2 Summary(pl.UTF-8): Biblioteki CTL (języka przekształceń kolorów)
6 License: BSD + IP clause
8 Source0: https://github.com/ampas/CTL/archive/%{name}-%{version}.tar.gz
9 # Source0-md5: 4796bf258d0c66d421c864996482f952
10 Patch0: %{name}-libdir.patch
11 Patch1: %{name}-ctlrender.patch
12 Patch2: %{name}-pc.patch
13 URL: http://www.oscars.org/science-technology/council/projects/ctl.html
14 BuildRequires: OpenEXR-devel
15 BuildRequires: aces_container-devel
16 BuildRequires: cmake >= 2.8
17 BuildRequires: ilmbase-devel >= 2.0.0
18 BuildRequires: libstdc++-devel
19 BuildRequires: libtiff-devel
20 BuildRequires: pkgconfig
21 Requires: ilmbase >= 2.0.0
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 CTL (Color Transform Language) interpreter contains the following C++
28 IlmCtl - CTL interpreter frontend and the interpreter's public
29 programming interface.
31 IlmCtlSimd - interpreter's SIMD backend.
33 IlmCtlMath - math routines used by IlmCtlSimd: conversions between
34 standard color spaces, 1D and 3D lookup tables, 3D scattered data
37 %description -l pl.UTF-8
38 Interpreter CTL (Color Transform Language - języka przekształceń
39 kolorów) składa się z następujących bibliotek C++:
41 IlmCtl - frontend interpretera CTL i jego publiczny interfejs
44 IlmCtlSimd - backend SIMD interpretera.
46 IlmCtlMath - funkcje matematyczne wykorzystywane przez IlmCtlSimd:
47 przekształcenia między standardowymi przestrzeniami kolorów, tablice
48 wyszukiwań 1D i 3D, interpolacja zgromadzonych danych 3D.
51 Summary: Header files for CTL library
52 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CTL
53 Group: Development/Libraries
54 Requires: %{name} = %{version}-%{release}
55 Requires: ilmbase-devel >= 2.0.0
56 Requires: libstdc++-devel
60 Header files for CTL library.
62 %description devel -l pl.UTF-8
63 Pliki nagłówkowe biblioteki CTL.
65 %package -n openexr_ctl
66 Summary: OpenEXR interface to CTL (Color Transform Language)
67 Summary(pl.UTF-8): Interfejs OpenEXR do CTL (języka przekształceń kolorów)
69 Requires: ctl = %{version}-%{release}
71 %description -n openexr_ctl
72 IlmImfCtl provides a simplified OpenEXR interface to CTL (Color
75 %description -n openexr_ctl -l pl.UTF-8
76 IlmImfCtl udostępnia uproszczony interfejs OpenEXR do CTL (języka
77 przekształceń kolorów).
79 %package -n openexr_ctl-devel
80 Summary: Header files for IlmInfCtl library
81 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki IlmInfCtl
82 Group: Development/Libraries
83 Requires: OpenEXR-devel
84 Requires: ctl-devel = %{version}-%{release}
85 Requires: openexr_ctl = %{version}-%{release}
86 Obsoletes: openexr_ctl-static
88 %description -n openexr_ctl-devel
89 Header files for IlmInfCtl library.
91 %description -n openexr_ctl-devel -l pl.UTF-8
92 Pliki nagłówkowe biblioteki IlmInfCtl.
94 %package -n openexr_ctl-progs
95 Summary: Programs utilizing OpenEXR/CTL interface
96 Summary(pl.UTF-8): Programy wykorzystujące interfejs OpenEXR/CTL
97 Group: Applications/Graphics
98 Requires: openexr_ctl = %{version}-%{release}
100 %description -n openexr_ctl-progs
101 Programs utilizing OpenEXR/CTL interface:
103 exrdpx is an initial version of a CTL-driven file converter that
104 translates DPX files into OpenEXR files and vice versa. The conversion
105 between the DPX and OpenEXR color spaces is handled by CTL transforms.
107 exr_ctl_exr is an initial version of a program that can bake the
108 effect of a series of CTL transforms into the pixels of an OpenEXR
111 %description -n openexr_ctl-progs -l pl.UTF-8
112 Programy wykorzystujące interfejs OpenEXR/CTL:
114 exrdpx to wstępna wersja konwertera plików sterowanego CTL-em,
115 tłumaczącego pliki DPX na OpenEXR i na odwrót. Przekształcenia między
116 przestrzeniami kolorów DPX i OpenEXR są obsługiwane przez
119 exr_ctl_exr to wstępna wersja programu potrafiącego zamienić efekt
120 serii przekształceń CTL na piksele w pliku OpenEXR.
122 %package -n ctlrender
123 Summary: CLI application to apply CTL transforms to an image
124 Summary(pl.UTF-8): Uruchamiany z linii poleceń program do nakładania przekształceń CTL na obraz
125 Group: Applications/Graphics
126 Requires: ctl = %{version}-%{release}
128 %description -n ctlrender
129 ctlrender is a command line application for applying CTL transforms to
130 an image using one or more CTL scripts, potentially converting the
131 file format in the process.
133 ctlrender supports OpenEXR, TIFF, DPX, and ACES container file
136 %description -n ctlrender
137 ctlrender to uruchamiany z linii poleceń program do nakładania
138 przekształceń CTL na obraz przy użyciu jednego lub więcej skryptów
139 CTL, potencjalnie także zmieniając w trakcie format pliku.
141 ctlrender obsługuje formaty plików OpenEXR, TIFF, DPX oraz ACES.
144 %setup -q -n CTL-%{name}-%{version}
151 -DINSTALL_CMAKE_DIR=%{_libdir}/cmake/CTL \
152 -DINSTALL_LIB_DIR=%{_libdir}
156 rm -rf $RPM_BUILD_ROOT
159 DESTDIR=$RPM_BUILD_ROOT
162 %{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc/CTL
165 rm -rf $RPM_BUILD_ROOT
167 %post -p /sbin/ldconfig
168 %postun -p /sbin/ldconfig
171 %defattr(644,root,root,755)
172 %doc AUTHORS CHANGELOG LICENSE README.md
173 %attr(755,root,root) %{_libdir}/libIlmCtl.so.*.*.*
174 %attr(755,root,root) %{_libdir}/libIlmCtlMath.so.*.*.*
175 %attr(755,root,root) %{_libdir}/libIlmCtlSimd.so.*.*.*
179 %defattr(644,root,root,755)
180 %doc doc/CtlManual.pdf
181 %attr(755,root,root) %{_libdir}/libIlmCtl.so
182 %attr(755,root,root) %{_libdir}/libIlmCtlMath.so
183 %attr(755,root,root) %{_libdir}/libIlmCtlSimd.so
185 %{_pkgconfigdir}/CTL.pc
188 %files -n openexr_ctl
189 %defattr(644,root,root,755)
190 %doc OpenEXR_CTL/README
191 %attr(755,root,root) %{_libdir}/libIlmImfCtl.so
193 %files -n openexr_ctl-devel
194 %defattr(644,root,root,755)
195 #%attr(755,root,root) %{_libdir}/libIlmImfCtl.so
196 %{_includedir}/OpenEXR/ImfCtlApplyTransforms.h
197 %{_pkgconfigdir}/OpenEXR_CTL.pc
199 %files -n openexr_ctl-progs
200 %defattr(644,root,root,755)
201 %attr(755,root,root) %{_bindir}/exr_ctl_exr
202 %attr(755,root,root) %{_bindir}/exrdpx
203 %{_datadir}/CTL/change_saturation.ctl
204 %{_datadir}/CTL/transform_DPX_EXR.ctl
205 %{_datadir}/CTL/transform_EXR_DPX.ctl
206 %{_datadir}/CTL/utilities.ctl
209 %defattr(644,root,root,755)
210 %attr(755,root,root) %{_bindir}/ctlrender