]>
Commit | Line | Data |
---|---|---|
8f6d1a2c | 1 | # |
2 | # Conditional build: | |
c3844957 | 3 | %bcond_without apidocs # disable gtk-doc |
1cfc56f6 | 4 | %bcond_without cups # disable CUPS support |
8d18157f | 5 | %bcond_without papi # disable PAPI support |
86d027d1 | 6 | %bcond_without static_libs # don't build static library |
5a2a4faf | 7 | # |
ee07a9c1 PZ |
8 | Summary: The GIMP Toolkit |
9 | Summary(cs.UTF-8): Sada nástrojů pro GIMP | |
10 | Summary(de.UTF-8): Der GIMP-Toolkit | |
11 | Summary(fi.UTF-8): GIMP-työkalukokoelma | |
12 | Summary(fr.UTF-8): Le toolkit de GIMP | |
13 | Summary(it.UTF-8): Il toolkit per GIMP | |
14 | Summary(pl.UTF-8): GIMP Toolkit | |
15 | Summary(tr.UTF-8): GIMP ToolKit arayüz kitaplığı | |
94be343e | 16 | Name: gtk+2 |
1108ad43 | 17 | Version: 2.24.13 |
9c0b57a8 | 18 | Release: 2 |
f9ca522f | 19 | Epoch: 2 |
099be6e8 | 20 | License: LGPL v2+ |
f4d0ca3c | 21 | Group: X11/Libraries |
eab354d3 | 22 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.24/gtk+-%{version}.tar.xz |
1108ad43 | 23 | # Source0-md5: e949406751df51e1e40e85628005a069 |
7ec1e575 | 24 | Patch0: %{name}-arch_confdir.patch |
64ed4784 | 25 | Patch1: gobject-introspection.patch |
8d18157f | 26 | Patch2: %{name}-papi.patch |
86f7b829 | 27 | Patch3: cups-auth.patch |
f4d0ca3c | 28 | URL: http://www.gtk.org/ |
d4235514 | 29 | BuildRequires: atk-devel >= 1:1.30.0-3 |
60eadd43 | 30 | BuildRequires: autoconf >= 2.62 |
3d6d603f | 31 | BuildRequires: automake >= 1:1.7 |
ee07a9c1 | 32 | BuildRequires: cairo-devel >= 1.6.0 |
8d18157f JB |
33 | %if %{with cups} || %{with papi} |
34 | BuildRequires: cups-devel | |
35 | %endif | |
f9ca522f | 36 | BuildRequires: docbook-dtd412-xml |
37 | BuildRequires: docbook-style-xsl | |
64ed4784 | 38 | BuildRequires: gdk-pixbuf2-devel >= 2.22.0 |
f4d0ca3c | 39 | BuildRequires: gettext-devel |
5a2a4faf | 40 | BuildRequires: glib2-devel >= 1:2.27.3 |
a52f60c0 | 41 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
bf80b080 | 42 | %{?with_apidocs:BuildRequires: gtk-doc >= 1.17} |
60eadd43 | 43 | BuildRequires: gtk-doc-automake >= 1.11 |
060affee | 44 | BuildRequires: libtool >= 1:1.4.2-9 |
fc5b9a1b | 45 | BuildRequires: libxml2-progs >= 1:2.6.31 |
71261649 | 46 | BuildRequires: libxslt-progs >= 1.1.20 |
64ed4784 | 47 | BuildRequires: pango-devel >= 1:1.28.1-4 |
8d18157f | 48 | %{?with_papi:BuildRequires: papi-devel} |
f9ca522f | 49 | BuildRequires: perl-base |
5a2a4faf | 50 | BuildRequires: perl-devel |
01c9c76b | 51 | BuildRequires: pkgconfig |
e3fb4f8c | 52 | BuildRequires: rpm-pythonprov |
ed26125a | 53 | BuildRequires: rpmbuild(macros) >= 1.311 |
e0f6f227 | 54 | BuildRequires: sed >= 4.0 |
5a2a4faf | 55 | BuildRequires: sqlite3-devel |
eab354d3 | 56 | BuildRequires: tar >= 1:1.22 |
88d12146 | 57 | BuildRequires: xorg-lib-libX11-devel |
d27feaf5 | 58 | BuildRequires: xorg-lib-libXcomposite-devel |
5939f636 | 59 | BuildRequires: xorg-lib-libXcursor-devel |
d27feaf5 | 60 | BuildRequires: xorg-lib-libXdamage-devel |
88d12146 | 61 | BuildRequires: xorg-lib-libXext-devel |
d27feaf5 | 62 | BuildRequires: xorg-lib-libXfixes-devel |
60eadd43 | 63 | BuildRequires: xorg-lib-libXft-devel |
2071d7b2 | 64 | BuildRequires: xorg-lib-libXi-devel |
88d12146 | 65 | BuildRequires: xorg-lib-libXinerama-devel |
d27feaf5 | 66 | BuildRequires: xorg-lib-libXrandr-devel >= 1.3.0 |
88d12146 | 67 | BuildRequires: xorg-lib-libXrender-devel |
eab354d3 | 68 | BuildRequires: xz |
60eadd43 | 69 | Requires: atk >= 1:1.30.0 |
ee07a9c1 | 70 | Requires: cairo >= 1.6.0 |
64ed4784 | 71 | Requires: gdk-pixbuf2 >= 2.22.0 |
5a2a4faf | 72 | Requires: glib2 >= 1:2.27.3 |
60eadd43 | 73 | Requires: pango >= 1:1.26.0 |
d27feaf5 | 74 | Requires: xorg-lib-libXrandr >= 1.3.0 |
3600fc7c JB |
75 | %if %{with cups} |
76 | # cups is used by default if gtk+ is built with cups | |
77 | Suggests: %{name}-cups = %{epoch}:%{version}-%{release} | |
78 | %endif | |
ee07a9c1 | 79 | Provides: gail = 1.23.0 |
59feb20d | 80 | Provides: gtk2 = %{version} |
ee07a9c1 | 81 | Obsoletes: gail |
9d638349 | 82 | Obsoletes: gtk2 |
80d4d62e | 83 | # sr@Latn vs. sr@latin |
84 | Conflicts: glibc-misc < 6:2.7 | |
7c655924 | 85 | Conflicts: gtk2-engines < 1:2.2.0-6 |
e1c87a15 JB |
86 | # autopanog.exe crashes with gtk+2 2.8.x and libgdiplus 1.1.8 |
87 | Conflicts: libgdiplus < 1.1.9 | |
db34468d | 88 | Requires(post): gtk-update-icon-cache |
812a098a | 89 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
f4d0ca3c | 90 | |
8f2bfc77 | 91 | %define abivers 2.10.0 |
92 | ||
9b929cc3 ER |
93 | %if "%{_lib}" != "lib" |
94 | %define libext %(lib="%{_lib}"; echo ${lib#lib}) | |
95 | %define _sysconfdir /etc/gtk%{libext}-2.0 | |
96 | %define pqext -%{libext} | |
97 | %else | |
98 | %define _sysconfdir /etc/gtk-2.0 | |
99 | %define pqext %{nil} | |
100 | %endif | |
101 | ||
f4d0ca3c | 102 | %description |
ee07a9c1 | 103 | GTK+, which stands for the GIMP ToolKit, is a library for creating |
f4d0ca3c | 104 | graphical user interfaces for the X Window System. It is designed to |
7f31ceb9 | 105 | be small, efficient, and flexible. GTK+ is written in C with a very |
74e95a76 | 106 | object-oriented approach. GDK (part of GTK+) is a drawing toolkit |
f4d0ca3c | 107 | which provides a thin layer over Xlib to help automate things like |
74e95a76 | 108 | dealing with different color depths, and GTK is a widget set for |
f4d0ca3c AF |
109 | creating user interfaces. |
110 | ||
869b0b0f JR |
111 | %description -l cs.UTF-8 |
112 | Knihovny X původně psané pro GIMP, které nyní používá také řada jiných | |
113 | programů. | |
f4d0ca3c | 114 | |
869b0b0f | 115 | %description -l da.UTF-8 |
f4d0ca3c AF |
116 | X biblioteker, oprindeligt udviklet til GIMP, men anvendes nu af flere |
117 | forskellige programmer. | |
118 | ||
869b0b0f JR |
119 | %description -l de.UTF-8 |
120 | Die X-Libraries, die ursprünglich für GIMP geschrieben wurden und | |
121 | mittlerweile für eine ganze Reihe anderer Programme benutzt werden. | |
f4d0ca3c | 122 | |
869b0b0f | 123 | %description -l fr.UTF-8 |
f4d0ca3c | 124 | X-kirjastot, jotka alunperin kirjoitettiin GIMP:lle, mutta joita |
869b0b0f | 125 | käytetään nyt myös useissa muissakin ohjelmissa. |
f4d0ca3c | 126 | |
869b0b0f | 127 | %description -l it.UTF-8 |
f4d0ca3c AF |
128 | Libreria X scritta per GIMP. Viene usata da diversi programmi. |
129 | ||
869b0b0f | 130 | %description -l pl.UTF-8 |
ee07a9c1 | 131 | GTK+, która to biblioteka stała się podstawą programu GIMP, zawiera |
869b0b0f JR |
132 | funkcje do tworzenia graficznego interfejsu użytkownika pod X Window. |
133 | Była tworzona z założeniem żeby była mała, efektywna i wygodna. GTK+ | |
134 | jest napisane w C z podejściem zorientowanym bardzo obiektowo. GDK | |
135 | (część GTK+) jest warstwą pośrednią pomiędzy Xlib a właściwym GTK | |
136 | zapewniającą pracę niezależnie od głębi koloru (ilości bitów na | |
137 | piksel). GTK (druga część GTK+) jest natomiast już zbiorem różnego | |
138 | rodzaju kontrolek służących do tworzenia interfejsu użytkownika. | |
f4d0ca3c | 139 | |
869b0b0f JR |
140 | %description -l tr.UTF-8 |
141 | Başlangıçta GIMP için yazılmış X kitaplıkları. Şu anda başka | |
142 | programlarca da kullanılmaktadır. | |
f4d0ca3c AF |
143 | |
144 | %package devel | |
7f31ceb9 | 145 | Summary: GTK+ header files and development documentation |
2602e0ec ER |
146 | Summary(cs.UTF-8): Sada nástrojů GIMP a kreslící kit GIMP |
147 | Summary(da.UTF-8): GIMP Toolkit og GIMP Tegnings-værktøj | |
148 | Summary(de.UTF-8): GIMP Toolkit und GIMP Drawing Kit | |
149 | Summary(fi.UTF-8): Gimp-työkalukokoelma ja Gimp-piirtotyökalut | |
150 | Summary(fr.UTF-8): Toolkit de GIMP (GTK) et Kit de dessin de GIMP (GDK) | |
151 | Summary(it.UTF-8): GIMP Toolkit and GIMP Drawing Kit | |
152 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do GTK+ | |
153 | Summary(tr.UTF-8): GIMP araç takımı ve çizim takımı | |
f4d0ca3c | 154 | Group: X11/Development/Libraries |
f9ca522f | 155 | Requires: %{name} = %{epoch}:%{version}-%{release} |
60eadd43 | 156 | Requires: atk-devel >= 1:1.30.0 |
39f5b9cd | 157 | Requires: cairo-devel >= 1.6.0 |
64ed4784 | 158 | Requires: gdk-pixbuf2-devel >= 2.22.0 |
5a2a4faf | 159 | Requires: glib2-devel >= 1:2.27.3 |
60eadd43 | 160 | Requires: pango-devel >= 1:1.26.0 |
bb78e1c8 | 161 | Requires: shared-mime-info |
88d12146 | 162 | Requires: xorg-lib-libX11-devel |
d27feaf5 | 163 | Requires: xorg-lib-libXcomposite-devel |
5939f636 | 164 | Requires: xorg-lib-libXcursor-devel |
d27feaf5 | 165 | Requires: xorg-lib-libXdamage-devel |
88d12146 | 166 | Requires: xorg-lib-libXext-devel |
d27feaf5 | 167 | Requires: xorg-lib-libXfixes-devel |
88d12146 | 168 | Requires: xorg-lib-libXft-devel |
dee40e6b | 169 | Requires: xorg-lib-libXi-devel |
88d12146 | 170 | Requires: xorg-lib-libXinerama-devel |
d27feaf5 | 171 | Requires: xorg-lib-libXrandr-devel >= 1.3.0 |
88d12146 | 172 | Requires: xorg-lib-libXrender-devel |
ee07a9c1 PZ |
173 | Provides: gail-devel = 1.23.0 |
174 | Obsoletes: gail-devel | |
9d638349 | 175 | Obsoletes: gtk2-devel |
f4d0ca3c AF |
176 | |
177 | %description devel | |
7f31ceb9 | 178 | Header files and development documentation for the GTK+ libraries. |
f4d0ca3c | 179 | |
869b0b0f JR |
180 | %description devel -l pl.UTF-8 |
181 | Pliki nagłówkowe i dokumentacja do bibliotek GTK+. | |
f4d0ca3c AF |
182 | |
183 | %package static | |
7f31ceb9 | 184 | Summary: GTK+ static libraries |
2602e0ec | 185 | Summary(pl.UTF-8): Biblioteki statyczne GTK+ |
f4d0ca3c | 186 | Group: X11/Development/Libraries |
f9ca522f | 187 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
ee07a9c1 PZ |
188 | Provides: gail-static = 1.23.0 |
189 | Obsoletes: gail-static | |
f4d0ca3c AF |
190 | |
191 | %description static | |
7f31ceb9 | 192 | GTK+ static libraries. |
f4d0ca3c | 193 | |
869b0b0f | 194 | %description static -l pl.UTF-8 |
7f31ceb9 | 195 | Biblioteki statyczne GTK+ |
f4d0ca3c | 196 | |
d58327d0 | 197 | %package apidocs |
198 | Summary: GTK+ API documentation | |
2602e0ec | 199 | Summary(pl.UTF-8): Dokumentacja API GTK+ |
d58327d0 | 200 | Group: Documentation |
201 | Requires: gtk-doc-common | |
071b3dfd | 202 | Provides: gail-apidocs = 1.23.0 |
ee07a9c1 | 203 | Obsoletes: gail-apidocs |
d58327d0 | 204 | |
205 | %description apidocs | |
206 | GTK+ API documentation. | |
207 | ||
869b0b0f | 208 | %description apidocs -l pl.UTF-8 |
d58327d0 | 209 | Dokumentacja API GTK+. |
210 | ||
211 | %package examples | |
f384505a | 212 | Summary: GTK+ - example programs |
2602e0ec | 213 | Summary(pl.UTF-8): GTK+ - programy przykładowe |
f384505a | 214 | Group: X11/Development/Libraries |
43146b6b | 215 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
d58327d0 | 216 | |
217 | %description examples | |
218 | GTK+ - example programs. | |
219 | ||
869b0b0f JR |
220 | %description examples -l pl.UTF-8 |
221 | GTK+ - przykładowe programy. | |
d58327d0 | 222 | |
3600fc7c JB |
223 | %package cups |
224 | Summary: CUPS printing module for GTK+ | |
225 | Summary(pl.UTF-8): Moduł GTK+ do drukowania przez CUPS | |
226 | Group: X11/Libraries | |
227 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
228 | ||
229 | %description cups | |
230 | CUPS printing module for GTK+. | |
231 | ||
232 | %description cups -l pl.UTF-8 | |
233 | Moduł GTK+ do drukowania przez CUPS. | |
234 | ||
8d18157f JB |
235 | %package papi |
236 | Summary: PAPI printing module for GTK+ | |
237 | Summary(pl.UTF-8): Moduł GTK+ do drukowania przez PAPI | |
238 | Group: X11/Libraries | |
882884ad | 239 | Requires: %{name} = %{epoch}:%{version}-%{release} |
8d18157f JB |
240 | Requires: papi |
241 | ||
242 | %description papi | |
243 | PAPI printing module for GTK+. | |
244 | ||
245 | %description papi -l pl.UTF-8 | |
246 | Moduł GTK+ do drukowania przez PAPI. | |
247 | ||
f4d0ca3c | 248 | %prep |
42033f63 | 249 | %setup -q -n gtk+-%{version} |
7ec1e575 | 250 | %patch0 -p1 |
64ed4784 | 251 | %patch1 -p1 |
8d18157f | 252 | %patch2 -p1 |
86f7b829 | 253 | %patch3 -p1 |
f4d0ca3c | 254 | |
e0f6f227 JB |
255 | %{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' gtk/gtk-builder-convert |
256 | ||
f4d0ca3c | 257 | %build |
d17e131c | 258 | %{?with_apidocs:%{__gtkdocize}} |
31ee3695 | 259 | %{__libtoolize} |
2d64e5ba | 260 | %{__glib_gettextize} |
6966c6aa | 261 | %{__aclocal} |
7ca534e7 | 262 | %{__autoheader} |
f9ca522f | 263 | %{__autoconf} |
264 | %{__automake} | |
8d18157f | 265 | CPPFLAGS="%{rpmcppflags}%{?with_papi: -I/usr/include/papi}" |
f4d0ca3c | 266 | %configure \ |
8d18157f | 267 | %{!?with_cups:--disable-cups} \ |
2d64e5ba | 268 | %{?debug:--enable-debug=yes} \ |
14e63668 | 269 | --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \ |
2d64e5ba | 270 | --enable-man \ |
8d18157f | 271 | %{!?with_papi:--disable-papi} \ |
f4d0ca3c | 272 | --enable-shm \ |
0d288597 | 273 | --%{?with_static_libs:en}%{!?with_static_libs:dis}able-static \ |
39470fc4 | 274 | --with-gdktarget=x11 \ |
dfe832cf | 275 | --with-html-dir=%{_gtkdocdir} \ |
d58327d0 | 276 | --with-xinput=yes |
94be343e | 277 | %{__make} |
f4d0ca3c AF |
278 | |
279 | %install | |
280 | rm -rf $RPM_BUILD_ROOT | |
9b7df8a5 | 281 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \ |
8f2bfc77 | 282 | $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/%{abivers}/filesystems |
f4d0ca3c AF |
283 | |
284 | %{__make} install \ | |
285 | DESTDIR=$RPM_BUILD_ROOT \ | |
94be343e | 286 | m4datadir=%{_aclocaldir} \ |
060affee | 287 | pkgconfigdir=%{_pkgconfigdir} |
f4d0ca3c | 288 | |
9b929cc3 | 289 | touch $RPM_BUILD_ROOT%{_sysconfdir}/gtk.immodules |
33137503 | 290 | |
96ccaff9 | 291 | cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
292 | ||
c6103d6d | 293 | # shut up check-files (static modules and *.la for modules) |
d50d9689 | 294 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/*.{a,la} |
295 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/%{abivers}/*/*.{a,la} | |
8c1f393e AF |
296 | # remove libtool files |
297 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/*.la | |
c6103d6d | 298 | |
d69b509e JB |
299 | # built in gtk+3.spec |
300 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/gtk-update-icon-cache \ | |
301 | $RPM_BUILD_ROOT%{_mandir}/man1/gtk-update-icon-cache.1 | |
db34468d | 302 | |
9b929cc3 ER |
303 | %if "%{_lib}" != "lib" |
304 | # We need to have 32-bit and 64-bit binaries as they have hardcoded LIBDIR. | |
305 | # (needed when multilib is used) | |
9b929cc3 ER |
306 | mv $RPM_BUILD_ROOT%{_bindir}/gtk-query-immodules-2.0{,%{pqext}} |
307 | %endif | |
308 | ||
7f31ceb9 | 309 | # for various GTK+2 modules |
9b7df8a5 | 310 | install -d $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules |
55b30b18 | 311 | |
d99f06d3 | 312 | # unsupported by glibc |
5fb37be8 | 313 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{az_IR,io} |
7897cf83 | 314 | |
f9ca522f | 315 | %find_lang %{name} --all-name |
f4d0ca3c | 316 | |
dfe832cf ER |
317 | %{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}/{gdk,gdk-pixbuf,gtk}} |
318 | ||
f4d0ca3c AF |
319 | %clean |
320 | rm -rf $RPM_BUILD_ROOT | |
321 | ||
737cc900 | 322 | %post |
291bd4b5 | 323 | /sbin/ldconfig |
737cc900 | 324 | umask 022 |
9b929cc3 | 325 | %{_bindir}/gtk-query-immodules-2.0%{pqext} > %{_sysconfdir}/gtk.immodules |
f9ca522f | 326 | exit 0 |
737cc900 | 327 | |
924f8b2f | 328 | %postun |
291bd4b5 | 329 | /sbin/ldconfig |
0829e057 | 330 | if [ "$1" != "0" ]; then |
924f8b2f | 331 | umask 022 |
214ffd07 ER |
332 | # we need to check for dir existence for multilib installs as the $1 is 1 |
333 | # if we remove the other arch pkg will be still present. | |
334 | # i.e we have installed gtk+2-2.16.5-1.x86_64 and gtk+2-2.16.5-1.i686, and remove gtk+2-2.16.5-1.i686 | |
335 | if [ -d %{_sysconfdir} ]; then | |
214ffd07 ER |
336 | %{_bindir}/gtk-query-immodules-2.0%{pqext} > %{_sysconfdir}/gtk.immodules |
337 | fi | |
924f8b2f | 338 | fi |
f7b61fed JB |
339 | exit 0 |
340 | ||
341 | %triggerpostun -- gtk+2 < 2:2.4.0 | |
342 | umask 022 | |
9b929cc3 | 343 | %{_bindir}/gtk-query-immodules-2.0%{pqext} > %{_sysconfdir}/gtk.immodules |
f7b61fed | 344 | exit 0 |
f4d0ca3c | 345 | |
ed26125a ER |
346 | %triggerin -- hicolor-icon-theme |
347 | if [ "$1" = "1" ] && [ "$2" = "1" ]; then | |
348 | %update_icon_cache hicolor | |
349 | fi | |
350 | ||
f9ca522f | 351 | %files -f %{name}.lang |
f4d0ca3c | 352 | %defattr(644,root,root,755) |
f9ca522f | 353 | %doc AUTHORS NEWS README |
555a58f5 | 354 | %attr(755,root,root) %{_bindir}/gtk-query-immodules-2.0%{pqext} |
8cd7c578 | 355 | |
ee07a9c1 PZ |
356 | %attr(755,root,root) %{_libdir}/libgailutil.so.*.*.* |
357 | %attr(755,root,root) %ghost %{_libdir}/libgailutil.so.18 | |
6489e85c JB |
358 | %attr(755,root,root) %{_libdir}/libgdk-x11-2.0.so.*.*.* |
359 | %attr(755,root,root) %ghost %{_libdir}/libgdk-x11-2.0.so.0 | |
6489e85c JB |
360 | %attr(755,root,root) %{_libdir}/libgtk-x11-2.0.so.*.*.* |
361 | %attr(755,root,root) %ghost %{_libdir}/libgtk-x11-2.0.so.0 | |
4a14682b | 362 | %dir %{_libdir}/gtk-2.0 |
363 | %dir %{_libdir}/gtk-2.0/modules | |
2019e317 JB |
364 | %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libferret.so |
365 | %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libgail.so | |
4a14682b | 366 | %dir %{_libdir}/gtk-2.0/%{abivers} |
367 | %dir %{_libdir}/gtk-2.0/%{abivers}/engines | |
2019e317 | 368 | %attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/engines/libpixmap.so |
4a14682b | 369 | %dir %{_libdir}/gtk-2.0/%{abivers}/filesystems |
370 | %dir %{_libdir}/gtk-2.0/%{abivers}/immodules | |
6489e85c | 371 | %attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/immodules/im-*.so |
2019e317 | 372 | %dir %{_libdir}/gtk-2.0/%{abivers}/printbackends |
3600fc7c JB |
373 | %attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/printbackends/libprintbackend-file.so |
374 | %attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/printbackends/libprintbackend-lpr.so | |
2019e317 | 375 | %{_libdir}/girepository-1.0/Gdk-2.0.typelib |
64ed4784 | 376 | %{_libdir}/girepository-1.0/GdkX11-2.0.typelib |
2019e317 | 377 | %{_libdir}/girepository-1.0/Gtk-2.0.typelib |
9b7df8a5 | 378 | |
9b929cc3 ER |
379 | %dir %{_sysconfdir} |
380 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/im-multipress.conf | |
9b929cc3 | 381 | %ghost %{_sysconfdir}/gtk.immodules |
737cc900 AF |
382 | %dir %{_datadir}/themes/Default/gtk-* |
383 | %{_datadir}/themes/Default/gtk-*/gtkrc | |
bae602ac | 384 | %dir %{_datadir}/themes/Emacs |
737cc900 AF |
385 | %dir %{_datadir}/themes/Emacs/gtk-* |
386 | %{_datadir}/themes/Emacs/gtk-*/gtkrc | |
59dac2f1 AM |
387 | %dir %{_datadir}/themes/Raleigh |
388 | %dir %{_datadir}/themes/Raleigh/gtk-* | |
389 | %{_datadir}/themes/Raleigh/gtk-*/gtkrc | |
6489e85c | 390 | %{_mandir}/man1/gtk-query-immodules-2.0.1* |
f4d0ca3c AF |
391 | |
392 | %files devel | |
393 | %defattr(644,root,root,755) | |
96ccaff9 | 394 | %doc ChangeLog |
24738a6b | 395 | %attr(755,root,root) %{_bindir}/gtk-builder-convert |
ee07a9c1 | 396 | %attr(755,root,root) %{_libdir}/libgailutil.so |
6489e85c | 397 | %attr(755,root,root) %{_libdir}/libgdk-x11-2.0.so |
6489e85c | 398 | %attr(755,root,root) %{_libdir}/libgtk-x11-2.0.so |
ee07a9c1 | 399 | %{_includedir}/gail-1.0 |
6489e85c JB |
400 | %{_includedir}/gtk-2.0 |
401 | %{_includedir}/gtk-unix-print-2.0 | |
402 | %{_aclocaldir}/gtk-2.0.m4 | |
4a14682b | 403 | %{_libdir}/gtk-2.0/include |
ee07a9c1 | 404 | %{_pkgconfigdir}/gail.pc |
6489e85c | 405 | %{_pkgconfigdir}/gdk-2.0.pc |
6489e85c JB |
406 | %{_pkgconfigdir}/gdk-x11-2.0.pc |
407 | %{_pkgconfigdir}/gtk+-2.0.pc | |
408 | %{_pkgconfigdir}/gtk+-unix-print-2.0.pc | |
409 | %{_pkgconfigdir}/gtk+-x11-2.0.pc | |
2019e317 | 410 | %{_datadir}/gir-1.0/Gdk-2.0.gir |
64ed4784 | 411 | %{_datadir}/gir-1.0/GdkX11-2.0.gir |
2019e317 | 412 | %{_datadir}/gir-1.0/Gtk-2.0.gir |
6489e85c | 413 | %{_mandir}/man1/gtk-builder-convert.1* |
f4d0ca3c | 414 | |
55f48af8 | 415 | %if %{with static_libs} |
f4d0ca3c AF |
416 | %files static |
417 | %defattr(644,root,root,755) | |
ee07a9c1 | 418 | %{_libdir}/libgailutil.a |
6489e85c | 419 | %{_libdir}/libgdk-x11-2.0.a |
6489e85c | 420 | %{_libdir}/libgtk-x11-2.0.a |
55f48af8 | 421 | %endif |
d58327d0 | 422 | |
423 | %if %{with apidocs} | |
424 | %files apidocs | |
425 | %defattr(644,root,root,755) | |
ee07a9c1 | 426 | %{_gtkdocdir}/gail-libgail-util |
6489e85c | 427 | %{_gtkdocdir}/gdk |
6489e85c | 428 | %{_gtkdocdir}/gtk |
d58327d0 | 429 | %endif |
430 | ||
431 | %files examples | |
432 | %defattr(644,root,root,755) | |
8cd7c578 JR |
433 | %attr(755,root,root) %{_bindir}/gtk-demo |
434 | %{_datadir}/gtk-2.0 | |
d58327d0 | 435 | %{_examplesdir}/%{name}-%{version} |
3600fc7c JB |
436 | |
437 | %if %{with cups} | |
438 | %files cups | |
439 | %defattr(644,root,root,755) | |
440 | %attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/printbackends/libprintbackend-cups.so | |
441 | %endif | |
8d18157f JB |
442 | |
443 | %if %{with papi} | |
444 | %files papi | |
445 | %defattr(644,root,root,755) | |
446 | %attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/printbackends/libprintbackend-papi.so | |
447 | %endif |