]>
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 |
3c3262f7 JP |
22 | Version: 2.46.2 |
23 | Release: 1 | |
f4f2082a | 24 | Epoch: 1 |
d9eae184 | 25 | License: LGPL v2+ |
c5cd89bd | 26 | Group: Libraries |
2a497d9d | 27 | Source0: http://ftp.gnome.org/pub/GNOME/sources/glib/2.46/glib-%{version}.tar.xz |
3c3262f7 | 28 | # Source0-md5: 7f815d6e46df68e070cb421ed7f1139e |
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 | |
c1ec1205 ER |
176 | %if "%{_rpmversion}" >= "5" |
177 | BuildArch: noarch | |
178 | %endif | |
9fd4432e JB |
179 | |
180 | %description apidocs | |
045fa5ec | 181 | GLib API documetation. |
9fd4432e | 182 | |
1ccef3e3 | 183 | %description apidocs -l pl.UTF-8 |
045fa5ec | 184 | Dokumentacja API GLib. |
9fd4432e | 185 | |
b6bcc451 JB |
186 | %package gdb |
187 | Summary: GDB Python pretty printers for GObject/GLib types | |
188 | Summary(pl.UTF-8): Skrypty Pythona dla GDB do ładnego wypisywania typów GObject/GLib | |
189 | Group: Development/Debuggers | |
8b3d5b05 | 190 | Requires: gdb |
b6bcc451 JB |
191 | |
192 | %description gdb | |
193 | GDB Python pretty printers for GObject/GLib types. This includes | |
194 | support for GObject pointer pretty printing and signal frame | |
195 | compression in backtraces. | |
196 | ||
197 | %description gdb -l pl.UTF-8 | |
198 | Skrypty Pythona dla GDB do ładnego wypisywania typów GObject/GLib. | |
199 | Obejmują także ładne wypisywanie wskaźników GObject oraz kompresję | |
200 | ramek sygnagłów w zrzutach wywołań (backtrace). | |
201 | ||
f9d9fd77 JB |
202 | %package -n bash-completion-gio |
203 | Summary: bash-completion for gio utilities | |
204 | Summary(pl.UTF-8): Bashowe uzupełnianie nazw dla narzędzi gio | |
7966f809 | 205 | Group: Applications/Shells |
5911fe6b | 206 | Requires: bash-completion >= 2.0 |
f9d9fd77 | 207 | Obsoletes: bash-completion-gdbus |
8e79f2f4 ER |
208 | %if "%{_rpmversion}" >= "5" |
209 | BuildArch: noarch | |
210 | %endif | |
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} |
f29ca197 | 233 | %patch0 -p1 |
cac85f6c | 234 | |
9e8f811c | 235 | %if %{without apidocs} |
7966f809 MB |
236 | %{__sed} -e '/SUBDIRS/s/docs//' -i Makefile.am |
237 | %{__sed} -e '/^docs.*Makefile$/d' -i configure.ac | |
d0edc3ae | 238 | echo 'AC_DEFUN([GTK_DOC_CHECK],[])' >> acinclude.m4 |
239 | %endif | |
c5cd89bd AF |
240 | |
241 | %build | |
5c21d4b9 | 242 | %{?with_apidocs:%{__gtkdocize}} |
5294c0c5 | 243 | %{__libtoolize} |
f562fe91 | 244 | %{__aclocal} -I m4macros |
5afe4131 | 245 | %{__autoconf} |
7fbaba5f | 246 | %{__autoheader} |
5294c0c5 | 247 | %{__automake} |
a4d28877 AM |
248 | |
249 | # -Wall CPPFLAGS is workaround for https://bugzilla.gnome.org/show_bug.cgi?id=698716 | |
c5cd89bd | 250 | %configure \ |
a4d28877 | 251 | CPPFLAGS="%{rpmcppflags} -Wall" \ |
c2491c39 JB |
252 | --enable-debug=%{?debug:yes} \ |
253 | %{!?with_systemtap:--disable-dtrace} \ | |
4099c72b | 254 | %{__enable_disable apidocs gtk-doc} \ |
4099c72b | 255 | %{__enable_disable selinux} \ |
c2491c39 | 256 | --disable-silent-rules \ |
4099c72b | 257 | %{__enable_disable static_libs static} \ |
511b979a | 258 | --enable-man \ |
c2491c39 | 259 | %{?with_apidocs:--with-html-dir=%{_gtkdocdir}} \ |
ad8e0c63 | 260 | --with-pcre=system |
e051a6b2 | 261 | |
56faf6a4 | 262 | %{__make} |
c5cd89bd AF |
263 | |
264 | %install | |
265 | rm -rf $RPM_BUILD_ROOT | |
9ae10cd0 | 266 | |
c5cd89bd AF |
267 | %{__make} install \ |
268 | DESTDIR=$RPM_BUILD_ROOT \ | |
5216d86c | 269 | m4datadir=%{_aclocaldir} \ |
4469893c | 270 | pkgconfigdir=%{_pkgconfigdir} |
c5cd89bd | 271 | |
f9f8e5ca | 272 | > $RPM_BUILD_ROOT%{_libdir}/gio/modules/giomodule.cache |
2378ed3f | 273 | > $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/gschemas.compiled |
f9f8e5ca | 274 | |
4099c72b | 275 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gio/modules/libgiofam.la \ |
276 | %{?with_static_libs:$RPM_BUILD_ROOT%{_libdir}/gio/modules/libgiofam.a} | |
277 | ||
b4111c35 | 278 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian} |
9e8f811c | 279 | |
b6bcc451 JB |
280 | %py_comp $RPM_BUILD_ROOT%{_datadir}/glib-2.0/gdb |
281 | %py_ocomp $RPM_BUILD_ROOT%{_datadir}/glib-2.0/gdb | |
282 | %py_postclean $RPM_BUILD_ROOT%{_datadir}/glib-2.0/gdb | |
1ebb8361 | 283 | |
1ebb8361 | 284 | %find_lang glib20 |
2a2588d0 | 285 | |
c5cd89bd AF |
286 | %clean |
287 | rm -rf $RPM_BUILD_ROOT | |
288 | ||
f9f8e5ca MB |
289 | %post |
290 | /sbin/ldconfig | |
291 | ||
292 | umask 022 | |
531bf88c | 293 | %{_bindir}/gio-querymodules %{_libdir}/gio/modules || : |
f9f8e5ca | 294 | |
4d5d23a0 | 295 | %postun -p /sbin/ldconfig |
27d447ab | 296 | |
d0edc3ae | 297 | %files -f glib20.lang |
c5cd89bd | 298 | %defattr(644,root,root,755) |
beac3f53 | 299 | %doc AUTHORS README NEWS |
b6c7e979 | 300 | %attr(755,root,root) %{_bindir}/gapplication |
7966f809 | 301 | %attr(755,root,root) %{_bindir}/gdbus |
f9f8e5ca | 302 | %attr(755,root,root) %{_bindir}/gio-querymodules |
7966f809 MB |
303 | %attr(755,root,root) %{_bindir}/glib-compile-schemas |
304 | %attr(755,root,root) %{_bindir}/gsettings | |
1ebb8361 MB |
305 | %attr(755,root,root) %{_libdir}/libgio-2.0.so.*.*.* |
306 | %attr(755,root,root) %ghost %{_libdir}/libgio-2.0.so.0 | |
6fa08951 JB |
307 | %attr(755,root,root) %{_libdir}/libglib-2.0.so.*.*.* |
308 | %attr(755,root,root) %ghost %{_libdir}/libglib-2.0.so.0 | |
309 | %attr(755,root,root) %{_libdir}/libgmodule-2.0.so.*.*.* | |
310 | %attr(755,root,root) %ghost %{_libdir}/libgmodule-2.0.so.0 | |
311 | %attr(755,root,root) %{_libdir}/libgobject-2.0.so.*.*.* | |
312 | %attr(755,root,root) %ghost %{_libdir}/libgobject-2.0.so.0 | |
313 | %attr(755,root,root) %{_libdir}/libgthread-2.0.so.*.*.* | |
314 | %attr(755,root,root) %ghost %{_libdir}/libgthread-2.0.so.0 | |
1ebb8361 MB |
315 | %dir %{_libdir}/gio |
316 | %dir %{_libdir}/gio/modules | |
317 | %attr(755,root,root) %{_libdir}/gio/modules/libgiofam.so | |
f9f8e5ca | 318 | %ghost %{_libdir}/gio/modules/giomodule.cache |
587c0b40 | 319 | %dir %{_datadir}/glib-2.0 |
57359775 | 320 | %dir %{_datadir}/glib-2.0/schemas |
2378ed3f | 321 | %ghost %{_datadir}/glib-2.0/schemas/gschemas.compiled |
d28aa732 | 322 | %if %{with apidocs} |
b6c7e979 | 323 | %{_mandir}/man1/gapplication.1* |
7966f809 MB |
324 | %{_mandir}/man1/gdbus.1* |
325 | %{_mandir}/man1/gio-querymodules.1* | |
326 | %{_mandir}/man1/glib-compile-schemas.1* | |
327 | %{_mandir}/man1/gsettings.1* | |
d28aa732 | 328 | %endif |
c5cd89bd AF |
329 | |
330 | %files devel | |
331 | %defattr(644,root,root,755) | |
beac3f53 | 332 | %doc ChangeLog |
5028631e | 333 | %attr(755,root,root) %{_bindir}/gdbus-codegen |
9a6262ab | 334 | %attr(755,root,root) %{_bindir}/glib-compile-resources |
6fa08951 JB |
335 | %attr(755,root,root) %{_bindir}/glib-genmarshal |
336 | %attr(755,root,root) %{_bindir}/glib-gettextize | |
337 | %attr(755,root,root) %{_bindir}/glib-mkenums | |
338 | %attr(755,root,root) %{_bindir}/gobject-query | |
9a6262ab | 339 | %attr(755,root,root) %{_bindir}/gresource |
1ebb8361 MB |
340 | %attr(755,root,root) %{_bindir}/gtester |
341 | %attr(755,root,root) %{_bindir}/gtester-report | |
342 | %attr(755,root,root) %{_libdir}/libgio-2.0.so | |
6fa08951 JB |
343 | %attr(755,root,root) %{_libdir}/libglib-2.0.so |
344 | %attr(755,root,root) %{_libdir}/libgmodule-2.0.so | |
345 | %attr(755,root,root) %{_libdir}/libgobject-2.0.so | |
346 | %attr(755,root,root) %{_libdir}/libgthread-2.0.so | |
f9d9fd77 JB |
347 | %{_libdir}/glib-2.0 |
348 | %{_includedir}/gio-unix-2.0 | |
349 | %{_includedir}/glib-2.0 | |
b5c2da0c MB |
350 | %dir %{_datadir}/glib-2.0/codegen |
351 | %{_datadir}/glib-2.0/codegen/*.py* | |
7191dcf9 | 352 | %dir %{_datadir}/glib-2.0/gettext |
7191dcf9 | 353 | %{_datadir}/glib-2.0/gettext/po |
57359775 | 354 | %{_datadir}/glib-2.0/schemas/gschema.dtd |
abe50ec6 ŁK |
355 | %{_libdir}/libgio-2.0.la |
356 | %{_libdir}/libglib-2.0.la | |
357 | %{_libdir}/libgmodule-2.0.la | |
358 | %{_libdir}/libgobject-2.0.la | |
359 | %{_libdir}/libgthread-2.0.la | |
1ebb8361 MB |
360 | %{_pkgconfigdir}/gio-2.0.pc |
361 | %{_pkgconfigdir}/gio-unix-2.0.pc | |
6fa08951 JB |
362 | %{_pkgconfigdir}/glib-2.0.pc |
363 | %{_pkgconfigdir}/gmodule-2.0.pc | |
364 | %{_pkgconfigdir}/gmodule-export-2.0.pc | |
365 | %{_pkgconfigdir}/gmodule-no-export-2.0.pc | |
366 | %{_pkgconfigdir}/gobject-2.0.pc | |
367 | %{_pkgconfigdir}/gthread-2.0.pc | |
368 | %{_aclocaldir}/glib-2.0.m4 | |
369 | %{_aclocaldir}/glib-gettext.m4 | |
f9d9fd77 | 370 | %{_aclocaldir}/gsettings.m4 |
6fa08951 | 371 | %if %{with apidocs} |
5028631e | 372 | %{_mandir}/man1/gdbus-codegen.1* |
9a6262ab | 373 | %{_mandir}/man1/glib-compile-resources.1* |
6fa08951 JB |
374 | %{_mandir}/man1/glib-genmarshal.1* |
375 | %{_mandir}/man1/glib-gettextize.1* | |
376 | %{_mandir}/man1/glib-mkenums.1* | |
377 | %{_mandir}/man1/gobject-query.1* | |
9a6262ab | 378 | %{_mandir}/man1/gresource.1* |
848cb578 MB |
379 | %{_mandir}/man1/gtester-report.1* |
380 | %{_mandir}/man1/gtester.1* | |
6fa08951 | 381 | %endif |
c5cd89bd | 382 | |
5cb5b210 | 383 | %if %{with static_libs} |
c5cd89bd AF |
384 | %files static |
385 | %defattr(644,root,root,755) | |
1ebb8361 | 386 | %{_libdir}/libgio-2.0.a |
6fa08951 JB |
387 | %{_libdir}/libglib-2.0.a |
388 | %{_libdir}/libgmodule-2.0.a | |
389 | %{_libdir}/libgobject-2.0.a | |
390 | %{_libdir}/libgthread-2.0.a | |
511b979a | 391 | %endif |
9fd4432e JB |
392 | |
393 | %if %{with apidocs} | |
394 | %files apidocs | |
395 | %defattr(644,root,root,755) | |
1ebb8361 | 396 | %{_gtkdocdir}/gio |
6fa08951 JB |
397 | %{_gtkdocdir}/glib |
398 | %{_gtkdocdir}/gobject | |
9fd4432e | 399 | %endif |
7966f809 | 400 | |
b6bcc451 JB |
401 | %files gdb |
402 | %defattr(644,root,root,755) | |
403 | %{_datadir}/gdb/auto-load/usr/%{_lib}/libglib-2.0.so.*.*.*-gdb.py | |
404 | %{_datadir}/gdb/auto-load/usr/%{_lib}/libgobject-2.0.so.*.*.*-gdb.py | |
405 | %{_datadir}/glib-2.0/gdb | |
406 | ||
f9d9fd77 | 407 | %files -n bash-completion-gio |
7966f809 | 408 | %defattr(644,root,root,755) |
b6c7e979 | 409 | %{_datadir}/bash-completion/completions/gapplication |
5911fe6b ŁK |
410 | %{_datadir}/bash-completion/completions/gdbus |
411 | %{_datadir}/bash-completion/completions/gresource | |
412 | %{_datadir}/bash-completion/completions/gsettings | |
c2491c39 JB |
413 | |
414 | %if %{with systemtap} | |
415 | %files -n systemtap-glib2 | |
416 | %defattr(644,root,root,755) | |
417 | %{_datadir}/systemtap/tapset/glib.stp | |
418 | %{_datadir}/systemtap/tapset/gobject.stp | |
419 | %endif |