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