Package gobject-introspection: Specfile

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
%def_disable snapshot

%define ver_major 1.80
%define api_ver 1.0
%define gir_api_ver 1.0
%def_enable doctool
%ifarch ppc64le armh
%def_disable check
%else
%def_disable check
%endif
%def_enable gtk_doc

Name: gobject-introspection
Version: %ver_major.1
Release: alt1

Summary: Introspection system for GObject-based libraries
Group: System/Libraries
License: GPL-2.0-or-later and LGPL-2.0-or-later and MIT
Url: https://live.gnome.org/GObjectIntrospection

Provides: gir-repository = %EVR
Obsoletes: gir-repository

%if_enabled snapshot
Source: %name-%version.tar
%else
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz
%endif

%add_python3_path %_libdir/%name/giscanner
#https://bugzilla.altlinux.org/38965
# python3(pkgconfig) provided by giscanner/pkgconfig.py
%filter_from_provides /python3(pkgconfig)/d
%add_python3_req_skip distutils.msvccompiler
%filter_from_requires /python3(distutils.*)/d

%define glib_ver 2.79.1
%define python_ver 3.8

BuildRequires(pre): rpm-macros-meson rpm-build-python3 rpm-build-gir
BuildRequires: /proc meson libgio-devel >= %glib_ver
BuildRequires: flex gtk-doc libcairo-devel libcairo-gobject-devel libffi-devel
BuildRequires: python3-devel >= %python_ver python3(setuptools._distutils)
%{?_enable_doctool:BuildRequires: python3-module-mako python3-module-markdown}

%description
GObject introspection provides tools and libraries to help manage its
common metadata format for representing GObject-based C APIs, designed
for bindings, documentation tools and API verification.

%package x11
Summary: x11-dependent typelibs
Group: System/Libraries
Requires: %name = %EVR

%description x11
This package provides x11-dependent typelibs from %name package.

%package devel
Summary: Libraries and headers for gobject-introspection
Group: Development/C
Requires: %name = %EVR libgio-devel rpm-build-gir
Requires: %name-x11 = %EVR
#Requires: libgirepository%api_ver = %EVR
Requires: libgirepository%api_ver-devel = %EVR
Requires: python3(setuptools._distutils)
Provides: gir-repository-devel = %EVR
Obsoletes: gir-repository-devel

%description devel
GObject introspection provides tools and libraries to help manage its
common metadata format for representing GObject-based C APIs, designed
for bindings, documentation tools and API verification.

This package provides libraries and headers for gobject-introspection.

%package -n libgirepository%api_ver
Summary: GObject Introspection Library (API 1.0)
Group: System/Libraries

%description -n libgirepository%api_ver
This package provides shared GObject Introspection library.

%package -n libgirepository%api_ver-devel
Summary: development package for GObject Introspection library (API 1.0)
Group: Development/C
Requires: libgirepository%api_ver = %EVR

%description -n libgirepository%api_ver-devel
This package provides development files for GObject Introspection library.

%package devel-doc
Summary: Documentation for gobject-introspection
Group: Development/C
BuildArch: noarch
Conflicts: %name < %version

%description devel-doc
GObject introspection provides tools and libraries to help manage its
common metadata format for representing GObject-based C APIs, designed
for bindings, documentation tools and API verification.

This package provides development documentation for
gobject-introspection.

%prep
%setup

%build
%add_optflags %(getconf LFS_CFLAGS)
%meson \
	%{?_enable_doctool:-Ddoctool=enabled} \
	%{?_enable_gtk_doc:-Dgtk_doc=true} \
	-Dpython=%__python3
%meson_build

%install
%meson_install

%check
%__meson_test -v

%files
%dir %_typelibdir/
%_typelibdir/DBus-1.0.typelib
%_typelibdir/DBusGLib-1.0.typelib
%_typelibdir/GIRepository-2.0.typelib
%_typelibdir/GL-1.0.typelib
%_typelibdir/cairo-1.0.typelib
%_typelibdir/fontconfig-2.0.typelib
%_typelibdir/freetype2-2.0.typelib
%_typelibdir/libxml2-2.0.typelib
%_typelibdir/win32-1.0.typelib
%_typelibdir/Vulkan-1.0.typelib

%files x11
%_typelibdir/xfixes-4.0.typelib
%_typelibdir/xft-2.0.typelib
%_typelibdir/xlib-2.0.typelib
%_typelibdir/xrandr-1.3.typelib

%files devel
%_bindir/g-ir-annotation-tool
%_bindir/g-ir-compiler
%_bindir/g-ir-doc-tool
%_bindir/g-ir-generate
%_bindir/g-ir-inspect
%_bindir/g-ir-scanner
%dir %_libdir/%name
%_libdir/%name/giscanner/
%_girdir/
%_datadir/%name-%api_ver
%_datadir/aclocal/introspection.m4
%_man1dir/*.1*

%files -n libgirepository%api_ver
%_libdir/libgirepository-%api_ver.so.*

%files -n libgirepository%api_ver-devel
%_includedir/%name-%api_ver
%_libdir/libgirepository-%api_ver.so
%_pkgconfigdir/%name-%api_ver.pc
%_pkgconfigdir/%name-no-export-%api_ver.pc

%if_enabled gtk_doc
%files devel-doc
%_datadir/gtk-doc/html/*
%endif

%changelog
* Mon Apr 01 2024 Yuri N. Sedunov <aris@altlinux.org> 1.80.1-alt1
- 1.80.1

* Wed Mar 27 2024 Yuri N. Sedunov <aris@altlinux.org> 1.80.0-alt2
- updated to 1.80.0-13-g2b5b9397

* Sat Mar 09 2024 Yuri N. Sedunov <aris@altlinux.org> 1.80.0-alt1
- 1.80.0
- build against debootstraped glib-2.80.0-alt2

* Tue Jan 02 2024 Yuri N. Sedunov <aris@altlinux.org> 1.78.1-alt2
- new libgirepository1.0{,-devel} subpackages

* Fri Oct 13 2023 Yuri N. Sedunov <aris@altlinux.org> 1.78.1-alt1.3
- fixed %%check w/o distutils

* Thu Oct 12 2023 Yuri N. Sedunov <aris@altlinux.org> 1.78.1-alt1.2
- g-i-devel requires setuptools (ALT #47966)

* Sun Oct 08 2023 Yuri N. Sedunov <aris@altlinux.org> 1.78.1-alt1.1
- updated dependencies for python3 >= 3.11.6-alt1 w/o distutils

* Sat Sep 16 2023 Yuri N. Sedunov <aris@altlinux.org> 1.78.1-alt1
- 1.78.1

* Thu Mar 23 2023 Yuri N. Sedunov <aris@altlinux.org> 1.76.1-alt1
- 1.76.1

* Tue Mar 14 2023 Yuri N. Sedunov <aris@altlinux.org> 1.76.0-alt1
- 1.76.0

* Wed Sep 21 2022 Yuri N. Sedunov <aris@altlinux.org> 1.74.0-alt1
- 1.74.0

* Fri Mar 18 2022 Yuri N. Sedunov <aris@altlinux.org> 1.72.0-alt1
- 1.72.0

* Fri Sep 17 2021 Yuri N. Sedunov <aris@altlinux.org> 1.70.0-alt1
- 1.70.0

* Fri Mar 19 2021 Yuri N. Sedunov <aris@altlinux.org> 1.68.0-alt1
- 1.68.0

* Sat Oct 03 2020 Yuri N. Sedunov <aris@altlinux.org> 1.66.1-alt1
- 1.66.1

* Sat Sep 19 2020 Yuri N. Sedunov <aris@altlinux.org> 1.66.0-alt1
- 1.66.0

* Sat Sep 19 2020 Yuri N. Sedunov <aris@altlinux.org> 1.64.1-alt2
- filtered "python3(pkgconfig)" from provides (ALT #38965)

* Sun Apr 05 2020 Yuri N. Sedunov <aris@altlinux.org> 1.64.1-alt1
- 1.64.1

* Sat Mar 07 2020 Yuri N. Sedunov <aris@altlinux.org> 1.64.0-alt1
- 1.64.0

* Mon Sep 09 2019 Yuri N. Sedunov <aris@altlinux.org> 1.62.0-alt1
- 1.62.0 (ported to Meson build system)

* Sat Jun 15 2019 Yuri N. Sedunov <aris@altlinux.org> 1.60.2-alt1
- 1.60.2

* Fri Apr 26 2019 Yuri N. Sedunov <aris@altlinux.org> 1.60.1-alt1.1
- enabled %%check

* Sun Apr 07 2019 Yuri N. Sedunov <aris@altlinux.org> 1.60.1-alt1
- 1.60.1

* Sun Mar 10 2019 Yuri N. Sedunov <aris@altlinux.org> 1.60.0-alt1
- 1.60.0

* Sun Dec 30 2018 Yuri N. Sedunov <aris@altlinux.org> 1.58.3-alt1
- 1.58.3

* Thu Dec 20 2018 Yuri N. Sedunov <aris@altlinux.org> 1.58.2-alt1
- 1.58.2

* Mon Nov 19 2018 Yuri N. Sedunov <aris@altlinux.org> 1.58.1-alt1
- 1.58.1

* Fri Aug 31 2018 Yuri N. Sedunov <aris@altlinux.org> 1.58.0-alt1
- 1.58.0

* Thu Apr 12 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 1.56.1-alt1.1
- (NMU) Rebuilt with python-3.6.4.

* Mon Apr 09 2018 Yuri N. Sedunov <aris@altlinux.org> 1.56.1-alt1
- 1.56.1

* Tue Mar 13 2018 Yuri N. Sedunov <aris@altlinux.org> 1.56.0-alt1
- 1.56.0 with python3

* Mon Oct 02 2017 Yuri N. Sedunov <aris@altlinux.org> 1.54.1-alt1
- 1.54.1

* Mon Sep 11 2017 Yuri N. Sedunov <aris@altlinux.org> 1.54.0-alt1
- 1.54.0

* Mon Apr 10 2017 Yuri N. Sedunov <aris@altlinux.org> 1.52.1-alt1
- 1.52.1

* Tue Mar 21 2017 Yuri N. Sedunov <aris@altlinux.org> 1.52.0-alt1
- 1.52.0

* Tue Sep 20 2016 Yuri N. Sedunov <aris@altlinux.org> 1.50.0-alt1
- 1.50.0

* Mon Mar 21 2016 Yuri N. Sedunov <aris@altlinux.org> 1.48.0-alt1
- 1.48.0

* Tue Sep 22 2015 Yuri N. Sedunov <aris@altlinux.org> 1.46.0-alt1
- 1.46.0

* Wed Mar 25 2015 Yuri N. Sedunov <aris@altlinux.org> 1.44.0-alt1
- 1.44.0

* Tue Sep 23 2014 Yuri N. Sedunov <aris@altlinux.org> 1.42.0-alt1
- 1.42.0

* Fri Apr 04 2014 Yuri N. Sedunov <aris@altlinux.org> 1.40.0-alt1.1
- updated to 5b105135d2 (fixed BGO #724886)

* Tue Mar 25 2014 Yuri N. Sedunov <aris@altlinux.org> 1.40.0-alt1
- 1.40.0

* Tue Sep 24 2013 Yuri N. Sedunov <aris@altlinux.org> 1.38.0-alt1
- 1.38.0

* Tue Mar 26 2013 Yuri N. Sedunov <aris@altlinux.org> 1.36.0-alt1
- 1.36.0

* Tue Nov 13 2012 Yuri N. Sedunov <aris@altlinux.org> 1.34.2-alt1
- 1.34.2

* Wed Oct 17 2012 Yuri N. Sedunov <aris@altlinux.org> 1.34.1.1-alt1
- 1.34.1.1

* Wed Oct 17 2012 Yuri N. Sedunov <aris@altlinux.org> 1.34.1-alt1
- 1.34.1

* Mon Sep 24 2012 Yuri N. Sedunov <aris@altlinux.org> 1.34.0-alt1
- 1.34.0

* Wed Apr 18 2012 Yuri N. Sedunov <aris@altlinux.org> 1.32.1-alt1
- 1.32.1

* Tue Mar 27 2012 Yuri N. Sedunov <aris@altlinux.org> 1.32.0-alt1
- 1.32.0

* Fri Jan 20 2012 Yuri N. Sedunov <aris@altlinux.org> 1.30.0-alt2
- updated from upstream git, in particular fixed build on arm platform

* Mon Oct 24 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 1.30.0-alt1.1
- Rebuild with Python-2.7

* Fri Sep 23 2011 Yuri N. Sedunov <aris@altlinux.org> 1.30.0-alt1
- 1.30.0

* Tue Aug 30 2011 Yuri N. Sedunov <aris@altlinux.org> 1.29.17-alt1
- 1.29.17

* Fri Aug 12 2011 Yuri N. Sedunov <aris@altlinux.org> 1.29.16-alt1
- 1.29.16

* Thu Jun 30 2011 Yuri N. Sedunov <aris@altlinux.org> 1.29.0-alt1
- 1.29.0

* Sat Mar 26 2011 Yuri N. Sedunov <aris@altlinux.org> 0.10.6-alt1
- 0.10.6

* Fri Mar 11 2011 Yuri N. Sedunov <aris@altlinux.org> 0.10.4-alt1
- 0.10.4

* Fri Feb 25 2011 Yuri N. Sedunov <aris@altlinux.org> 0.10.3-alt1
- 0.10.3

* Wed Feb 09 2011 Yuri N. Sedunov <aris@altlinux.org> 0.10.2-alt1
- 0.10.2

* Mon Jan 31 2011 Alexey Shabalin <shaba@altlinux.ru> 0.10.1-alt1
- 0.10.1
- new devel-doc subpackage (aris@)

* Thu Dec 23 2010 Alexey Shabalin <shaba@altlinux.ru> 0.10.0-alt1
- 0.10.0

* Mon Oct 18 2010 Alexey Shabalin <shaba@altlinux.ru> 0.9.12-alt1
- 0.9.12

* Mon Oct 04 2010 Alexey Shabalin <shaba@altlinux.ru> 0.9.10-alt1
- pre 0.9.11 snapshot
- Obsoletes: gir-repository

* Thu Aug 19 2010 Kirill A. Shutemov <kas@altlinux.org> 0.6.14-alt2
- Rebuild with new libffi.

* Fri Jun 04 2010 Alexey Shabalin <shaba@altlinux.ru> 0.6.14-alt1
- 0.6.14

* Wed May 26 2010 Alexey Shabalin <shaba@altlinux.ru> 0.6.12-alt1
- 0.6.12

* Tue Apr 20 2010 Alexey Shabalin <shaba@altlinux.ru> 0.6.10-alt1
- 0.6.10

* Wed Mar 31 2010 Alexey Shabalin <shaba@altlinux.ru> 0.6.9-alt2
- rebuild with modified rpm-build-gir

* Fri Mar 19 2010 Valery Inozemtsev <shrek@altlinux.ru> 0.6.9-alt1
- 0.6.9

* Fri Mar 12 2010 Valery Inozemtsev <shrek@altlinux.ru> 0.6.8-alt1
- 0.6.8

* Tue Mar 09 2010 Valery Inozemtsev <shrek@altlinux.ru> 0.6.7-alt2
- devel: requires rpm-build-gir

* Thu Dec 24 2009 Valery Inozemtsev <shrek@altlinux.ru> 0.6.7-alt1
- 0.6.7

* Mon Dec 14 2009 Valery Inozemtsev <shrek@altlinux.ru> 0.6.6-alt1
- 0.6.6

* Sun Sep 06 2009 Valery Inozemtsev <shrek@altlinux.ru> 0.6.5-alt1
- 0.6.5

* Tue Aug 25 2009 Valery Inozemtsev <shrek@altlinux.ru> 0.6.4-alt1
- 0.6.4

* Mon Aug 03 2009 Valery Inozemtsev <shrek@altlinux.ru> 0.6.3-alt1
- initial release