]> git.pld-linux.org Git - packages/lcms2.git/blob - lcms2.spec
df2e8f4d43e4557081a1e77b82d22a76b161c5ce
[packages/lcms2.git] / lcms2.spec
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
4 Version:        2.13.1
5 Release:        1
6 License:        MIT
7 Group:          Libraries
8 Source0:        https://downloads.sourceforge.net/lcms/%{name}-%{version}.tar.gz
9 # Source0-md5:  47a99e781b89c958a773e2012e81ae8c
10 URL:            https://www.littlecms.com/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake >= 1:1.7.2
13 BuildRequires:  libjpeg-devel >= 6b
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  libtiff-devel
16 BuildRequires:  libtool >= 1:1.4.2-9
17 BuildRequires:  zlib-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
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.12 supports ICC profile specification v4.3.
27
28 %description -l pl.UTF-8
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
34 Little CMS 2.12 obsługuje specyfikację profili ICC w wersji 4.3.
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
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
85 %prep
86 %setup -q
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
103 # obsoleted by pkg-config
104 %{__rm} $RPM_BUILD_ROOT%{_libdir}/liblcms2.la
105
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)
114 %doc ChangeLog AUTHORS COPYING README.1ST
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)
120 %attr(755,root,root) %{_libdir}/liblcms2.so
121 %{_includedir}/lcms2*.h
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)
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*
136 %{_mandir}/man1/linkicc.1*
137 %{_mandir}/man1/psicc.1*
138 %{_mandir}/man1/tificc.1*
139 %{_mandir}/man1/transicc.1*
140
141 %files apidocs
142 %defattr(644,root,root,755)
143 %doc doc/*.pdf
This page took 0.024097 seconds and 2 git commands to generate.