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