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