]> git.pld-linux.org Git - packages/lcms2.git/blob - lcms2.spec
ed7dc6059f50d1dde2c0f2fba2c750dcd9874bf2
[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.8
5 Release:        1
6 License:        MIT
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/lcms/%{name}-%{version}.tar.gz
9 # Source0-md5:  87a5913f1a52464190bb655ad230539c
10 URL:            http://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.x supports ICC profile specification v4.2 plus all
27 addendums.
28
29 %description -l pl.UTF-8
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.
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
77 %setup -q
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
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)
102 %doc ChangeLog AUTHORS COPYING README.1ST
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)
108 %doc doc/*.pdf
109 %attr(755,root,root) %{_libdir}/liblcms2.so
110 %{_libdir}/liblcms2.la
111 %{_includedir}/lcms2*.h
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)
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*
This page took 0.042935 seconds and 2 git commands to generate.