]> git.pld-linux.org Git - packages/lcms.git/blob - lcms.spec
- massive attack: no need for 755 for *.la
[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.08
5 Release:        2
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://www.littlecms.com/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-makefiles.patch
10 Patch1:         %{name}-qt3.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 %patch1 -p1
72
73 %build
74 %{__make} all tifficc \
75         OPTFLAGS="%{rpmcflags}" \
76         LDFLAGS="%{rpmldflags}" \
77         CC="%{__cc}"
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81 install -d $RPM_BUILD_ROOT
82
83 %{__make} install DESTDIR=$RPM_BUILD_ROOT
84
85 install samples/{icctrans,wtpt} tifficc/tifficc $RPM_BUILD_ROOT%{_bindir}
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %post   -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
92
93 %files
94 %defattr(644,root,root,755)
95 %doc AUTHORS NEWS README
96 %attr(755,root,root) %{_libdir}/lib*.so.*.*
97
98 %files devel
99 %defattr(644,root,root,755)
100 %doc doc/*
101 %{_libdir}/lib*.so
102 %{_libdir}/lib*.la
103 %{_includedir}/*
104
105 %files static
106 %defattr(644,root,root,755)
107 %{_libdir}/lib*.a
108
109 %files progs
110 %defattr(644,root,root,755)
111 %attr(755,root,root) %{_bindir}/*
This page took 0.065722 seconds and 4 git commands to generate.