]> git.pld-linux.org Git - packages/lcms.git/blob - lcms.spec
- up to 1.10
[packages/lcms.git] / lcms.spec
1 Summary:        Little CMS - a library to transform between colour profiles
2 Summary(pl):    Little CMS - biblioteka do konwersji miêdzy profilami kolorów
3 Name:           lcms
4 Version:        1.10
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
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)
17
18 # There is no pretty description in source archive... use these.
19
20 %description
21 lcms does not allow to write profiles, and profile manipulation is not
22 its goal. Instead, lcms focus on implement fast transforms between
23 profiles.
24
25 %description -l pl
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.
29
30 %package devel
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}
35
36 %description devel
37 Header files needed to compile programs with liblcms and some
38 documentation useful for programmers.
39
40 %description devel -l pl
41 Pliki nag³ówkowe potrzebne do linkowana z liblcms oraz dokumentacja
42 dla programistów.
43
44 %package static
45 Summary:        Little CMS - static library
46 Summary(pl):    Little CMS - biblioteka statyczna
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}
49
50 %description static
51 Static version of liblcms.
52
53 %description static -l pl
54 Statyczna biblioteka liblcms.
55
56 %package progs
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}
61
62 %description progs
63 Example and demonstration programs for Little CMS.
64
65 %description progs -l pl
66 Programy przyk³adowe i demonstracyjne do Little CMS.
67
68 %prep
69 %setup -q
70 %patch0 -p1
71
72 %build
73 %{__make} all \
74         OPTFLAGS="%{rpmcflags}" \
75         LDFLAGS="%{rpmldflags}" \
76         CC="%{__cc}"
77 %{__make} tifficc \
78         OPTFLAGS="%{rpmcflags}" \
79         LDFLAGS="%{rpmldflags}" \
80         CC="%{__cc}"
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT
85
86 %{__make} install DESTDIR=$RPM_BUILD_ROOT
87
88 install samples/{icctrans,wtpt} tifficc/tifficc $RPM_BUILD_ROOT%{_bindir}
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post   -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
95
96 %files
97 %defattr(644,root,root,755)
98 %doc AUTHORS NEWS README
99 %attr(755,root,root) %{_libdir}/lib*.so.*.*
100
101 %files devel
102 %defattr(644,root,root,755)
103 %doc doc/*
104 %{_libdir}/lib*.so
105 %{_libdir}/lib*.la
106 %{_includedir}/*
107
108 %files static
109 %defattr(644,root,root,755)
110 %{_libdir}/lib*.a
111
112 %files progs
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_bindir}/*
This page took 0.069218 seconds and 4 git commands to generate.