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://dl.sourceforge.net/lcms/%{name}-%{version}.tar.gz
9 # Source0-md5: 5a803460aeb10e762d97e11a37462a69
10 URL: http://www.littlecms.com/
11 BuildRequires: autoconf >= 2.57
12 BuildRequires: automake >= 1:1.7.2
13 BuildRequires: libjpeg-devel
14 BuildRequires: libstdc++-devel
15 BuildRequires: libtiff-devel
16 BuildRequires: libtool >= 1:1.4.2-9
17 BuildRequires: python-devel >= 1.5
18 BuildRequires: swig >= 1.3.12
19 BuildRequires: zlib-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 # There is no pretty description in source archive... use these.
25 lcms does not allow to write profiles, and profile manipulation is not
26 its goal. Instead, lcms focus on implement fast transforms between
30 lcms nie pozwala na tworzenie profili i obróbka profili nie jest celem
31 tej biblioteki. Natomiast lcms skupia siê na implementacji szybkiej
32 konwersji miêdzy profilami.
35 Summary: Little CMS - header files and developer's documentation
36 Summary(pl): Little CMS - pliki nag³ówkowe i dokumentacja
37 Group: Development/Libraries
38 Requires: %{name} = %{version}-%{release}
41 Header files needed to compile programs with liblcms and some
42 documentation useful for programmers.
44 %description devel -l pl
45 Pliki nag³ówkowe potrzebne do konsolidacji z liblcms oraz dokumentacja
49 Summary: Little CMS - static library
50 Summary(pl): Little CMS - biblioteka statyczna
51 Group: Development/Libraries
52 Requires: %{name}-devel = %{version}-%{release}
55 Static version of liblcms.
57 %description static -l pl
58 Statyczna biblioteka liblcms.
61 Summary: Example and demonstration programs for Little CMS
62 Summary(pl): Programy przyk³adowe i demonstracyjne do Little CMS
63 Group: Applications/Graphics
64 Requires: %{name} = %{version}-%{release}
67 Example and demonstration programs for Little CMS.
69 %description progs -l pl
70 Programy przyk³adowe i demonstracyjne do Little CMS.
72 %package -n python-lcms
73 Summary: Little CMS module for Python
74 Summary(pl): Modu³ Little CMS dla Pythona
75 Group: Libraries/Python
76 Requires: %{name} = %{version}-%{release}
79 %description -n python-lcms
80 Little CMS module for Python.
82 %description -n python-lcms -l pl
83 Modu³ Little CMS dla Pythona.
99 rm -rf $RPM_BUILD_ROOT
102 DESTDIR=$RPM_BUILD_ROOT
104 install samples/{icctrans,wtpt} tifficc/tifficc $RPM_BUILD_ROOT%{_bindir}
106 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{a,la}
109 rm -rf $RPM_BUILD_ROOT
111 %post -p /sbin/ldconfig
112 %postun -p /sbin/ldconfig
115 %defattr(644,root,root,755)
116 %doc AUTHORS NEWS README.1ST
117 %attr(755,root,root) %{_libdir}/lib*.so.*.*
120 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_libdir}/lib*.so
125 %{_pkgconfigdir}/*.pc
128 %defattr(644,root,root,755)
132 %defattr(644,root,root,755)
133 %attr(755,root,root) %{_bindir}/*
136 %files -n python-lcms
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{py_sitedir}/_lcms.so
139 %{py_sitedir}/lcms.py