]> git.pld-linux.org Git - packages/openexr_ctl.git/blob - openexr_ctl.spec
97ef09a2ae63f0f2988b31297ed2e896f08a8b42
[packages/openexr_ctl.git] / openexr_ctl.spec
1 Summary:        OpenEXR interface to CTL (Color Transform Language)
2 Summary(pl.UTF-8):      Interfejs OpenEXR do CTL (języka przekształceń kolorów)
3 Name:           openexr_ctl
4 Version:        1.0.1
5 Release:        1
6 License:        BSD + IP clause
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/ampasctl/%{name}-%{version}.tar.gz
9 # Source0-md5:  035a68db3b1cc40fe99a7c4012d7f024
10 URL:            http://www.oscars.org/council/ctl.html
11 BuildRequires:  OpenEXR-devel >= 1.6.1
12 BuildRequires:  ctl-devel >= 1.4.1
13 BuildRequires:  libstdc++-devel
14 BuildRequires:  pkgconfig
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 IlmImfCtl provides a simplified OpenEXR interface to CTL (Color
19 Transform Language).
20
21 %description -l pl.UTF-8
22 IlmImfCtl udostępnia uproszczony interfejs OpenEXR do CTL (języka
23 przekształceń kolorów).
24
25 %package devel
26 Summary:        Header files for IlmInfCtl library
27 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki IlmInfCtl
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}-%{release}
30 Requires:       OpenEXR-devel >= 1.6.1
31 Requires:       ctl-devel >= 1.4.1
32 Requires:       libstdc++-devel
33
34 %description devel
35 Header files for IlmInfCtl library.
36
37 %description devel -l pl.UTF-8
38 Pliki nagłówkowe biblioteki IlmInfCtl.
39
40 %package static
41 Summary:        Static IlmInfCtl library
42 Summary(pl.UTF-8):      Statyczna biblioteka IlmInfCtl
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}-%{release}
45
46 %description static
47 Static IlmInfCtl library.
48
49 %description static -l pl.UTF-8
50 Statyczna biblioteka IlmInfCtl.
51
52 %package progs
53 Summary:        Programs utilizing OpenEXR/CTL interface
54 Summary(pl.UTF-8):      Programy wykorzystujące interfejs OpenEXR/CTL
55 Group:          Applications/Graphics
56 Requires:       %{name} = %{version}-%{release}
57
58 %description progs
59 Programs utilizing OpenEXR/CTL interface:
60
61 exrdpx is an initial version of a CTL-driven file converter that
62 translates DPX files into OpenEXR files and vice versa. The conversion
63 between the DPX and OpenEXR color spaces is handled by CTL transforms.
64
65 exr_ctl_exr is an initial version of a program that can bake the
66 effect of a series of CTL transforms into the pixels of an OpenEXR
67 file.
68
69 %description progs -l pl.UTF-8
70 Programy wykorzystujące interfejs OpenEXR/CTL:
71
72 exrdpx to wstępna wersja konwertera plików sterowanego CTL-em,
73 tłumaczącego pliki DPX na OpenEXR i na odwrót. Przekształcenia między
74 przestrzeniami kolorów DPX i OpenEXR są obsługiwane przez
75 przekształcenia CTL.
76
77 exr_ctl_exr to wstępna wersja programu potrafiącego zamienić efekt
78 serii przekształceń CTL na piksele w pliku OpenEXR.
79
80 %prep
81 %setup -q
82
83 %build
84 %configure
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 # CTL module dir is hardcoded as %{_prefix}/lib/CTL, so force installation there
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT \
93         ctldatadir=%{_prefix}/lib/CTL
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %post   -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
100
101 %files
102 %defattr(644,root,root,755)
103 %doc AUTHORS COPYING ChangeLog NEWS README
104 %attr(755,root,root) %{_libdir}/libIlmImfCtl.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libIlmImfCtl.so.2
106
107 %files devel
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/libIlmImfCtl.so
110 %{_libdir}/libIlmImfCtl.la
111 %{_includedir}/OpenEXR/ImfCtl*.h
112 %{_pkgconfigdir}/OpenEXR_CTL.pc
113
114 %files static
115 %defattr(644,root,root,755)
116 %{_libdir}/libIlmImfCtl.a
117
118 %files progs
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_bindir}/exr_ctl_exr
121 %attr(755,root,root) %{_bindir}/exrdpx
122 %{_prefix}/lib/CTL
This page took 0.048942 seconds and 2 git commands to generate.