]>
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 | |
499d7d8a | 4 | Version: 2.9 |
a527e8ca | 5 | Release: 1 |
ddd38dbe | 6 | License: MIT |
7 | Group: Libraries | |
e793c3ce | 8 | Source0: http://downloads.sourceforge.net/lcms/%{name}-%{version}.tar.gz |
499d7d8a | 9 | # Source0-md5: 758fd9a381ee1b6f058742f6f33c965b |
ddd38dbe | 10 | URL: http://www.littlecms.com/ |
645a8eea | 11 | BuildRequires: autoconf >= 2.60 |
ddd38dbe | 12 | BuildRequires: automake >= 1:1.7.2 |
645a8eea | 13 | BuildRequires: libjpeg-devel >= 6b |
ddd38dbe | 14 | BuildRequires: libstdc++-devel |
15 | BuildRequires: libtiff-devel | |
16 | BuildRequires: libtool >= 1:1.4.2-9 | |
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 | ||
26 | Little CMS 2.x supports ICC profile specification v4.2 plus all | |
27 | addendums. | |
ddd38dbe | 28 | |
29 | %description -l pl.UTF-8 | |
645a8eea JB |
30 | Little CMS jest lekkim silnikiem zarządzania kolorami, tworzonym |
31 | przede wszystkim z myślą o dokładności i wydajności. Wykorzystuje | |
32 | standard International Color Consortium (ICC), będący współczesnym | |
33 | standardem zarządzania kolorami. | |
34 | ||
35 | Little CMS 2.x obsługuje specyfikację profili ICC w wersji 4.2 ze | |
36 | wszystkimi poprawkami. | |
ddd38dbe | 37 | |
38 | %package devel | |
39 | Summary: Little CMS - header files and developer's documentation | |
40 | Summary(pl.UTF-8): Little CMS - pliki nagłówkowe i dokumentacja | |
41 | Group: Development/Libraries | |
42 | Requires: %{name} = %{version}-%{release} | |
43 | ||
44 | %description devel | |
45 | Header files needed to compile programs with liblcms and some | |
46 | documentation useful for programmers. | |
47 | ||
48 | %description devel -l pl.UTF-8 | |
49 | Pliki nagłówkowe potrzebne do konsolidacji z liblcms oraz dokumentacja | |
50 | dla programistów. | |
51 | ||
52 | %package static | |
53 | Summary: Little CMS - static library | |
54 | Summary(pl.UTF-8): Little CMS - biblioteka statyczna | |
55 | Group: Development/Libraries | |
56 | Requires: %{name}-devel = %{version}-%{release} | |
57 | ||
58 | %description static | |
59 | Static version of liblcms. | |
60 | ||
61 | %description static -l pl.UTF-8 | |
62 | Statyczna biblioteka liblcms. | |
63 | ||
64 | %package progs | |
65 | Summary: Example and demonstration programs for Little CMS | |
66 | Summary(pl.UTF-8): Programy przykładowe i demonstracyjne do Little CMS | |
67 | Group: Applications/Graphics | |
68 | Requires: %{name} = %{version}-%{release} | |
69 | ||
70 | %description progs | |
71 | Example and demonstration programs for Little CMS. | |
72 | ||
73 | %description progs -l pl.UTF-8 | |
74 | Programy przykładowe i demonstracyjne do Little CMS. | |
75 | ||
76 | %prep | |
e793c3ce | 77 | %setup -q |
ddd38dbe | 78 | |
79 | %build | |
80 | %{__libtoolize} | |
81 | %{__aclocal} | |
82 | %{__autoconf} | |
83 | %{__automake} | |
84 | %configure | |
85 | ||
86 | %{__make} | |
87 | ||
88 | %install | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
91 | %{__make} install \ | |
92 | DESTDIR=$RPM_BUILD_ROOT | |
93 | ||
ddd38dbe | 94 | %clean |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
97 | %post -p /sbin/ldconfig | |
98 | %postun -p /sbin/ldconfig | |
99 | ||
100 | %files | |
101 | %defattr(644,root,root,755) | |
d736bf90 | 102 | %doc ChangeLog AUTHORS COPYING README.1ST |
ddd38dbe | 103 | %attr(755,root,root) %{_libdir}/liblcms2.so.*.*.* |
104 | %attr(755,root,root) %ghost %{_libdir}/liblcms2.so.2 | |
105 | ||
106 | %files devel | |
107 | %defattr(644,root,root,755) | |
645a8eea | 108 | %doc doc/*.pdf |
ddd38dbe | 109 | %attr(755,root,root) %{_libdir}/liblcms2.so |
110 | %{_libdir}/liblcms2.la | |
645a8eea | 111 | %{_includedir}/lcms2*.h |
ddd38dbe | 112 | %{_pkgconfigdir}/lcms2.pc |
113 | ||
114 | %files static | |
115 | %defattr(644,root,root,755) | |
116 | %{_libdir}/liblcms2.a | |
117 | ||
118 | %files progs | |
119 | %defattr(644,root,root,755) | |
645a8eea JB |
120 | %attr(755,root,root) %{_bindir}/jpgicc |
121 | %attr(755,root,root) %{_bindir}/linkicc | |
122 | %attr(755,root,root) %{_bindir}/psicc | |
123 | %attr(755,root,root) %{_bindir}/tificc | |
124 | %attr(755,root,root) %{_bindir}/transicc | |
125 | %{_mandir}/man1/jpgicc.1* | |
126 | %{_mandir}/man1/tificc.1* |