]> git.pld-linux.org Git - packages/gdk-pixbuf.git/blob - gdk-pixbuf.spec
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
[packages/gdk-pixbuf.git] / gdk-pixbuf.spec
1 #
2 # _without_gnome - without GNOME (build without libgnomecanvaspixbuf)
3 Summary:        Image loading library used with GNOME
4 Summary(pl):    Biblioteka ³aduj±ca obrazki u¿ywana w GNOME
5 Summary(pt_BR): Biblioteca GdkPixBuf para manipulação de imagens
6 Name:           gdk-pixbuf
7 Version:        0.16.0
8 Release:        3.1
9 Epoch:          1
10 License:        LGPL
11 Group:          X11/Libraries
12 Source0:        ftp://ftp.gnome.org/pub/GNOME/unstable/sources/gdk-pixbuf/%{name}-%{version}.tar.bz2
13 Patch0:         %{name}-am.patch
14 URL:            http://www.gnome.org/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libtool
18 BuildRequires:  gtk+-devel
19 %{!?_without_gnome:BuildRequires:       gnome-libs-devel}
20 BuildRequires:  libjpeg-devel
21 BuildRequires:  libtiff-devel
22 BuildRequires:  libpng >= 1.0.8
23 BuildRequires:  libungif-devel
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         _prefix         /usr/X11R6
27
28 %description
29 The GdkPixBuf library provides a number of features:
30  - image loading facilities,
31  - rendering of a GdkPixBuf into various formats: drawables (windows,
32    pixmaps), GdkRGB buffers,
33  - a cache interface.
34
35 %description -l pl
36 Biblioteka GdkPixBuf posiada du¿e mo¿liwo¶ci:
37  - funkcje wspomagaj±ce ³adowanie obrazków,
38  - oddanie GdkPixBuf w ró¿nych formatach, do rysowania (okna, pixmapy)
39    czy bufory GdkRGB,
40  - interfejs pamiêci podrêcznej.
41
42 %description -l pt_BR
43 A biblioteca GdkPixBuf oferece:
44
45 - Estrutura GdkPixBuf para representar imagens.
46 - Facilidades para carga de imagens.
47 - Maneira simples de carregar imagens animadas.
48 - Vários formatos: desenháveis (windows, pixmaps), buffers GdkRGB.
49
50 %package devel
51 Summary:        Include files for the gdk-pixbuf
52 Summary(pl):    Pliki nag³ówkowe dla gdk-pixbuf
53 Summary(pt_BR): Bibliotecas e arquivos cabeçalhos para desenvolvimento
54 Group:          X11/Development/Libraries
55 Requires:       %{name} = %{version}
56
57 %description devel
58 Include files for the gdk-pixbuf.
59
60 %description devel -l pl
61 Pliki nag³ówkowe dla gdk-pixbuf.
62
63 %description devel -l pt_BR
64 Bibliotecas e arquivos cabeçalhos para desenvolvimento de aplicativos
65 baseados nessa biblioteca.
66
67 %package static
68 Summary:        Static gdk-pixbuf libraries
69 Summary(pl):    Biblioteki statyczne gdk-pixbuf
70 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gdk-pixbuf
71 Group:          X11/Development/Libraries
72 Requires:       %{name}-devel = %{version}
73
74 %description static
75 Static gdk-pixbuf libraries.
76
77 %description static -l pl
78 Statyczne biblioteki gdk-pixbuf.
79
80 %description static -l pt_BR
81 Bibliotecas estáticas para desenvolvimento com gdk-pixbuf.
82
83 %package gnome
84 Summary:        GNOME part of gdk-pixbuf library
85 Summary(pl):    Czê¶æ gdk-pixbuf zwi±zana z GNOME
86 Group:          X11/Libraries
87 Requires:       %{name} = %{version}
88
89 %description gnome
90 GNOME part of gdk-pixbuf library.
91
92 %description gnome -l pl
93 Czê¶æ gdk-pixbuf zwi±zana z GNOME.
94
95 %package gnome-devel
96 Summary:        GNOME part of gdk-pixbuf library - development files
97 Summary(pl):    Czê¶æ gdk-pixbuf zwi±zana z GNOME - pliki dla programistów
98 Group:          X11/Development/Libraries
99 Requires:       %{name}-gnome = %{version}
100 Requires:       %{name}-devel = %{version}
101 Requires:       gnome-libs-devel
102
103 %description gnome-devel
104 GNOME part of gdk-pixbuf library - development files.
105
106 %description gnome-devel -l pl
107 Czê¶æ gdk-pixbuf zwi±zana z GNOME - pliki dla programistów.
108
109 %package gnome-static
110 Summary:        GNOME part of gdk-pixbuf library - static version
111 Summary(pl):    Czê¶æ gdk-pixbuf zwi±zana z GNOME - wersja statyczna
112 Group:          X11/Development/Libraries
113 Requires:       %{name}-gnome-devel = %{version}
114
115 %description gnome-static
116 GNOME part of gdk-pixbuf library - static version.
117
118 %description gnome-static -l pl
119 Czê¶æ gdk-pixbuf zwi±zana z GNOME - wersja statyczna.
120
121 %prep
122 %setup -q
123 %patch0 -p1
124
125 %build
126 rm -f missing
127 libtoolize --copy --force
128 aclocal
129 %{__autoconf}
130 %{__automake}
131 if [ -f %{_pkgconfigdir}/libpng12.pc ] ; then
132         CPPFLAGS="`pkg-config libpng12 --cflags`"
133 fi
134 %configure \
135         --disable-gtk-doc \
136         CPPFLAGS="$CPPFLAGS"
137 %{__make} AS="%{__cc}"
138
139 %install
140 rm -rf $RPM_BUILD_ROOT
141
142 %{__make} install \
143         DESTDIR=$RPM_BUILD_ROOT \
144         m4datadir=%{_aclocaldir}
145
146 gzip -9nf AUTHORS ChangeLog NEWS README
147
148 %clean
149 rm -rf $RPM_BUILD_ROOT
150
151 %post   -p /sbin/ldconfig
152 %postun -p /sbin/ldconfig
153
154 %post   gnome -p /sbin/ldconfig
155 %postun gnome -p /sbin/ldconfig
156
157 %files
158 %defattr(644,root,root,755)
159 %attr(755,root,root) %{_libdir}/libgdk*.so.*.*
160 %dir %{_libdir}/gdk-pixbuf
161 %dir %{_libdir}/gdk-pixbuf/loaders
162 %attr(755,root,root) %{_libdir}/gdk-pixbuf/loaders/lib*.so*
163
164 %files devel
165 %defattr(644,root,root,755)
166 %doc *.gz
167 %attr(755,root,root) %{_bindir}/gdk-pixbuf-config
168 %attr(755,root,root) %{_libdir}/gdk*.sh
169 %attr(755,root,root) %{_libdir}/libgdk*.so
170 %attr(755,root,root) %{_libdir}/libgdk*.la
171 %dir %{_includedir}/gdk-pixbuf-1.0
172 %dir %{_includedir}/gdk-pixbuf-1.0/gdk-pixbuf
173 %{_includedir}/gdk-pixbuf-1.0/gdk-pixbuf/gdk*.h
174 %{_aclocaldir}/*
175
176 %files static
177 %defattr(644,root,root,755)
178 %{_libdir}/libgdk*.a
179 %{_libdir}/gdk-pixbuf/loaders/lib*.a
180
181 %if %{?_without_gnome:0}%{!?_without_gnome:1}
182 %files gnome
183 %defattr(644,root,root,755)
184 %attr(755,root,root) %{_libdir}/libgnome*.so.*.*
185
186 %files gnome-devel
187 %defattr(644,root,root,755)
188 %attr(755,root,root) %{_libdir}/gnome*.sh
189 %attr(755,root,root) %{_libdir}/libgnome*.so
190 %attr(755,root,root) %{_libdir}/libgnome*.la
191 %{_includedir}/gdk-pixbuf-1.0/gdk-pixbuf/gnome*.h
192
193 %files gnome-static
194 %defattr(644,root,root,755)
195 %{_libdir}/libgnome*.a
196 %endif
This page took 0.0725170000000001 seconds and 3 git commands to generate.