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