1 Summary: Little CMS - a library to transform between colour profiles
2 Summary(pl): Little CMS - biblioteka do konwersji miêdzy profilami kolorów
8 Source0: http://www.littlecms.com/%{name}-%{version}.tar.gz
9 Patch0: %{name}-makefiles.patch
10 URL: http://www.littlecms.com/
11 BuildRequires: libjpeg-devel
12 BuildRequires: libtiff-devel
13 BuildRequires: libtool
14 BuildRequires: zlib-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 # There is no pretty description in source archive... use these.
20 lcms does not allow to write profiles, and profile manipulation is not
21 its goal. Instead, lcms focus on implement fast transforms between
25 lcms nie pozwala na tworzenie profili i obróbka profili nie jest celem
26 tej biblioteki. Natomiast lcms skupia siê na implementacji szybkiej
27 konwersji miêdzy profilami.
30 Summary: Little CMS - header files and developer's documentation
31 Summary(pl): Little CMS - pliki nag³ówkowe i dokumentacja
32 Group: Development/Libraries
33 Requires: %{name} = %{version}
36 Header files needed to compile programs with liblcms and some
37 documentation useful for programmers.
39 %description devel -l pl
40 Pliki nag³ówkowe potrzebne do linkowana z liblcms oraz dokumentacja
44 Summary: Little CMS - static library
45 Summary(pl): Little CMS - biblioteka statyczna
46 Group: Development/Libraries
47 Requires: %{name}-devel = %{version}
50 Static version of liblcms.
52 %description static -l pl
53 Statyczna biblioteka liblcms.
56 Summary: Example and demonstration programs for Little CMS
57 Summary(pl): Programy przyk³adowe i demonstracyjne do Little CMS
58 Group: Applications/Graphics
59 Requires: %{name} = %{version}
62 Example and demonstration programs for Little CMS.
64 %description progs -l pl
65 Programy przyk³adowe i demonstracyjne do Little CMS.
73 OPTFLAGS="%{rpmcflags}" \
74 LDFLAGS="%{rpmldflags}" \
77 OPTFLAGS="%{rpmcflags}" \
78 LDFLAGS="%{rpmldflags}" \
82 rm -rf $RPM_BUILD_ROOT
83 install -d $RPM_BUILD_ROOT
85 %{__make} install DESTDIR=$RPM_BUILD_ROOT
87 install samples/{icctrans,wtpt} tifficc/tifficc $RPM_BUILD_ROOT%{_bindir}
90 rm -rf $RPM_BUILD_ROOT
92 %post -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
96 %defattr(644,root,root,755)
97 %doc AUTHORS NEWS README
98 %attr(755,root,root) %{_libdir}/lib*.so.*.*
101 %defattr(644,root,root,755)
108 %defattr(644,root,root,755)
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_bindir}/*