]>
Commit | Line | Data |
---|---|---|
680072d1 | 1 | # |
dc8ca89f | 2 | # Conditional build: |
1e096bdc | 3 | %bcond_without apidocs # disable gtk-doc |
c845492c JB |
4 | %bcond_without static_libs # static library |
5 | %bcond_without selinux # SELinux support in gio | |
c2491c39 | 6 | %bcond_without systemtap # systemtap/dtrace probes |
2378ed3f | 7 | |
c5cd89bd | 8 | Summary: Useful routines for 'C' programming |
d62bd2ce ER |
9 | Summary(cs.UTF-8): Šikovná knihovna s funkcemi pro pomocné programy |
10 | Summary(da.UTF-8): Nyttige biblioteksfunktioner | |
11 | Summary(de.UTF-8): Eine nützliche Library von Dienstprogramm-Funktionen | |
12 | Summary(es.UTF-8): Conjunto de funciones gráficas utilitarias | |
13 | Summary(fi.UTF-8): Kirjasto, jossa on työkalufunktioita | |
14 | Summary(fr.UTF-8): Bibliothèque de fonctions utilitaires | |
15 | Summary(ja.UTF-8): 便利なユーティリティ関数のライブラリ | |
16 | Summary(pl.UTF-8): Biblioteka zawierająca wiele użytecznych funkcji C | |
17 | Summary(pt_BR.UTF-8): Conjunto de funções gráficas utilitárias | |
18 | Summary(tr.UTF-8): Yararlı ufak yordamlar kitaplığı | |
19 | Summary(zh_CN.UTF-8): 实用工具函数库 | |
184f9dda | 20 | Name: glib2 |
b66e6536 | 21 | Version: 2.66.3 |
368b06dc | 22 | Release: 1 |
f4f2082a | 23 | Epoch: 1 |
d9eae184 | 24 | License: LGPL v2+ |
c5cd89bd | 25 | Group: Libraries |
81b1b929 | 26 | Source0: http://ftp.gnome.org/pub/GNOME/sources/glib/2.66/glib-%{version}.tar.xz |
b66e6536 | 27 | # Source0-md5: c82fd909e2bef0a79b7430d5f5aa164b |
01020a74 | 28 | Patch0: %{name}-python_shebang.patch |
224b51dd | 29 | URL: https://www.gtk.org/ |
f562fe91 | 30 | BuildRequires: docbook-dtd412-xml |
6dc3a158 | 31 | BuildRequires: docbook-dtd45-xml |
eab94d61 | 32 | BuildRequires: docbook-style-xsl-nons |
e2cf3c6c | 33 | BuildRequires: elfutils-devel |
a449f59a | 34 | BuildRequires: fam-devel |
6dc3a158 | 35 | BuildRequires: gettext-tools |
7d0e7dad | 36 | %if %(locale -a | grep -q '^C\.utf8$'; echo $?) |
eab94d61 JB |
37 | BuildRequires: glibc-localedb-all |
38 | %endif | |
5911fe6b | 39 | %if %{with apidocs} |
8f29c118 | 40 | BuildRequires: gtk-doc >= 1.32.1 |
81b1b929 | 41 | BuildRequires: meson >= 0.52.0 |
5911fe6b | 42 | %endif |
5028631e | 43 | BuildRequires: libffi-devel >= 3.0.0 |
b2b69b23 | 44 | BuildRequires: libmount-devel >= 2.28 |
2f90d369 | 45 | %{?with_selinux:BuildRequires: libselinux-devel} |
f878609d | 46 | BuildRequires: meson >= 0.49.2 |
4020f023 | 47 | BuildRequires: ninja >= 1.5 |
871b1004 | 48 | BuildRequires: pcre-devel >= 8.31 |
f562fe91 | 49 | BuildRequires: perl-base |
b6bcc451 | 50 | BuildRequires: pkgconfig >= 1:0.16 |
d9a839a1 | 51 | # in case of separate libelf (elfutils don't provide .pc file) |
c845492c | 52 | #BuildRequires: pkgconfig(libelf) >= 0.8.12 |
b50dbf74 | 53 | BuildRequires: pkgconfig(libffi) >= 3.0.0 |
0b4a7459 | 54 | BuildRequires: python3 >= 1:3.5 |
2cc1a497 | 55 | BuildRequires: rpm-perlprov |
8c69dce2 | 56 | BuildRequires: rpm-pythonprov |
b66e6536 | 57 | BuildRequires: rpmbuild(macros) >= 1.752 |
f9f8e5ca | 58 | BuildRequires: sed >= 4.0 |
c2491c39 | 59 | %{?with_systemtap:BuildRequires: systemtap-sdt-devel} |
5028631e AF |
60 | BuildRequires: tar >= 1:1.22 |
61 | BuildRequires: xz | |
f9f8e5ca | 62 | BuildRequires: zlib-devel |
c47711ba | 63 | Requires: iconv |
c67b5205 | 64 | Requires: libmount >= 2.28 |
871b1004 | 65 | Requires: pcre >= 8.31 |
d0d10187 | 66 | Suggests: gvfs |
81df0f8b | 67 | Provides: glib2-libs |
43f3147b | 68 | Obsoletes: glib2-libs |
e31e969b JR |
69 | # see https://bugzilla.xfce.org/show_bug.cgi?id=9709 |
70 | Conflicts: xfce4-session < 4.10.0-5 | |
c5cd89bd AF |
71 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
72 | ||
c5cd89bd AF |
73 | %description |
74 | GLib, is a library which includes support routines for C such as | |
045fa5ec | 75 | lists, trees, hashes, memory allocation, and many other things. GLib |
c5cd89bd AF |
76 | includes also generally useful data structures used by GIMP and many |
77 | other. | |
78 | ||
1ccef3e3 JR |
79 | %description -l cs.UTF-8 |
80 | Šikovná knihovna s funkcemi pro pomocné programy. Vývojové knihovny a | |
81 | hlavičky jsou v balíčku glib-devel. | |
c5cd89bd | 82 | |
1ccef3e3 | 83 | %description -l da.UTF-8 |
c5cd89bd AF |
84 | Nyttigt bibliotek med forskellige funktioner. Udviklings- biblioteker |
85 | og headerfiler er i glib-devel pakken. | |
86 | ||
1ccef3e3 JR |
87 | %description -l de.UTF-8 |
88 | Eine nützliche Library von Dienstprogramm-Funktionen. | |
c5cd89bd AF |
89 | Entwicklungs-Libraries und Header befinden sich in glib-devel. |
90 | ||
1ccef3e3 | 91 | %description -l es.UTF-8 |
fac1fbe3 | 92 | Conjunto de funciones utilitarias. Bibliotecas de desarrollo y |
1ccef3e3 | 93 | archivos de inclusión están en glib-devel. |
fac1fbe3 | 94 | |
1ccef3e3 JR |
95 | %description -l fi.UTF-8 |
96 | Kirjasto, jossa on työkalufunktioita. Kehitysversiot ja | |
b19705b9 | 97 | header-tiedostot ovat glib-devel-paketissa. |
c5cd89bd | 98 | |
1ccef3e3 JR |
99 | %description -l ja.UTF-8 |
100 | GLibはユーティリティ関数を集めた便利なライブラリです。このC言語用ライブラリは、 | |
75195290 | 101 | いくつかの問題を解決するよう設計されており、多くのプログラムから要求される使いやすい 関数を提供します。 |
fac1fbe3 | 102 | |
75195290 | 103 | GLibはGDK, GTK+他多くのアプリケーションで利用される。このライブラリに依存するアプリケーション |
1ccef3e3 | 104 | 等のためにこのglibパッケージをインストールしてください。 |
fac1fbe3 | 105 | |
1ccef3e3 | 106 | %description -l pl.UTF-8 |
045fa5ec | 107 | GLib jest zestawem bibliotek zawierających funkcje do obsługi list i |
1ccef3e3 JR |
108 | drzew, funkcje mieszające, funkcje do alokacji pamięci i dużo innych |
109 | podstawowych funkcji i różnych struktur danych używanych przez program | |
fac1fbe3 | 110 | GIMP i wiele innych. |
111 | ||
1ccef3e3 JR |
112 | %description -l pt_BR.UTF-8 |
113 | Conjunto de funções utilitárias. Bibliotecas de desenvolvimento e | |
114 | arquivos de inclusão estão em glib-devel. | |
c5cd89bd | 115 | |
1ccef3e3 JR |
116 | %description -l tr.UTF-8 |
117 | Yararlı yordamlar kitaplığı. Geliştirme kitaplıkları ve başlık | |
118 | dosyaları glib-devel paketinde yer almaktadır. | |
c5cd89bd AF |
119 | |
120 | %package devel | |
045fa5ec | 121 | Summary: GLib heades files, documentation |
d62bd2ce | 122 | Summary(es.UTF-8): Conjunto de funciones gráficas utilitarias para desarrollo |
045fa5ec | 123 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do GLib |
d62bd2ce | 124 | Summary(pt_BR.UTF-8): Conjunto de ferramentas e biblioteca do kit de desenho do GIMP |
c5cd89bd | 125 | Group: Development/Libraries |
4d5d23a0 | 126 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c67b5205 | 127 | Requires: libffi-devel >= 3.0.0 |
421da710 | 128 | Requires: libmount-devel >= 2.28 |
871b1004 | 129 | Requires: pcre-devel >= 8.31 |
0b4a7459 | 130 | Requires: python3-modules >= 1:3.5 |
f16b8cb0 JB |
131 | # gio only |
132 | %{?with_selinux:Requires: libselinux-devel} | |
5c35f474 | 133 | Requires: zlib-devel |
c5cd89bd AF |
134 | |
135 | %description devel | |
136 | Header files for the support library for the GIMP's X libraries, which | |
045fa5ec | 137 | are available as public libraries. GLib includes generally useful data |
c5cd89bd AF |
138 | structures. |
139 | ||
1ccef3e3 JR |
140 | %description devel -l es.UTF-8 |
141 | Conjunto de funciones gráficas utilitarias para desarrollo. | |
fac1fbe3 | 142 | |
1ccef3e3 JR |
143 | %description devel -l ja.UTF-8 |
144 | glib2-develパッケージには、一般ライブラリとして有効なGIMPのXライブラリ群 | |
75195290 | 145 | (GtkとGDK)をサポートするライブラリ向けにスタティックライブラリとヘッダが 含まれています。 |
fac1fbe3 | 146 | |
75195290 | 147 | もしGLibを使ってプログラムを開発するならば、glib-develパッケージをインスト ールしてください。 |
fac1fbe3 | 148 | |
1ccef3e3 | 149 | %description devel -l pl.UTF-8 |
045fa5ec | 150 | Pliki nagłówkowe i dokumentacja do GLib przydatna przy pisaniu |
1ccef3e3 | 151 | programów wykorzystujących tę bibliotekę. |
c5cd89bd | 152 | |
1ccef3e3 JR |
153 | %description devel -l pt_BR.UTF-8 |
154 | Bibliotecas e arquivos de inclusão para a biblioteca de suporte para | |
155 | as bibliotecas X do GIMP, que são disponíveis como bibliotecas | |
045fa5ec | 156 | públicas. A GLib inclui estruturas de dados genéricas úteis. |
fac1fbe3 | 157 | |
c5cd89bd | 158 | %package static |
045fa5ec MB |
159 | Summary: Static GLib libraries |
160 | Summary(pl.UTF-8): Biblioteki statyczne GLib | |
161 | Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com GLib | |
c5cd89bd | 162 | Group: Development/Libraries |
e9536dab | 163 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
c5cd89bd AF |
164 | |
165 | %description static | |
045fa5ec | 166 | Static GLib libraries. |
c5cd89bd | 167 | |
1ccef3e3 | 168 | %description static -l pl.UTF-8 |
045fa5ec | 169 | Biblioteki statyczne GLib. |
c5cd89bd | 170 | |
1ccef3e3 | 171 | %description static -l pt_BR.UTF-8 |
045fa5ec | 172 | Bibliotecas estáticas para desenvolvimento com GLib. |
fac1fbe3 | 173 | |
9fd4432e | 174 | %package apidocs |
045fa5ec MB |
175 | Summary: GLib API documetation |
176 | Summary(pl.UTF-8): Dokumentacja API GLib | |
9fd4432e JB |
177 | Group: Documentation |
178 | Requires: gtk-doc-common | |
b66e6536 | 179 | %{?noarchpackage} |
9fd4432e JB |
180 | |
181 | %description apidocs | |
045fa5ec | 182 | GLib API documetation. |
9fd4432e | 183 | |
1ccef3e3 | 184 | %description apidocs -l pl.UTF-8 |
045fa5ec | 185 | Dokumentacja API GLib. |
9fd4432e | 186 | |
b6bcc451 JB |
187 | %package gdb |
188 | Summary: GDB Python pretty printers for GObject/GLib types | |
189 | Summary(pl.UTF-8): Skrypty Pythona dla GDB do ładnego wypisywania typów GObject/GLib | |
190 | Group: Development/Debuggers | |
8b3d5b05 | 191 | Requires: gdb |
b6bcc451 JB |
192 | |
193 | %description gdb | |
194 | GDB Python pretty printers for GObject/GLib types. This includes | |
195 | support for GObject pointer pretty printing and signal frame | |
196 | compression in backtraces. | |
197 | ||
198 | %description gdb -l pl.UTF-8 | |
199 | Skrypty Pythona dla GDB do ładnego wypisywania typów GObject/GLib. | |
200 | Obejmują także ładne wypisywanie wskaźników GObject oraz kompresję | |
201 | ramek sygnagłów w zrzutach wywołań (backtrace). | |
202 | ||
f9d9fd77 JB |
203 | %package -n bash-completion-gio |
204 | Summary: bash-completion for gio utilities | |
205 | Summary(pl.UTF-8): Bashowe uzupełnianie nazw dla narzędzi gio | |
7966f809 | 206 | Group: Applications/Shells |
5911fe6b | 207 | Requires: bash-completion >= 2.0 |
f9d9fd77 | 208 | Obsoletes: bash-completion-gdbus |
b66e6536 | 209 | %{?noarchpackage} |
7966f809 | 210 | |
f9d9fd77 JB |
211 | %description -n bash-completion-gio |
212 | bash-completion for gio utilities: gdbus and gsettings. | |
7966f809 | 213 | |
f9d9fd77 JB |
214 | %description -n bash-completion-gio -l pl.UTF-8 |
215 | Bashowe uzupełnianie nazw dla narzędzi gio: gdbus i gsettings. | |
7966f809 | 216 | |
c2491c39 JB |
217 | %package -n systemtap-glib2 |
218 | Summary: systemtap/dtrace probes for GLib 2 | |
219 | Summary(pl.UTF-8): Sondy systemtap/dtrace dla GLib 2 | |
220 | Group: Development/Tools | |
e5bd23a4 | 221 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c2491c39 JB |
222 | Requires: systemtap-client |
223 | ||
224 | %description -n systemtap-glib2 | |
225 | systemtap/dtrace probes for GLib 2. | |
226 | ||
227 | %description -n systemtap-glib2 -l pl.UTF-8 | |
228 | Sondy systemtap/dtrace dla GLib 2. | |
229 | ||
c5cd89bd | 230 | %prep |
9c7ef8c6 | 231 | %setup -q -n glib-%{version} |
01020a74 | 232 | %patch0 -p1 |
c5cd89bd AF |
233 | |
234 | %build | |
4b994ea4 JP |
235 | %meson build \ |
236 | %{?debug:--debug} \ | |
237 | -Ddtrace=%{__true_false systemtap} \ | |
238 | -Dsystemtap=%{__true_false systemtap} \ | |
1344eef0 | 239 | %ifarch %{ix86} |
4b994ea4 | 240 | %{?with_systemtap:-Dtapset_install_dir=%{_datadir}/systemtap/tapset/i386} \ |
1344eef0 | 241 | %endif |
28892236 | 242 | -Dfam=true \ |
4b994ea4 JP |
243 | -Dgtk_doc=%{__true_false apidocs} \ |
244 | -Dselinux=%{?with_selinux:enabled}%{!?with_selinux:disabled} \ | |
245 | -Dman=true \ | |
246 | -Dinternal_pcre=false | |
247 | ||
248 | %ninja_build -C build | |
c5cd89bd AF |
249 | |
250 | %install | |
251 | rm -rf $RPM_BUILD_ROOT | |
9ae10cd0 | 252 | |
4b994ea4 | 253 | %ninja_install -C build |
c5cd89bd | 254 | |
28892236 | 255 | > $RPM_BUILD_ROOT%{_libdir}/gio/modules/giomodule.cache |
2378ed3f | 256 | > $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/gschemas.compiled |
f9f8e5ca | 257 | |
b6bcc451 JB |
258 | %py_comp $RPM_BUILD_ROOT%{_datadir}/glib-2.0/gdb |
259 | %py_ocomp $RPM_BUILD_ROOT%{_datadir}/glib-2.0/gdb | |
260 | %py_postclean $RPM_BUILD_ROOT%{_datadir}/glib-2.0/gdb | |
1ebb8361 | 261 | |
cb319753 JB |
262 | # adjust for compatibility with names supported by glibc |
263 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian} | |
264 | ||
1ebb8361 | 265 | %find_lang glib20 |
2a2588d0 | 266 | |
c5cd89bd AF |
267 | %clean |
268 | rm -rf $RPM_BUILD_ROOT | |
269 | ||
f9f8e5ca MB |
270 | %post |
271 | /sbin/ldconfig | |
272 | ||
28892236 JP |
273 | umask 022 |
274 | %{_bindir}/gio-querymodules %{_libdir}/gio/modules || : | |
275 | ||
4d5d23a0 | 276 | %postun -p /sbin/ldconfig |
27d447ab | 277 | |
d0edc3ae | 278 | %files -f glib20.lang |
c5cd89bd | 279 | %defattr(644,root,root,755) |
beac3f53 | 280 | %doc AUTHORS README NEWS |
b6c7e979 | 281 | %attr(755,root,root) %{_bindir}/gapplication |
7966f809 | 282 | %attr(755,root,root) %{_bindir}/gdbus |
b2b69b23 | 283 | %attr(755,root,root) %{_bindir}/gio |
f9f8e5ca | 284 | %attr(755,root,root) %{_bindir}/gio-querymodules |
7966f809 MB |
285 | %attr(755,root,root) %{_bindir}/glib-compile-schemas |
286 | %attr(755,root,root) %{_bindir}/gsettings | |
1ebb8361 MB |
287 | %attr(755,root,root) %{_libdir}/libgio-2.0.so.*.*.* |
288 | %attr(755,root,root) %ghost %{_libdir}/libgio-2.0.so.0 | |
6fa08951 JB |
289 | %attr(755,root,root) %{_libdir}/libglib-2.0.so.*.*.* |
290 | %attr(755,root,root) %ghost %{_libdir}/libglib-2.0.so.0 | |
291 | %attr(755,root,root) %{_libdir}/libgmodule-2.0.so.*.*.* | |
292 | %attr(755,root,root) %ghost %{_libdir}/libgmodule-2.0.so.0 | |
293 | %attr(755,root,root) %{_libdir}/libgobject-2.0.so.*.*.* | |
294 | %attr(755,root,root) %ghost %{_libdir}/libgobject-2.0.so.0 | |
295 | %attr(755,root,root) %{_libdir}/libgthread-2.0.so.*.*.* | |
296 | %attr(755,root,root) %ghost %{_libdir}/libgthread-2.0.so.0 | |
28892236 JP |
297 | %dir %{_libdir}/gio |
298 | %dir %{_libdir}/gio/modules | |
299 | %attr(755,root,root) %{_libdir}/gio/modules/libgiofam.so | |
300 | %ghost %{_libdir}/gio/modules/giomodule.cache | |
587c0b40 | 301 | %dir %{_datadir}/glib-2.0 |
57359775 | 302 | %dir %{_datadir}/glib-2.0/schemas |
2378ed3f | 303 | %ghost %{_datadir}/glib-2.0/schemas/gschemas.compiled |
d28aa732 | 304 | %if %{with apidocs} |
b6c7e979 | 305 | %{_mandir}/man1/gapplication.1* |
7966f809 | 306 | %{_mandir}/man1/gdbus.1* |
b2b69b23 | 307 | %{_mandir}/man1/gio.1* |
7966f809 MB |
308 | %{_mandir}/man1/gio-querymodules.1* |
309 | %{_mandir}/man1/glib-compile-schemas.1* | |
310 | %{_mandir}/man1/gsettings.1* | |
d28aa732 | 311 | %endif |
c5cd89bd AF |
312 | |
313 | %files devel | |
314 | %defattr(644,root,root,755) | |
5028631e | 315 | %attr(755,root,root) %{_bindir}/gdbus-codegen |
9a6262ab | 316 | %attr(755,root,root) %{_bindir}/glib-compile-resources |
6fa08951 JB |
317 | %attr(755,root,root) %{_bindir}/glib-genmarshal |
318 | %attr(755,root,root) %{_bindir}/glib-gettextize | |
319 | %attr(755,root,root) %{_bindir}/glib-mkenums | |
320 | %attr(755,root,root) %{_bindir}/gobject-query | |
9a6262ab | 321 | %attr(755,root,root) %{_bindir}/gresource |
1ebb8361 MB |
322 | %attr(755,root,root) %{_bindir}/gtester |
323 | %attr(755,root,root) %{_bindir}/gtester-report | |
324 | %attr(755,root,root) %{_libdir}/libgio-2.0.so | |
6fa08951 JB |
325 | %attr(755,root,root) %{_libdir}/libglib-2.0.so |
326 | %attr(755,root,root) %{_libdir}/libgmodule-2.0.so | |
327 | %attr(755,root,root) %{_libdir}/libgobject-2.0.so | |
328 | %attr(755,root,root) %{_libdir}/libgthread-2.0.so | |
f9d9fd77 JB |
329 | %{_libdir}/glib-2.0 |
330 | %{_includedir}/gio-unix-2.0 | |
331 | %{_includedir}/glib-2.0 | |
b5c2da0c MB |
332 | %dir %{_datadir}/glib-2.0/codegen |
333 | %{_datadir}/glib-2.0/codegen/*.py* | |
7191dcf9 | 334 | %dir %{_datadir}/glib-2.0/gettext |
7191dcf9 | 335 | %{_datadir}/glib-2.0/gettext/po |
57359775 | 336 | %{_datadir}/glib-2.0/schemas/gschema.dtd |
fdf91bbb | 337 | %{_datadir}/glib-2.0/valgrind |
fb086cb3 MB |
338 | %{_datadir}/gettext/its/gschema.its |
339 | %{_datadir}/gettext/its/gschema.loc | |
1ebb8361 MB |
340 | %{_pkgconfigdir}/gio-2.0.pc |
341 | %{_pkgconfigdir}/gio-unix-2.0.pc | |
6fa08951 JB |
342 | %{_pkgconfigdir}/glib-2.0.pc |
343 | %{_pkgconfigdir}/gmodule-2.0.pc | |
344 | %{_pkgconfigdir}/gmodule-export-2.0.pc | |
345 | %{_pkgconfigdir}/gmodule-no-export-2.0.pc | |
346 | %{_pkgconfigdir}/gobject-2.0.pc | |
347 | %{_pkgconfigdir}/gthread-2.0.pc | |
348 | %{_aclocaldir}/glib-2.0.m4 | |
349 | %{_aclocaldir}/glib-gettext.m4 | |
f9d9fd77 | 350 | %{_aclocaldir}/gsettings.m4 |
6fa08951 | 351 | %if %{with apidocs} |
5028631e | 352 | %{_mandir}/man1/gdbus-codegen.1* |
9a6262ab | 353 | %{_mandir}/man1/glib-compile-resources.1* |
6fa08951 JB |
354 | %{_mandir}/man1/glib-genmarshal.1* |
355 | %{_mandir}/man1/glib-gettextize.1* | |
356 | %{_mandir}/man1/glib-mkenums.1* | |
357 | %{_mandir}/man1/gobject-query.1* | |
9a6262ab | 358 | %{_mandir}/man1/gresource.1* |
848cb578 MB |
359 | %{_mandir}/man1/gtester-report.1* |
360 | %{_mandir}/man1/gtester.1* | |
6fa08951 | 361 | %endif |
c5cd89bd | 362 | |
5cb5b210 | 363 | %if %{with static_libs} |
c5cd89bd AF |
364 | %files static |
365 | %defattr(644,root,root,755) | |
1ebb8361 | 366 | %{_libdir}/libgio-2.0.a |
6fa08951 JB |
367 | %{_libdir}/libglib-2.0.a |
368 | %{_libdir}/libgmodule-2.0.a | |
369 | %{_libdir}/libgobject-2.0.a | |
370 | %{_libdir}/libgthread-2.0.a | |
511b979a | 371 | %endif |
9fd4432e JB |
372 | |
373 | %if %{with apidocs} | |
374 | %files apidocs | |
375 | %defattr(644,root,root,755) | |
1ebb8361 | 376 | %{_gtkdocdir}/gio |
6fa08951 JB |
377 | %{_gtkdocdir}/glib |
378 | %{_gtkdocdir}/gobject | |
9fd4432e | 379 | %endif |
7966f809 | 380 | |
b6bcc451 JB |
381 | %files gdb |
382 | %defattr(644,root,root,755) | |
383 | %{_datadir}/gdb/auto-load/usr/%{_lib}/libglib-2.0.so.*.*.*-gdb.py | |
384 | %{_datadir}/gdb/auto-load/usr/%{_lib}/libgobject-2.0.so.*.*.*-gdb.py | |
385 | %{_datadir}/glib-2.0/gdb | |
386 | ||
f9d9fd77 | 387 | %files -n bash-completion-gio |
7966f809 | 388 | %defattr(644,root,root,755) |
b6c7e979 | 389 | %{_datadir}/bash-completion/completions/gapplication |
5911fe6b | 390 | %{_datadir}/bash-completion/completions/gdbus |
871b1004 | 391 | %{_datadir}/bash-completion/completions/gio |
5911fe6b ŁK |
392 | %{_datadir}/bash-completion/completions/gresource |
393 | %{_datadir}/bash-completion/completions/gsettings | |
c2491c39 JB |
394 | |
395 | %if %{with systemtap} | |
396 | %files -n systemtap-glib2 | |
397 | %defattr(644,root,root,755) | |
36ea1fda MB |
398 | %{_datadir}/systemtap/tapset/*/libgio-2.0*.stp |
399 | %{_datadir}/systemtap/tapset/*/libglib-2.0*.stp | |
400 | %{_datadir}/systemtap/tapset/*/libgobject-2.0*.stp | |
c2491c39 | 401 | %endif |