]> git.pld-linux.org Git - packages/ctl.git/blame - ctl.spec
- release 3 (by relup.sh)
[packages/ctl.git] / ctl.spec
CommitLineData
2e2307db
JB
1Summary: Color Transform Language libraries
2Summary(pl.UTF-8): Biblioteki CTL (języka przekształceń kolorów)
3Name: ctl
8cab7dff 4Version: 1.5.2
79b5e078 5Release: 3
2e2307db
JB
6License: BSD + IP clause
7Group: Libraries
91f9a9b2 8#Source0Download: https://github.com/ampas/CTL/releases
a547a50f 9Source0: https://github.com/ampas/CTL/archive/%{name}-%{version}.tar.gz
8cab7dff 10# Source0-md5: 4796bf258d0c66d421c864996482f952
a547a50f
JB
11Patch0: %{name}-libdir.patch
12Patch1: %{name}-ctlrender.patch
b49ac05c 13Patch2: %{name}-pc.patch
91f9a9b2 14URL: https://www.oscars.org/science-technology/sci-tech-projects/color-transformation-language
a547a50f
JB
15BuildRequires: OpenEXR-devel
16BuildRequires: aces_container-devel
17BuildRequires: cmake >= 2.8
18BuildRequires: ilmbase-devel >= 2.0.0
2e2307db 19BuildRequires: libstdc++-devel
a547a50f 20BuildRequires: libtiff-devel
2e2307db 21BuildRequires: pkgconfig
a547a50f 22Requires: ilmbase >= 2.0.0
2e2307db
JB
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26CTL (Color Transform Language) interpreter contains the following C++
27libraries:
28
29IlmCtl - CTL interpreter frontend and the interpreter's public
30programming interface.
31
32IlmCtlSimd - interpreter's SIMD backend.
33
34IlmCtlMath - math routines used by IlmCtlSimd: conversions between
35standard color spaces, 1D and 3D lookup tables, 3D scattered data
36interpolation.
37
38%description -l pl.UTF-8
39Interpreter CTL (Color Transform Language - języka przekształceń
40kolorów) składa się z następujących bibliotek C++:
41
42IlmCtl - frontend interpretera CTL i jego publiczny interfejs
43programistyczny.
44
45IlmCtlSimd - backend SIMD interpretera.
46
47IlmCtlMath - funkcje matematyczne wykorzystywane przez IlmCtlSimd:
48przekształcenia między standardowymi przestrzeniami kolorów, tablice
49wyszukiwań 1D i 3D, interpolacja zgromadzonych danych 3D.
50
51%package devel
52Summary: Header files for CTL library
53Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CTL
54Group: Development/Libraries
55Requires: %{name} = %{version}-%{release}
a547a50f 56Requires: ilmbase-devel >= 2.0.0
2e2307db 57Requires: libstdc++-devel
a547a50f 58Obsoletes: ctl-static
2e2307db
JB
59
60%description devel
61Header files for CTL library.
62
63%description devel -l pl.UTF-8
64Pliki nagłówkowe biblioteki CTL.
65
a547a50f
JB
66%package -n openexr_ctl
67Summary: OpenEXR interface to CTL (Color Transform Language)
68Summary(pl.UTF-8): Interfejs OpenEXR do CTL (języka przekształceń kolorów)
69Group: Libraries
70Requires: ctl = %{version}-%{release}
71
72%description -n openexr_ctl
73IlmImfCtl provides a simplified OpenEXR interface to CTL (Color
74Transform Language).
75
76%description -n openexr_ctl -l pl.UTF-8
77IlmImfCtl udostępnia uproszczony interfejs OpenEXR do CTL (języka
78przekształceń kolorów).
79
80%package -n openexr_ctl-devel
81Summary: Header files for IlmInfCtl library
82Summary(pl.UTF-8): Pliki nagłówkowe biblioteki IlmInfCtl
2e2307db 83Group: Development/Libraries
a547a50f
JB
84Requires: OpenEXR-devel
85Requires: ctl-devel = %{version}-%{release}
86Requires: openexr_ctl = %{version}-%{release}
87Obsoletes: openexr_ctl-static
88
89%description -n openexr_ctl-devel
90Header files for IlmInfCtl library.
91
92%description -n openexr_ctl-devel -l pl.UTF-8
93Pliki nagłówkowe biblioteki IlmInfCtl.
94
95%package -n openexr_ctl-progs
96Summary: Programs utilizing OpenEXR/CTL interface
97Summary(pl.UTF-8): Programy wykorzystujące interfejs OpenEXR/CTL
98Group: Applications/Graphics
99Requires: openexr_ctl = %{version}-%{release}
100
101%description -n openexr_ctl-progs
102Programs utilizing OpenEXR/CTL interface:
103
104exrdpx is an initial version of a CTL-driven file converter that
105translates DPX files into OpenEXR files and vice versa. The conversion
106between the DPX and OpenEXR color spaces is handled by CTL transforms.
107
108exr_ctl_exr is an initial version of a program that can bake the
109effect of a series of CTL transforms into the pixels of an OpenEXR
110file.
111
112%description -n openexr_ctl-progs -l pl.UTF-8
113Programy wykorzystujące interfejs OpenEXR/CTL:
114
115exrdpx to wstępna wersja konwertera plików sterowanego CTL-em,
116tłumaczącego pliki DPX na OpenEXR i na odwrót. Przekształcenia między
117przestrzeniami kolorów DPX i OpenEXR są obsługiwane przez
118przekształcenia CTL.
2e2307db 119
a547a50f
JB
120exr_ctl_exr to wstępna wersja programu potrafiącego zamienić efekt
121serii przekształceń CTL na piksele w pliku OpenEXR.
2e2307db 122
a547a50f
JB
123%package -n ctlrender
124Summary: CLI application to apply CTL transforms to an image
125Summary(pl.UTF-8): Uruchamiany z linii poleceń program do nakładania przekształceń CTL na obraz
126Group: Applications/Graphics
127Requires: ctl = %{version}-%{release}
128
129%description -n ctlrender
130ctlrender is a command line application for applying CTL transforms to
131an image using one or more CTL scripts, potentially converting the
132file format in the process.
133
134ctlrender supports OpenEXR, TIFF, DPX, and ACES container file
135formats.
136
137%description -n ctlrender
138ctlrender to uruchamiany z linii poleceń program do nakładania
139przekształceń CTL na obraz przy użyciu jednego lub więcej skryptów
140CTL, potencjalnie także zmieniając w trakcie format pliku.
141
142ctlrender obsługuje formaty plików OpenEXR, TIFF, DPX oraz ACES.
2e2307db
JB
143
144%prep
a547a50f 145%setup -q -n CTL-%{name}-%{version}
42dd3467 146%patch0 -p1
a547a50f 147%patch1 -p1
b49ac05c 148%patch2 -p1
2e2307db
JB
149
150%build
a547a50f
JB
151%cmake . \
152 -DINSTALL_CMAKE_DIR=%{_libdir}/cmake/CTL \
153 -DINSTALL_LIB_DIR=%{_libdir}
2e2307db
JB
154%{__make}
155
156%install
157rm -rf $RPM_BUILD_ROOT
158
159%{__make} install \
160 DESTDIR=$RPM_BUILD_ROOT
161
a547a50f
JB
162# packaged as %doc
163%{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc/CTL
164
2e2307db
JB
165%clean
166rm -rf $RPM_BUILD_ROOT
167
168%post -p /sbin/ldconfig
169%postun -p /sbin/ldconfig
170
171%files
172%defattr(644,root,root,755)
a547a50f 173%doc AUTHORS CHANGELOG LICENSE README.md
2e2307db 174%attr(755,root,root) %{_libdir}/libIlmCtl.so.*.*.*
2e2307db 175%attr(755,root,root) %{_libdir}/libIlmCtlMath.so.*.*.*
2e2307db 176%attr(755,root,root) %{_libdir}/libIlmCtlSimd.so.*.*.*
d0461190 177%dir %{_datadir}/CTL
2e2307db
JB
178
179%files devel
180%defattr(644,root,root,755)
181%doc doc/CtlManual.pdf
182%attr(755,root,root) %{_libdir}/libIlmCtl.so
183%attr(755,root,root) %{_libdir}/libIlmCtlMath.so
184%attr(755,root,root) %{_libdir}/libIlmCtlSimd.so
2e2307db
JB
185%{_includedir}/CTL
186%{_pkgconfigdir}/CTL.pc
a547a50f
JB
187%{_libdir}/cmake/CTL
188
189%files -n openexr_ctl
190%defattr(644,root,root,755)
191%doc OpenEXR_CTL/README
192%attr(755,root,root) %{_libdir}/libIlmImfCtl.so
193
194%files -n openexr_ctl-devel
195%defattr(644,root,root,755)
196#%attr(755,root,root) %{_libdir}/libIlmImfCtl.so
197%{_includedir}/OpenEXR/ImfCtlApplyTransforms.h
198%{_pkgconfigdir}/OpenEXR_CTL.pc
199
200%files -n openexr_ctl-progs
201%defattr(644,root,root,755)
202%attr(755,root,root) %{_bindir}/exr_ctl_exr
203%attr(755,root,root) %{_bindir}/exrdpx
d0461190
JB
204%{_datadir}/CTL/change_saturation.ctl
205%{_datadir}/CTL/transform_DPX_EXR.ctl
206%{_datadir}/CTL/transform_EXR_DPX.ctl
207%{_datadir}/CTL/utilities.ctl
2e2307db 208
a547a50f 209%files -n ctlrender
2e2307db 210%defattr(644,root,root,755)
a547a50f 211%attr(755,root,root) %{_bindir}/ctlrender
This page took 0.057862 seconds and 4 git commands to generate.