]>
Commit | Line | Data |
---|---|---|
2e2307db JB |
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.4.1 | |
42dd3467 | 5 | Release: 2 |
2e2307db JB |
6 | License: BSD + IP clause |
7 | Group: Libraries | |
42dd3467 | 8 | Source0: http://downloads.sourceforge.net/ampasctl/%{name}-%{version}.tar.gz |
2e2307db | 9 | # Source0-md5: 11e215aea6c6380833ade3b576660638 |
42dd3467 JB |
10 | Patch0: %{name}-include.patch |
11 | URL: http://www.oscars.org/science-technology/council/projects/ctl.html | |
2e2307db JB |
12 | BuildRequires: ilmbase-devel >= 1.0.1 |
13 | BuildRequires: libstdc++-devel | |
14 | BuildRequires: pkgconfig | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | CTL (Color Transform Language) interpreter contains the following C++ | |
19 | libraries: | |
20 | ||
21 | IlmCtl - CTL interpreter frontend and the interpreter's public | |
22 | programming interface. | |
23 | ||
24 | IlmCtlSimd - interpreter's SIMD backend. | |
25 | ||
26 | IlmCtlMath - math routines used by IlmCtlSimd: conversions between | |
27 | standard color spaces, 1D and 3D lookup tables, 3D scattered data | |
28 | interpolation. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Interpreter CTL (Color Transform Language - języka przekształceń | |
32 | kolorów) składa się z następujących bibliotek C++: | |
33 | ||
34 | IlmCtl - frontend interpretera CTL i jego publiczny interfejs | |
35 | programistyczny. | |
36 | ||
37 | IlmCtlSimd - backend SIMD interpretera. | |
38 | ||
39 | IlmCtlMath - funkcje matematyczne wykorzystywane przez IlmCtlSimd: | |
40 | przekształcenia między standardowymi przestrzeniami kolorów, tablice | |
41 | wyszukiwań 1D i 3D, interpolacja zgromadzonych danych 3D. | |
42 | ||
43 | %package devel | |
44 | Summary: Header files for CTL library | |
45 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CTL | |
46 | Group: Development/Libraries | |
47 | Requires: %{name} = %{version}-%{release} | |
48 | Requires: ilmbase-devel >= 1.0.1 | |
49 | Requires: libstdc++-devel | |
50 | ||
51 | %description devel | |
52 | Header files for CTL library. | |
53 | ||
54 | %description devel -l pl.UTF-8 | |
55 | Pliki nagłówkowe biblioteki CTL. | |
56 | ||
57 | %package static | |
58 | Summary: Static CTL library | |
59 | Summary(pl.UTF-8): Statyczna biblioteka CTL | |
60 | Group: Development/Libraries | |
61 | Requires: %{name}-devel = %{version}-%{release} | |
62 | ||
63 | %description static | |
64 | Static CTL library. | |
65 | ||
66 | %description static -l pl.UTF-8 | |
67 | Statyczna biblioteka CTL. | |
68 | ||
69 | %prep | |
70 | %setup -q | |
42dd3467 | 71 | %patch0 -p1 |
2e2307db JB |
72 | |
73 | %build | |
74 | %configure | |
75 | %{__make} | |
76 | ||
77 | %install | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %{__make} install \ | |
81 | DESTDIR=$RPM_BUILD_ROOT | |
82 | ||
83 | %clean | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %post -p /sbin/ldconfig | |
87 | %postun -p /sbin/ldconfig | |
88 | ||
89 | %files | |
90 | %defattr(644,root,root,755) | |
91 | %doc AUTHORS COPYING ChangeLog NEWS README | |
92 | %attr(755,root,root) %{_libdir}/libIlmCtl.so.*.*.* | |
93 | %attr(755,root,root) %ghost %{_libdir}/libIlmCtl.so.2 | |
94 | %attr(755,root,root) %{_libdir}/libIlmCtlMath.so.*.*.* | |
95 | %attr(755,root,root) %ghost %{_libdir}/libIlmCtlMath.so.2 | |
96 | %attr(755,root,root) %{_libdir}/libIlmCtlSimd.so.*.*.* | |
97 | %attr(755,root,root) %ghost %{_libdir}/libIlmCtlSimd.so.2 | |
98 | ||
99 | %files devel | |
100 | %defattr(644,root,root,755) | |
101 | %doc doc/CtlManual.pdf | |
102 | %attr(755,root,root) %{_libdir}/libIlmCtl.so | |
103 | %attr(755,root,root) %{_libdir}/libIlmCtlMath.so | |
104 | %attr(755,root,root) %{_libdir}/libIlmCtlSimd.so | |
105 | %{_libdir}/libIlmCtl.la | |
106 | %{_libdir}/libIlmCtlMath.la | |
107 | %{_libdir}/libIlmCtlSimd.la | |
108 | %{_includedir}/CTL | |
109 | %{_pkgconfigdir}/CTL.pc | |
110 | ||
111 | %files static | |
112 | %defattr(644,root,root,755) | |
113 | %{_libdir}/libIlmCtl.a | |
114 | %{_libdir}/libIlmCtlMath.a | |
115 | %{_libdir}/libIlmCtlSimd.a |