|
|
|
@ -1,19 +1,21 @@
|
|
|
|
|
%global glib2_version 2.56.1
|
|
|
|
|
|
|
|
|
|
%global __python %{__python3}
|
|
|
|
|
%global glib2_version 2.58.0
|
|
|
|
|
|
|
|
|
|
Name: gobject-introspection
|
|
|
|
|
Version: 1.56.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 1.68.0
|
|
|
|
|
Release: 11%{?dist}
|
|
|
|
|
Summary: Introspection system for GObject-based libraries
|
|
|
|
|
|
|
|
|
|
License: GPLv2+, LGPLv2+, MIT
|
|
|
|
|
License: GPLv2+ and LGPLv2+ and MIT
|
|
|
|
|
URL: https://wiki.gnome.org/Projects/GObjectIntrospection
|
|
|
|
|
Source0: https://download.gnome.org/sources/gobject-introspection/1.56/%{name}-%{version}.tar.xz
|
|
|
|
|
Source0: https://download.gnome.org/sources/gobject-introspection/1.68/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
Patch0: 0001-scanner-Add-more-float-types.patch
|
|
|
|
|
Patch1: 0001-build-Avoid-the-doctemplates-hack.patch
|
|
|
|
|
Patch2: 0001-doctool-Add-templates_dir-CLI-argument.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: bison
|
|
|
|
|
BuildRequires: cairo-gobject-devel
|
|
|
|
|
BuildRequires: chrpath
|
|
|
|
|
BuildRequires: flex
|
|
|
|
|
BuildRequires: fontconfig-devel
|
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
@ -26,8 +28,10 @@ BuildRequires: libXfixes-devel
|
|
|
|
|
BuildRequires: libXft-devel
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
BuildRequires: mesa-libGL-devel
|
|
|
|
|
BuildRequires: meson
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-mako
|
|
|
|
|
BuildRequires: python3-markdown
|
|
|
|
|
|
|
|
|
|
Requires: glib2%{?_isa} >= %{glib2_version}
|
|
|
|
|
|
|
|
|
@ -44,6 +48,18 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: libtool
|
|
|
|
|
# For g-ir-doctool
|
|
|
|
|
Requires: python3-mako
|
|
|
|
|
Requires: python3-markdown
|
|
|
|
|
# This package only works with the Python version it was built with
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1691064
|
|
|
|
|
Requires: (python(abi) = %{python3_version} if python3)
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1915339
|
|
|
|
|
%ifarch x86_64
|
|
|
|
|
Conflicts: gobject-introspection-devel(x86-32) <= %{version}-%{release}
|
|
|
|
|
%else
|
|
|
|
|
%ifarch i686
|
|
|
|
|
Conflicts: gobject-introspection-devel(x86-64) <= %{version}-%{release}
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Libraries and headers for gobject-introspection
|
|
|
|
@ -52,24 +68,15 @@ Libraries and headers for gobject-introspection
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --enable-gtk-doc --enable-doctool --with-python=%{__python3}
|
|
|
|
|
%make_build
|
|
|
|
|
%meson -Ddoctool=enabled -Dgtk_doc=true -Dpython=%{__python3}
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
# Remove lib64 rpaths
|
|
|
|
|
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/g-ir-compiler
|
|
|
|
|
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/g-ir-generate
|
|
|
|
|
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/g-ir-inspect
|
|
|
|
|
|
|
|
|
|
# Die libtool, die.
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -print -delete
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.a" -print -delete
|
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
|
|
%doc NEWS README.rst
|
|
|
|
|
%license COPYING COPYING.GPL COPYING.LGPL
|
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
%dir %{_libdir}/girepository-1.0
|
|
|
|
|
%{_libdir}/girepository-1.0/*.typelib
|
|
|
|
@ -83,10 +90,167 @@ find $RPM_BUILD_ROOT -type f -name "*.a" -print -delete
|
|
|
|
|
%{_datadir}/gir-1.0
|
|
|
|
|
%{_datadir}/gobject-introspection-1.0/
|
|
|
|
|
%{_datadir}/aclocal/introspection.m4
|
|
|
|
|
%{_mandir}/man1/*.gz
|
|
|
|
|
%dir %{_datadir}/gtk-doc
|
|
|
|
|
%dir %{_datadir}/gtk-doc/html
|
|
|
|
|
%{_datadir}/gtk-doc/html/gi/
|
|
|
|
|
%{_mandir}/man1/g-ir-compiler.1*
|
|
|
|
|
%{_mandir}/man1/g-ir-generate.1*
|
|
|
|
|
%{_mandir}/man1/g-ir-scanner.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Nov 4 2022 Tomas Popela <tpopela@redhat.com> - 1.68.0-11
|
|
|
|
|
- Fix FTBFS for a possible Meson rebase
|
|
|
|
|
- Resolves: rhbz#2140108
|
|
|
|
|
|
|
|
|
|
* Thu Oct 14 2021 David King <amigadave@amigadave.com> - 1.68.0-10
|
|
|
|
|
- Change Conflicts syntax (#1915339)
|
|
|
|
|
|
|
|
|
|
* Fri Oct 08 2021 David King <amigadave@amigadave.com> - 1.68.0-9
|
|
|
|
|
- Add Conflicts for i686/x86_64 devel subpackage (#1915339)
|
|
|
|
|
|
|
|
|
|
* Wed Aug 18 2021 Carlos O'Donell <codonell@redhat.com> - 1.68.0-8
|
|
|
|
|
- Rebuilt for libffi 3.4.2 SONAME transition. Related: rhbz#1891914
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com>
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Sat Jul 10 2021 David King <amigadave@amigadave.com> - 1.68.0-6
|
|
|
|
|
- Add Requires on python-markdown for g-ir-doc-tool (#1979144)
|
|
|
|
|
- Add license texts and documentation files (#1979144)
|
|
|
|
|
|
|
|
|
|
* Wed Apr 28 2010 Matthias Clasen <mclasen@redhat.com - 1.68.0-5
|
|
|
|
|
- Fix license field to follow the rules
|
|
|
|
|
- Related: rhbz#1915340
|
|
|
|
|
|
|
|
|
|
* Tue Apr 27 2010 Matthias Clasen <mclasen@redhat.com - 1.68.0-4
|
|
|
|
|
- Fix spec file oversight
|
|
|
|
|
- Related: rhbz#1915340
|
|
|
|
|
|
|
|
|
|
* Tue Apr 27 2010 Matthias Clasen <mclasen@redhat.com - 1.68.0-3
|
|
|
|
|
- Add upstream patch to support __float128 as used in graphene
|
|
|
|
|
- Related: rhbz#1915340
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.68.0-2
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Mon Mar 22 2021 Kalev Lember <klember@redhat.com> - 1.68.0-1
|
|
|
|
|
- Update to 1.68.0
|
|
|
|
|
|
|
|
|
|
* Mon Mar 15 2021 Kalev Lember <klember@redhat.com> - 1.67.1-1
|
|
|
|
|
- Update to 1.67.1
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.66.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Nov 04 2020 Kalev Lember <klember@redhat.com> - 1.66.1-2
|
|
|
|
|
- Backport an upstream MR to fix the build with Python 3.10 (#1893194)
|
|
|
|
|
|
|
|
|
|
* Mon Oct 5 2020 Kalev Lember <klember@redhat.com> - 1.66.1-1
|
|
|
|
|
- Update to 1.66.1
|
|
|
|
|
|
|
|
|
|
* Sat Sep 12 2020 Kalev Lember <klember@redhat.com> - 1.66.0-1
|
|
|
|
|
- Update to 1.66.0
|
|
|
|
|
|
|
|
|
|
* Wed Sep 09 2020 Than Ngo <than@redhat.com> - 1.64.1-5
|
|
|
|
|
- Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.64.1-4
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.64.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 1.64.1-2
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
|
|
|
|
* Sun Apr 05 2020 Kalev Lember <klember@redhat.com> - 1.64.1-1
|
|
|
|
|
- Update to 1.64.1
|
|
|
|
|
|
|
|
|
|
* Thu Mar 26 2020 Kalev Lember <klember@redhat.com> - 1.64.0-2
|
|
|
|
|
- Fix the build with Python 3.9 (#1817649)
|
|
|
|
|
|
|
|
|
|
* Sat Mar 07 2020 Kalev Lember <klember@redhat.com> - 1.64.0-1
|
|
|
|
|
- Update to 1.64.0
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.63.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 17 2020 Kalev Lember <klember@redhat.com> - 1.63.2-1
|
|
|
|
|
- Update to 1.63.2
|
|
|
|
|
|
|
|
|
|
* Thu Jan 16 2020 Kalev Lember <klember@redhat.com> - 1.63.1-1
|
|
|
|
|
- Update to 1.63.1
|
|
|
|
|
|
|
|
|
|
* Mon Sep 09 2019 Kalev Lember <klember@redhat.com> - 1.62.0-1
|
|
|
|
|
- Update to 1.62.0
|
|
|
|
|
|
|
|
|
|
* Mon Aug 19 2019 Kalev Lember <klember@redhat.com> - 1.61.2-1
|
|
|
|
|
- Update to 1.61.2
|
|
|
|
|
|
|
|
|
|
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1.61.1-2
|
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
|
|
|
|
|
* Mon Aug 12 2019 Kalev Lember <klember@redhat.com> - 1.61.1-1
|
|
|
|
|
- Update to 1.61.1
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.60.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 07 2019 Miro Hrončok <mhroncok@redhat.com> - 1.60.1-3
|
|
|
|
|
- Require the Python version this was built with
|
|
|
|
|
|
|
|
|
|
* Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 1.60.1-2
|
|
|
|
|
- Rebuild with Meson fix for #1699099
|
|
|
|
|
|
|
|
|
|
* Mon Apr 08 2019 Kalev Lember <klember@redhat.com> - 1.60.1-1
|
|
|
|
|
- Update to 1.60.1
|
|
|
|
|
|
|
|
|
|
* Mon Mar 11 2019 Kalev Lember <klember@redhat.com> - 1.60.0-1
|
|
|
|
|
- Update to 1.60.0
|
|
|
|
|
|
|
|
|
|
* Mon Mar 04 2019 Kalev Lember <klember@redhat.com> - 1.59.5-1
|
|
|
|
|
- Update to 1.59.5
|
|
|
|
|
|
|
|
|
|
* Mon Feb 04 2019 Kalev Lember <klember@redhat.com> - 1.59.4-1
|
|
|
|
|
- Update to 1.59.4
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.59.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 08 2019 Kalev Lember <klember@redhat.com> - 1.59.3-1
|
|
|
|
|
- Update to 1.59.3
|
|
|
|
|
|
|
|
|
|
* Sat Jan 05 2019 Kalev Lember <klember@redhat.com> - 1.59.2-1
|
|
|
|
|
- Update to 1.59.2
|
|
|
|
|
- Switch to the meson build system
|
|
|
|
|
- Fix gtk-doc directory ownership
|
|
|
|
|
|
|
|
|
|
* Sun Dec 30 2018 Kalev Lember <klember@redhat.com> - 1.58.3-1
|
|
|
|
|
- Update to 1.58.3
|
|
|
|
|
|
|
|
|
|
* Mon Dec 10 2018 Kalev Lember <klember@redhat.com> - 1.58.2-1
|
|
|
|
|
- Update to 1.58.2
|
|
|
|
|
|
|
|
|
|
* Sat Nov 17 2018 Kalev Lember <klember@redhat.com> - 1.58.1-1
|
|
|
|
|
- Update to 1.58.1
|
|
|
|
|
|
|
|
|
|
* Fri Sep 07 2018 Kalev Lember <klember@redhat.com> - 1.58.0-2
|
|
|
|
|
- Rebuilt against fixed atk (#1626575)
|
|
|
|
|
|
|
|
|
|
* Thu Sep 06 2018 Kalev Lember <klember@redhat.com> - 1.58.0-1
|
|
|
|
|
- Update to 1.58.0
|
|
|
|
|
|
|
|
|
|
* Sun Aug 12 2018 Kalev Lember <klember@redhat.com> - 1.57.2-1
|
|
|
|
|
- Update to 1.57.2
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.56.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.56.1-2
|
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
|
|
|
|
|
* Mon Apr 09 2018 Kalev Lember <klember@redhat.com> - 1.56.1-1
|
|
|
|
|
- Update to 1.56.1
|
|
|
|
|
|
|
|
|
|