]> git.pld-linux.org Git - packages/lcms.git/blob - lcms.spec
- added using %%{rpmcflags} macro.
[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.07
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(pl):      Biblioteki
12 Source0:        http://www.littlecms.com/%{name}-%{version}.tar.gz
13 Patch0:         %{name}-makefiles.patch
14 URL:            http://www.littlecms.com/
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 # There is no pretty description in source archive... use these.
18
19 %description
20 lcms does not allow to write profiles, and profile manipulation is not
21 its goal. Instead, lcms focus on implement fast transforms between
22 profiles.
23
24 %description -l pl
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.
28
29 %package devel
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 Group(de):      Entwicklung/Libraries
34 Group(fr):      Development/Librairies
35 Group(pl):      Programowanie/Biblioteki
36 Requires:       %{name} = %{version}
37
38 %description devel
39 Header files needed to compile programs with liblcms and some
40 documentation useful for programmers.
41
42 %description devel -l pl
43 Pliki nag³ówkowe potrzebne do linkowana z liblcms oraz dokumentacja
44 dla programistów.
45
46 %package static
47 Summary:        Little CMS - static library
48 Summary(pl):    Little CMS - biblioteka statyczna
49 Group:          Development/Libraries
50 Group(de):      Entwicklung/Libraries
51 Group(fr):      Development/Librairies
52 Group(pl):      Programowanie/Biblioteki
53 Requires:       %{name}-devel = %{version}
54
55 %description static
56 Static version of liblcms.
57
58 %description static -l pl
59 Statyczna biblioteka liblcms.
60
61 %prep
62 %setup -q
63 %patch -p1
64
65 %build
66 %{__make} \
67         CFLAGS="%{rpmcflags}" \
68         LDFLAGS="%{!?debug:-s}"
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install DESTDIR=$RPM_BUILD_ROOT
74
75 gzip -9nf AUTHORS ChangeLog README doc/*
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files
84 %defattr(644,root,root,755)
85 %doc *.gz
86 %attr(755,root,root) %{_libdir}/lib*.so.*.*
87
88 %files devel
89 %defattr(644,root,root,755)
90 %doc doc/*.gz
91 %{_libdir}/lib*.so
92 %attr(755,root,root) %{_libdir}/lib*.la
93 %{_includedir}/*
94
95 %files static
96 %defattr(644,root,root,755)
97 %{_libdir}/lib*.a
This page took 0.242103 seconds and 4 git commands to generate.