gobject-introspection/gobject-introspection.spec

123 lines
3.3 KiB
RPMSpec
Raw Normal View History

2024-01-27 10:16:55 +08:00
%global glib2_version 2.76.4
2019-09-30 10:41:19 -04:00
Name: gobject-introspection
2024-01-27 10:16:55 +08:00
Version: 1.76.1
Release: 1
2019-09-30 10:41:19 -04:00
Summary: Introspection system for GObject-based libraries
2022-04-22 09:50:10 +08:00
License: GPLv2+ and LGPLv2+ and MIT
2019-09-30 10:41:19 -04:00
URL: https://wiki.gnome.org/Projects/GObjectIntrospection
2024-01-27 10:16:55 +08:00
Source0: https://download.gnome.org/sources/gobject-introspection/1.76/%{name}-%{version}.tar.xz
2019-09-30 10:41:19 -04:00
2021-07-22 17:16:46 +08:00
BuildRequires: gcc bison cairo-gobject-devel chrpath flex fontconfig-devel freetype-devel gettext glib2-devel >= %{glib2_version} libxslt meson
2019-11-06 19:08:51 +08:00
BuildRequires: gtk-doc libffi-devel libX11-devel libXfixes-devel libXft-devel libxml2-devel mesa-libGL-devel python3-devel python3-mako python3-markdown
2019-09-30 10:41:19 -04:00
Requires: glib2%{?_isa} >= %{glib2_version}
%description
GObject Introspection can scan C header and source files in order to
generate introspection "typelib" files. It also provides an API to examine
typelib files, useful for creating language bindings among other
things.
%package devel
Summary: Libraries and headers for gobject-introspection
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: libtool
Requires: python3-mako
2022-04-22 09:50:10 +08:00
Requires: python3-markdown
2019-09-30 10:41:19 -04:00
%description devel
Libraries and headers for gobject-introspection
2019-11-06 19:08:51 +08:00
%package_help
2019-09-30 10:41:19 -04:00
%prep
%autosetup -p1
%build
2020-07-24 16:30:40 +08:00
%meson -Ddoctool=enabled -Dgtk_doc=true -Dpython=%{__python3}
%meson_build
2019-09-30 10:41:19 -04:00
%install
2020-07-24 16:30:40 +08:00
%meson_install
2019-09-30 10:41:19 -04:00
2023-05-25 17:08:09 +08:00
%check
%meson_test
2019-09-30 10:41:19 -04:00
%post
/sbin/ldconfig
%postun
if [ "$1" = "0" ]; then
/sbin/ldconfig
fi
%files
2022-04-22 09:50:10 +08:00
%license COPYING COPYING.GPL COPYING.LGPL
2019-09-30 10:41:19 -04:00
%{_libdir}/lib*.so.*
%{_libdir}/girepository-1.0/*.typelib
%files devel
2019-11-06 19:08:51 +08:00
%{_bindir}/g-ir-*
2019-09-30 10:41:19 -04:00
%{_libdir}/lib*.so
%{_libdir}/gobject-introspection/
%{_libdir}/pkgconfig/*
%{_datadir}/gir-1.0
%{_datadir}/gobject-introspection-1.0/
%{_datadir}/aclocal/introspection.m4
%{_datadir}/gtk-doc/html/gi/
2019-11-06 19:08:51 +08:00
%{_includedir}/*
%files help
2022-04-22 09:50:10 +08:00
%doc NEWS README.rst
2023-02-01 15:16:52 +08:00
%{_datadir}/gtk-doc/
2022-04-22 09:50:10 +08:00
%{_mandir}/man1/*.1*
2019-09-30 10:41:19 -04:00
%changelog
2024-01-27 10:16:55 +08:00
* Sat Jan 27 2024 shixuantong <shixuantong1@huawei.com> - 1.76.1-1
- upgrade version to 1.76.1
2023-05-25 17:08:09 +08:00
* Thu May 25 2023 fuanan <fuanan3@h-partners.com> - 1.74.0-2
- enable test in check
2023-02-01 15:16:52 +08:00
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 1.74.0-1
- update to 1.74.0
* Tue Oct 25 2022 yanglongkang <yanglongkang@h-partners.com> - 1.72.0-2
- rebuild for next release
2022-04-22 09:50:10 +08:00
* Fri Apr 22 2022 dillon chen <dillon.chen@gmail.com> - 1.72.0-1
- Update to 1.72.0
* Sun Dec 26 2021 tianwei <tianwei12@huawei.com> - 1.70.0-1
- upgrade version to 1.70.0
2021-07-22 17:16:46 +08:00
* Thu Jul 22 2021 wuchaochao <wuchaochao4@huawei.com> - 1.66.1-2
- Remove BuildRequires gdb
* Wed May 19 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 1.66.1-1
- Upgrade to 1.66.1
- Update Version, Release, Source0
* Mon Sep 14 2020 Leo Fang <leofang_94@163.com> - 1.64.1-2
- update Source0 in spec
2020-07-24 16:30:40 +08:00
* Fri Jul 24 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.64.1-1
- update software to v1.64.1
2020-03-14 17:05:14 +08:00
* Sat Mar 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.58.0-6
- fixbug in self-building
2019-12-13 15:19:07 +08:00
* Wed Nov 20 2019 fangyufa<fangyufa1@huawei.com> - 1.58.0-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix build problem for x86_64
2019-11-06 19:08:51 +08:00
* Tue Oct 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.58.0-4
- fix provides for main package and devel
* Mon Oct 14 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.58.0-3
- Package init
2023-02-01 15:16:52 +08:00