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