]> git.pld-linux.org Git - packages/ctl.git/blob - ctl.spec
- added link patch (missing linking with -lImath)
[packages/ctl.git] / ctl.spec
1 Summary:        Color Transform Language libraries
2 Summary(pl.UTF-8):      Biblioteki CTL (języka przekształceń kolorów)
3 Name:           ctl
4 Version:        1.5.2
5 Release:        2
6 License:        BSD + IP clause
7 Group:          Libraries
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)
23
24 %description
25 CTL (Color Transform Language) interpreter contains the following C++
26 libraries:
27
28 IlmCtl - CTL interpreter frontend and the interpreter's public
29 programming interface.
30
31 IlmCtlSimd - interpreter's SIMD backend.
32
33 IlmCtlMath - math routines used by IlmCtlSimd: conversions between
34 standard color spaces, 1D and 3D lookup tables, 3D scattered data
35 interpolation.
36
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++:
40
41 IlmCtl - frontend interpretera CTL i jego publiczny interfejs
42 programistyczny.
43
44 IlmCtlSimd - backend SIMD interpretera.
45
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.
49
50 %package devel
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
57 Obsoletes:      ctl-static
58
59 %description devel
60 Header files for CTL library.
61
62 %description devel -l pl.UTF-8
63 Pliki nagłówkowe biblioteki CTL.
64
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)
68 Group:          Libraries
69 Requires:       ctl = %{version}-%{release}
70
71 %description -n openexr_ctl
72 IlmImfCtl provides a simplified OpenEXR interface to CTL (Color
73 Transform Language).
74
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).
78
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
87
88 %description -n openexr_ctl-devel
89 Header files for IlmInfCtl library.
90
91 %description -n openexr_ctl-devel -l pl.UTF-8
92 Pliki nagłówkowe biblioteki IlmInfCtl.
93
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}
99
100 %description -n openexr_ctl-progs
101 Programs utilizing OpenEXR/CTL interface:
102
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.
106
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
109 file.
110
111 %description -n openexr_ctl-progs -l pl.UTF-8
112 Programy wykorzystujące interfejs OpenEXR/CTL:
113
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
117 przekształcenia CTL.
118
119 exr_ctl_exr to wstępna wersja programu potrafiącego zamienić efekt
120 serii przekształceń CTL na piksele w pliku OpenEXR.
121
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}
127
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.
132
133 ctlrender supports OpenEXR, TIFF, DPX, and ACES container file
134 formats.
135
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.
140
141 ctlrender obsługuje formaty plików OpenEXR, TIFF, DPX oraz ACES.
142
143 %prep
144 %setup -q -n CTL-%{name}-%{version}
145 %patch0 -p1
146 %patch1 -p1
147 %patch2 -p1
148
149 %build
150 %cmake . \
151         -DINSTALL_CMAKE_DIR=%{_libdir}/cmake/CTL \
152         -DINSTALL_LIB_DIR=%{_libdir}
153 %{__make}
154
155 %install
156 rm -rf $RPM_BUILD_ROOT
157
158 %{__make} install \
159         DESTDIR=$RPM_BUILD_ROOT
160
161 # packaged as %doc
162 %{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc/CTL
163
164 %clean
165 rm -rf $RPM_BUILD_ROOT
166
167 %post   -p /sbin/ldconfig
168 %postun -p /sbin/ldconfig
169
170 %files
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.*.*.*
176 %dir %{_datadir}/CTL
177
178 %files devel
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
184 %{_includedir}/CTL
185 %{_pkgconfigdir}/CTL.pc
186 %{_libdir}/cmake/CTL
187
188 %files -n openexr_ctl
189 %defattr(644,root,root,755)
190 %doc OpenEXR_CTL/README
191 %attr(755,root,root) %{_libdir}/libIlmImfCtl.so
192
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
198
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
207
208 %files -n ctlrender
209 %defattr(644,root,root,755)
210 %attr(755,root,root) %{_bindir}/ctlrender
This page took 0.071512 seconds and 3 git commands to generate.