]>
Commit | Line | Data |
---|---|---|
ddd38dbe | 1 | Summary: Little CMS - a library to transform between colour profiles |
2 | Summary(pl.UTF-8): Little CMS - biblioteka do konwersji między profilami kolorów | |
3 | Name: lcms2 | |
bbbe49a9 | 4 | Version: 2.15 |
c43438e3 | 5 | Release: 1 |
ddd38dbe | 6 | License: MIT |
7 | Group: Libraries | |
c43438e3 | 8 | Source0: https://downloads.sourceforge.net/lcms/%{name}-%{version}.tar.gz |
bbbe49a9 | 9 | # Source0-md5: d17efda96ec79ebdd5de881a93b67839 |
e026ae86 | 10 | URL: https://www.littlecms.com/ |
645a8eea | 11 | BuildRequires: autoconf >= 2.60 |
bbbe49a9 | 12 | BuildRequires: automake >= 1:1.9 |
645a8eea | 13 | BuildRequires: libjpeg-devel >= 6b |
ddd38dbe | 14 | BuildRequires: libstdc++-devel |
15 | BuildRequires: libtiff-devel | |
bbbe49a9 | 16 | BuildRequires: libtool >= 2:2 |
ddd38dbe | 17 | BuildRequires: zlib-devel |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
ddd38dbe | 20 | %description |
645a8eea JB |
21 | Little CMS intends to be a small-footprint color management engine, |
22 | with special focus on accuracy and performance. It uses the | |
23 | International Color Consortium standard (ICC), which is the modern | |
24 | standard when regarding to color management. | |
25 | ||
7d2d0c8a | 26 | Little CMS 2.12 supports ICC profile specification v4.3. |
ddd38dbe | 27 | |
28 | %description -l pl.UTF-8 | |
645a8eea JB |
29 | Little CMS jest lekkim silnikiem zarządzania kolorami, tworzonym |
30 | przede wszystkim z myślą o dokładności i wydajności. Wykorzystuje | |
31 | standard International Color Consortium (ICC), będący współczesnym | |
32 | standardem zarządzania kolorami. | |
33 | ||
7d2d0c8a | 34 | Little CMS 2.12 obsługuje specyfikację profili ICC w wersji 4.3. |
ddd38dbe | 35 | |
36 | %package devel | |
37 | Summary: Little CMS - header files and developer's documentation | |
38 | Summary(pl.UTF-8): Little CMS - pliki nagłówkowe i dokumentacja | |
39 | Group: Development/Libraries | |
40 | Requires: %{name} = %{version}-%{release} | |
41 | ||
42 | %description devel | |
43 | Header files needed to compile programs with liblcms and some | |
44 | documentation useful for programmers. | |
45 | ||
46 | %description devel -l pl.UTF-8 | |
47 | Pliki nagłówkowe potrzebne do konsolidacji z liblcms oraz dokumentacja | |
48 | dla programistów. | |
49 | ||
50 | %package static | |
51 | Summary: Little CMS - static library | |
52 | Summary(pl.UTF-8): Little CMS - biblioteka statyczna | |
53 | Group: Development/Libraries | |
54 | Requires: %{name}-devel = %{version}-%{release} | |
55 | ||
56 | %description static | |
57 | Static version of liblcms. | |
58 | ||
59 | %description static -l pl.UTF-8 | |
60 | Statyczna biblioteka liblcms. | |
61 | ||
62 | %package progs | |
63 | Summary: Example and demonstration programs for Little CMS | |
64 | Summary(pl.UTF-8): Programy przykładowe i demonstracyjne do Little CMS | |
65 | Group: Applications/Graphics | |
66 | Requires: %{name} = %{version}-%{release} | |
67 | ||
68 | %description progs | |
69 | Example and demonstration programs for Little CMS. | |
70 | ||
71 | %description progs -l pl.UTF-8 | |
72 | Programy przykładowe i demonstracyjne do Little CMS. | |
73 | ||
e026ae86 JB |
74 | %package apidocs |
75 | Summary: Little CMS 2.x API documentation and tutorial | |
76 | Summary(pl.UTF-8): Dokumentacja API i wprowadzenie do Little CMS 2.x | |
77 | Group: Documentation | |
78 | ||
79 | %description apidocs | |
80 | Little CMS 2.x API documentation and tutorial. | |
81 | ||
82 | %description apidocs -l pl.UTF-8 | |
83 | Dokumentacja API i wprowadzenie do Little CMS 2.x. | |
84 | ||
ddd38dbe | 85 | %prep |
e793c3ce | 86 | %setup -q |
ddd38dbe | 87 | |
88 | %build | |
89 | %{__libtoolize} | |
90 | %{__aclocal} | |
91 | %{__autoconf} | |
92 | %{__automake} | |
93 | %configure | |
94 | ||
95 | %{__make} | |
96 | ||
97 | %install | |
98 | rm -rf $RPM_BUILD_ROOT | |
99 | ||
100 | %{__make} install \ | |
101 | DESTDIR=$RPM_BUILD_ROOT | |
102 | ||
e026ae86 JB |
103 | # obsoleted by pkg-config |
104 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/liblcms2.la | |
105 | ||
ddd38dbe | 106 | %clean |
107 | rm -rf $RPM_BUILD_ROOT | |
108 | ||
109 | %post -p /sbin/ldconfig | |
110 | %postun -p /sbin/ldconfig | |
111 | ||
112 | %files | |
113 | %defattr(644,root,root,755) | |
d736bf90 | 114 | %doc ChangeLog AUTHORS COPYING README.1ST |
ddd38dbe | 115 | %attr(755,root,root) %{_libdir}/liblcms2.so.*.*.* |
116 | %attr(755,root,root) %ghost %{_libdir}/liblcms2.so.2 | |
117 | ||
118 | %files devel | |
119 | %defattr(644,root,root,755) | |
ddd38dbe | 120 | %attr(755,root,root) %{_libdir}/liblcms2.so |
645a8eea | 121 | %{_includedir}/lcms2*.h |
ddd38dbe | 122 | %{_pkgconfigdir}/lcms2.pc |
123 | ||
124 | %files static | |
125 | %defattr(644,root,root,755) | |
126 | %{_libdir}/liblcms2.a | |
127 | ||
128 | %files progs | |
129 | %defattr(644,root,root,755) | |
645a8eea JB |
130 | %attr(755,root,root) %{_bindir}/jpgicc |
131 | %attr(755,root,root) %{_bindir}/linkicc | |
132 | %attr(755,root,root) %{_bindir}/psicc | |
133 | %attr(755,root,root) %{_bindir}/tificc | |
134 | %attr(755,root,root) %{_bindir}/transicc | |
135 | %{_mandir}/man1/jpgicc.1* | |
e026ae86 JB |
136 | %{_mandir}/man1/linkicc.1* |
137 | %{_mandir}/man1/psicc.1* | |
645a8eea | 138 | %{_mandir}/man1/tificc.1* |
e026ae86 JB |
139 | %{_mandir}/man1/transicc.1* |
140 | ||
141 | %files apidocs | |
142 | %defattr(644,root,root,755) | |
7d2d0c8a | 143 | %doc doc/*.pdf |