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