]>
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 |
f11cc484 | 7 | %bcond_without fam # disable fam filesystem monitoring support |
2378ed3f | 8 | |
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 |
99a443e4 | 22 | Version: 2.66.7 |
368b06dc | 23 | Release: 1 |
f4f2082a | 24 | Epoch: 1 |
d9eae184 | 25 | License: LGPL v2+ |
c5cd89bd | 26 | Group: Libraries |
0c23b9f7 | 27 | Source0: https://download.gnome.org/sources/glib/2.66/glib-%{version}.tar.xz |
99a443e4 | 28 | # Source0-md5: 20d515238d2d22f1ec2057828fb59d52 |
01020a74 | 29 | Patch0: %{name}-python_shebang.patch |
224b51dd | 30 | URL: https://www.gtk.org/ |
f562fe91 | 31 | BuildRequires: docbook-dtd412-xml |
6dc3a158 | 32 | BuildRequires: docbook-dtd45-xml |
eab94d61 | 33 | BuildRequires: docbook-style-xsl-nons |
e2cf3c6c | 34 | BuildRequires: elfutils-devel |
f11cc484 | 35 | %{?with_fam:BuildRequires: fam-devel} |
6dc3a158 | 36 | BuildRequires: gettext-tools |
7d0e7dad | 37 | %if %(locale -a | grep -q '^C\.utf8$'; echo $?) |
eab94d61 JB |
38 | BuildRequires: glibc-localedb-all |
39 | %endif | |
5911fe6b | 40 | %if %{with apidocs} |
8f29c118 | 41 | BuildRequires: gtk-doc >= 1.32.1 |
81b1b929 | 42 | BuildRequires: meson >= 0.52.0 |
5911fe6b | 43 | %endif |
5028631e | 44 | BuildRequires: libffi-devel >= 3.0.0 |
b2b69b23 | 45 | BuildRequires: libmount-devel >= 2.28 |
2f90d369 | 46 | %{?with_selinux:BuildRequires: libselinux-devel} |
f878609d | 47 | BuildRequires: meson >= 0.49.2 |
4020f023 | 48 | BuildRequires: ninja >= 1.5 |
871b1004 | 49 | BuildRequires: pcre-devel >= 8.31 |
f562fe91 | 50 | BuildRequires: perl-base |
b6bcc451 | 51 | BuildRequires: pkgconfig >= 1:0.16 |
d9a839a1 | 52 | # in case of separate libelf (elfutils don't provide .pc file) |
c845492c | 53 | #BuildRequires: pkgconfig(libelf) >= 0.8.12 |
b50dbf74 | 54 | BuildRequires: pkgconfig(libffi) >= 3.0.0 |
0b4a7459 | 55 | BuildRequires: python3 >= 1:3.5 |
2cc1a497 | 56 | BuildRequires: rpm-perlprov |
8c69dce2 | 57 | BuildRequires: rpm-pythonprov |
b66e6536 | 58 | BuildRequires: rpmbuild(macros) >= 1.752 |
f9f8e5ca | 59 | BuildRequires: sed >= 4.0 |
c2491c39 | 60 | %{?with_systemtap:BuildRequires: systemtap-sdt-devel} |
5028631e AF |
61 | BuildRequires: tar >= 1:1.22 |
62 | BuildRequires: xz | |
f9f8e5ca | 63 | BuildRequires: zlib-devel |
c47711ba | 64 | Requires: iconv |
c67b5205 | 65 | Requires: libmount >= 2.28 |
871b1004 | 66 | Requires: pcre >= 8.31 |
d0d10187 | 67 | Suggests: gvfs |
81df0f8b | 68 | Provides: glib2-libs |
43f3147b | 69 | Obsoletes: glib2-libs |
e31e969b JR |
70 | # see https://bugzilla.xfce.org/show_bug.cgi?id=9709 |
71 | Conflicts: xfce4-session < 4.10.0-5 | |
c5cd89bd AF |
72 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
73 | ||
c5cd89bd AF |
74 | %description |
75 | GLib, is a library which includes support routines for C such as | |
045fa5ec | 76 | lists, trees, hashes, memory allocation, and many other things. GLib |
c5cd89bd AF |
77 | includes also generally useful data structures used by GIMP and many |
78 | other. | |
79 | ||
1ccef3e3 JR |
80 | %description -l cs.UTF-8 |
81 | Šikovná knihovna s funkcemi pro pomocné programy. Vývojové knihovny a | |
82 | hlavičky jsou v balíčku glib-devel. | |
c5cd89bd | 83 | |
1ccef3e3 | 84 | %description -l da.UTF-8 |
c5cd89bd AF |
85 | Nyttigt bibliotek med forskellige funktioner. Udviklings- biblioteker |
86 | og headerfiler er i glib-devel pakken. | |
87 | ||
1ccef3e3 JR |
88 | %description -l de.UTF-8 |
89 | Eine nützliche Library von Dienstprogramm-Funktionen. | |
c5cd89bd AF |
90 | Entwicklungs-Libraries und Header befinden sich in glib-devel. |
91 | ||
1ccef3e3 | 92 | %description -l es.UTF-8 |
fac1fbe3 | 93 | Conjunto de funciones utilitarias. Bibliotecas de desarrollo y |
1ccef3e3 | 94 | archivos de inclusión están en glib-devel. |
fac1fbe3 | 95 | |
1ccef3e3 JR |
96 | %description -l fi.UTF-8 |
97 | Kirjasto, jossa on työkalufunktioita. Kehitysversiot ja | |
b19705b9 | 98 | header-tiedostot ovat glib-devel-paketissa. |
c5cd89bd | 99 | |
1ccef3e3 JR |
100 | %description -l ja.UTF-8 |
101 | GLibはユーティリティ関数を集めた便利なライブラリです。このC言語用ライブラリは、 | |
75195290 | 102 | いくつかの問題を解決するよう設計されており、多くのプログラムから要求される使いやすい 関数を提供します。 |
fac1fbe3 | 103 | |
75195290 | 104 | GLibはGDK, GTK+他多くのアプリケーションで利用される。このライブラリに依存するアプリケーション |
1ccef3e3 | 105 | 等のためにこのglibパッケージをインストールしてください。 |
fac1fbe3 | 106 | |
1ccef3e3 | 107 | %description -l pl.UTF-8 |
045fa5ec | 108 | GLib jest zestawem bibliotek zawierających funkcje do obsługi list i |
1ccef3e3 JR |
109 | drzew, funkcje mieszające, funkcje do alokacji pamięci i dużo innych |
110 | podstawowych funkcji i różnych struktur danych używanych przez program | |
fac1fbe3 | 111 | GIMP i wiele innych. |
112 | ||
1ccef3e3 JR |
113 | %description -l pt_BR.UTF-8 |
114 | Conjunto de funções utilitárias. Bibliotecas de desenvolvimento e | |
115 | arquivos de inclusão estão em glib-devel. | |
c5cd89bd | 116 | |
1ccef3e3 JR |
117 | %description -l tr.UTF-8 |
118 | Yararlı yordamlar kitaplığı. Geliştirme kitaplıkları ve başlık | |
119 | dosyaları glib-devel paketinde yer almaktadır. | |
c5cd89bd AF |
120 | |
121 | %package devel | |
045fa5ec | 122 | Summary: GLib heades files, documentation |
d62bd2ce | 123 | Summary(es.UTF-8): Conjunto de funciones gráficas utilitarias para desarrollo |
045fa5ec | 124 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do GLib |
d62bd2ce | 125 | Summary(pt_BR.UTF-8): Conjunto de ferramentas e biblioteca do kit de desenho do GIMP |
c5cd89bd | 126 | Group: Development/Libraries |
4d5d23a0 | 127 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c67b5205 | 128 | Requires: libffi-devel >= 3.0.0 |
421da710 | 129 | Requires: libmount-devel >= 2.28 |
871b1004 | 130 | Requires: pcre-devel >= 8.31 |
0b4a7459 | 131 | Requires: python3-modules >= 1:3.5 |
f16b8cb0 JB |
132 | # gio only |
133 | %{?with_selinux:Requires: libselinux-devel} | |
5c35f474 | 134 | Requires: zlib-devel |
c5cd89bd AF |
135 | |
136 | %description devel | |
137 | Header files for the support library for the GIMP's X libraries, which | |
045fa5ec | 138 | are available as public libraries. GLib includes generally useful data |
c5cd89bd AF |
139 | structures. |
140 | ||
1ccef3e3 JR |
141 | %description devel -l es.UTF-8 |
142 | Conjunto de funciones gráficas utilitarias para desarrollo. | |
fac1fbe3 | 143 | |
1ccef3e3 JR |
144 | %description devel -l ja.UTF-8 |
145 | glib2-develパッケージには、一般ライブラリとして有効なGIMPのXライブラリ群 | |
75195290 | 146 | (GtkとGDK)をサポートするライブラリ向けにスタティックライブラリとヘッダが 含まれています。 |
fac1fbe3 | 147 | |
75195290 | 148 | もしGLibを使ってプログラムを開発するならば、glib-develパッケージをインスト ールしてください。 |
fac1fbe3 | 149 | |
1ccef3e3 | 150 | %description devel -l pl.UTF-8 |
045fa5ec | 151 | Pliki nagłówkowe i dokumentacja do GLib przydatna przy pisaniu |
1ccef3e3 | 152 | programów wykorzystujących tę bibliotekę. |
c5cd89bd | 153 | |
1ccef3e3 JR |
154 | %description devel -l pt_BR.UTF-8 |
155 | Bibliotecas e arquivos de inclusão para a biblioteca de suporte para | |
156 | as bibliotecas X do GIMP, que são disponíveis como bibliotecas | |
045fa5ec | 157 | públicas. A GLib inclui estruturas de dados genéricas úteis. |
fac1fbe3 | 158 | |
c5cd89bd | 159 | %package static |
045fa5ec MB |
160 | Summary: Static GLib libraries |
161 | Summary(pl.UTF-8): Biblioteki statyczne GLib | |
162 | Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com GLib | |
c5cd89bd | 163 | Group: Development/Libraries |
e9536dab | 164 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
c5cd89bd AF |
165 | |
166 | %description static | |
045fa5ec | 167 | Static GLib libraries. |
c5cd89bd | 168 | |
1ccef3e3 | 169 | %description static -l pl.UTF-8 |
045fa5ec | 170 | Biblioteki statyczne GLib. |
c5cd89bd | 171 | |
1ccef3e3 | 172 | %description static -l pt_BR.UTF-8 |
045fa5ec | 173 | Bibliotecas estáticas para desenvolvimento com GLib. |
fac1fbe3 | 174 | |
9fd4432e | 175 | %package apidocs |
045fa5ec MB |
176 | Summary: GLib API documetation |
177 | Summary(pl.UTF-8): Dokumentacja API GLib | |
9fd4432e JB |
178 | Group: Documentation |
179 | Requires: gtk-doc-common | |
72a5ae3d | 180 | BuildArch: noarch |
9fd4432e JB |
181 | |
182 | %description apidocs | |
045fa5ec | 183 | GLib API documetation. |
9fd4432e | 184 | |
1ccef3e3 | 185 | %description apidocs -l pl.UTF-8 |
045fa5ec | 186 | Dokumentacja API GLib. |
9fd4432e | 187 | |
b6bcc451 JB |
188 | %package gdb |
189 | Summary: GDB Python pretty printers for GObject/GLib types | |
190 | Summary(pl.UTF-8): Skrypty Pythona dla GDB do ładnego wypisywania typów GObject/GLib | |
191 | Group: Development/Debuggers | |
8b3d5b05 | 192 | Requires: gdb |
b6bcc451 JB |
193 | |
194 | %description gdb | |
195 | GDB Python pretty printers for GObject/GLib types. This includes | |
196 | support for GObject pointer pretty printing and signal frame | |
197 | compression in backtraces. | |
198 | ||
199 | %description gdb -l pl.UTF-8 | |
200 | Skrypty Pythona dla GDB do ładnego wypisywania typów GObject/GLib. | |
201 | Obejmują także ładne wypisywanie wskaźników GObject oraz kompresję | |
202 | ramek sygnagłów w zrzutach wywołań (backtrace). | |
203 | ||
f9d9fd77 JB |
204 | %package -n bash-completion-gio |
205 | Summary: bash-completion for gio utilities | |
206 | Summary(pl.UTF-8): Bashowe uzupełnianie nazw dla narzędzi gio | |
7966f809 | 207 | Group: Applications/Shells |
5911fe6b | 208 | Requires: bash-completion >= 2.0 |
f9d9fd77 | 209 | Obsoletes: bash-completion-gdbus |
72a5ae3d | 210 | BuildArch: noarch |
7966f809 | 211 | |
f9d9fd77 JB |
212 | %description -n bash-completion-gio |
213 | bash-completion for gio utilities: gdbus and gsettings. | |
7966f809 | 214 | |
f9d9fd77 JB |
215 | %description -n bash-completion-gio -l pl.UTF-8 |
216 | Bashowe uzupełnianie nazw dla narzędzi gio: gdbus i gsettings. | |
7966f809 | 217 | |
c2491c39 JB |
218 | %package -n systemtap-glib2 |
219 | Summary: systemtap/dtrace probes for GLib 2 | |
220 | Summary(pl.UTF-8): Sondy systemtap/dtrace dla GLib 2 | |
221 | Group: Development/Tools | |
e5bd23a4 | 222 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c2491c39 JB |
223 | Requires: systemtap-client |
224 | ||
225 | %description -n systemtap-glib2 | |
226 | systemtap/dtrace probes for GLib 2. | |
227 | ||
228 | %description -n systemtap-glib2 -l pl.UTF-8 | |
229 | Sondy systemtap/dtrace dla GLib 2. | |
230 | ||
c5cd89bd | 231 | %prep |
9c7ef8c6 | 232 | %setup -q -n glib-%{version} |
01020a74 | 233 | %patch0 -p1 |
c5cd89bd AF |
234 | |
235 | %build | |
4b994ea4 JP |
236 | %meson build \ |
237 | %{?debug:--debug} \ | |
238 | -Ddtrace=%{__true_false systemtap} \ | |
239 | -Dsystemtap=%{__true_false systemtap} \ | |
1344eef0 | 240 | %ifarch %{ix86} |
4b994ea4 | 241 | %{?with_systemtap:-Dtapset_install_dir=%{_datadir}/systemtap/tapset/i386} \ |
1344eef0 | 242 | %endif |
f11cc484 | 243 | -Dfam=%{__true_false fam} \ |
4b994ea4 JP |
244 | -Dgtk_doc=%{__true_false apidocs} \ |
245 | -Dselinux=%{?with_selinux:enabled}%{!?with_selinux:disabled} \ | |
246 | -Dman=true \ | |
247 | -Dinternal_pcre=false | |
248 | ||
249 | %ninja_build -C build | |
c5cd89bd AF |
250 | |
251 | %install | |
252 | rm -rf $RPM_BUILD_ROOT | |
9ae10cd0 | 253 | |
f11cc484 JP |
254 | install -d $RPM_BUILD_ROOT%{_libdir}/gio/modules |
255 | ||
4b994ea4 | 256 | %ninja_install -C build |
c5cd89bd | 257 | |
28892236 | 258 | > $RPM_BUILD_ROOT%{_libdir}/gio/modules/giomodule.cache |
2378ed3f | 259 | > $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/gschemas.compiled |
f9f8e5ca | 260 | |
b6bcc451 JB |
261 | %py_comp $RPM_BUILD_ROOT%{_datadir}/glib-2.0/gdb |
262 | %py_ocomp $RPM_BUILD_ROOT%{_datadir}/glib-2.0/gdb | |
263 | %py_postclean $RPM_BUILD_ROOT%{_datadir}/glib-2.0/gdb | |
1ebb8361 | 264 | |
cb319753 JB |
265 | # adjust for compatibility with names supported by glibc |
266 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian} | |
267 | ||
1ebb8361 | 268 | %find_lang glib20 |
2a2588d0 | 269 | |
c5cd89bd AF |
270 | %clean |
271 | rm -rf $RPM_BUILD_ROOT | |
272 | ||
f9f8e5ca MB |
273 | %post |
274 | /sbin/ldconfig | |
275 | ||
28892236 JP |
276 | umask 022 |
277 | %{_bindir}/gio-querymodules %{_libdir}/gio/modules || : | |
278 | ||
4d5d23a0 | 279 | %postun -p /sbin/ldconfig |
27d447ab | 280 | |
d0edc3ae | 281 | %files -f glib20.lang |
c5cd89bd | 282 | %defattr(644,root,root,755) |
beac3f53 | 283 | %doc AUTHORS README NEWS |
b6c7e979 | 284 | %attr(755,root,root) %{_bindir}/gapplication |
7966f809 | 285 | %attr(755,root,root) %{_bindir}/gdbus |
b2b69b23 | 286 | %attr(755,root,root) %{_bindir}/gio |
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 | |
f11cc484 | 302 | %{?with_fam:%attr(755,root,root) %{_libdir}/gio/modules/libgiofam.so} |
28892236 | 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 |