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