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 # Source0-md5: b47dc6d182fed60820db17c3be4e9f66
10 Patch0: %{name}-makefiles.patch
11 URL: http://www.littlecms.com/
12 BuildRequires: libjpeg-devel
13 BuildRequires: libtiff-devel
14 BuildRequires: libtool
15 BuildRequires: zlib-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 # There is no pretty description in source archive... use these.
21 lcms does not allow to write profiles, and profile manipulation is not
22 its goal. Instead, lcms focus on implement fast transforms between
26 lcms nie pozwala na tworzenie profili i obróbka profili nie jest celem
27 tej biblioteki. Natomiast lcms skupia siê na implementacji szybkiej
28 konwersji miêdzy profilami.
31 Summary: Little CMS - header files and developer's documentation
32 Summary(pl): Little CMS - pliki nag³ówkowe i dokumentacja
33 Group: Development/Libraries
34 Requires: %{name} = %{version}
37 Header files needed to compile programs with liblcms and some
38 documentation useful for programmers.
40 %description devel -l pl
41 Pliki nag³ówkowe potrzebne do linkowana z liblcms oraz dokumentacja
45 Summary: Little CMS - static library
46 Summary(pl): Little CMS - biblioteka statyczna
47 Group: Development/Libraries
48 Requires: %{name}-devel = %{version}
51 Static version of liblcms.
53 %description static -l pl
54 Statyczna biblioteka liblcms.
57 Summary: Example and demonstration programs for Little CMS
58 Summary(pl): Programy przyk³adowe i demonstracyjne do Little CMS
59 Group: Applications/Graphics
60 Requires: %{name} = %{version}
63 Example and demonstration programs for Little CMS.
65 %description progs -l pl
66 Programy przyk³adowe i demonstracyjne do Little CMS.
74 OPTFLAGS="%{rpmcflags}" \
75 LDFLAGS="%{rpmldflags}" \
78 OPTFLAGS="%{rpmcflags}" \
79 LDFLAGS="%{rpmldflags}" \
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT
86 %{__make} install DESTDIR=$RPM_BUILD_ROOT
88 install samples/{icctrans,wtpt} tifficc/tifficc $RPM_BUILD_ROOT%{_bindir}
91 rm -rf $RPM_BUILD_ROOT
93 %post -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
97 %defattr(644,root,root,755)
98 %doc AUTHORS NEWS README
99 %attr(755,root,root) %{_libdir}/lib*.so.*.*
102 %defattr(644,root,root,755)
109 %defattr(644,root,root,755)
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_bindir}/*