2024-01-05 23:01:55 +01:00
|
|
|
Name: girtod
|
2024-01-05 23:01:55 +01:00
|
|
|
Version: 0.22.0
|
2024-01-05 23:01:55 +01:00
|
|
|
Release: 3mamba
|
2024-01-05 23:01:55 +01:00
|
|
|
Summary: Create D bindings from GObject introspection files
|
|
|
|
Group: Development/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 23:01:55 +01:00
|
|
|
URL: https://github.com/gtkd-developers/gir-to-d
|
2024-01-05 23:01:55 +01:00
|
|
|
Source: https://github.com/gtkd-developers/gir-to-d.git/v%{version}/gir-to-d-%{version}.tar.bz2
|
2024-01-05 23:01:55 +01:00
|
|
|
Patch0: girtod-0.21.0-gobject-introspection-1.66.patch
|
2024-01-05 23:01:55 +01:00
|
|
|
Patch1: girtod-0.22.0-fixsegfault.patch
|
2024-01-05 23:01:55 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libldc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: ldc
|
2024-01-05 23:01:55 +01:00
|
|
|
BuildRequires: libldc-devel >= 1.31.0
|
2024-01-05 23:01:55 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Create D bindings from GObject introspection files.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n gir-to-d-%{version}
|
2024-01-05 23:01:55 +01:00
|
|
|
#%patch0 -p1
|
2024-01-05 23:01:55 +01:00
|
|
|
%patch1 -p1 -b .fixsegfault
|
2024-01-05 23:01:55 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 23:01:55 +01:00
|
|
|
export DC=ldc2
|
|
|
|
# Instanciate all templates. Fixes:
|
|
|
|
# undefined reference to `_D6object__T8opEqualsTxC3gtd11GirFunctionQnTxQwZQBkFxQBexQBiZb'
|
|
|
|
export DFLAGS="--allinst"
|
|
|
|
|
2024-01-05 23:01:55 +01:00
|
|
|
%meson
|
|
|
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/girtod
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:01:55 +01:00
|
|
|
* Mon Mar 13 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.0-3mamba
|
|
|
|
- rebuilt with ldc 1.31.0
|
|
|
|
|
2024-01-05 23:01:55 +01:00
|
|
|
* Mon May 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.0-2mamba
|
|
|
|
- rebuilt with ldc 1.29.0
|
|
|
|
|
2024-01-05 23:01:55 +01:00
|
|
|
* Thu Oct 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.0-1mamba
|
|
|
|
- update to 0.22.0
|
|
|
|
|
2024-01-05 23:01:55 +01:00
|
|
|
* Thu Oct 22 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.21.0-3mamba
|
|
|
|
- rebuilt with ldc 1.23.0
|
|
|
|
- adde dpatch to fix glibd build with gobject-introspection 1.66 (https://github.com/gtkd-developers/GlibD/issues/10)
|
|
|
|
|
2024-01-05 23:01:55 +01:00
|
|
|
* Wed May 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.21.0-2mamba
|
|
|
|
- rebuilt with libldc 1.21.0
|
|
|
|
|
|
|
|
* Wed May 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.21.0-1mamba
|
|
|
|
- update to 0.21.0
|
|
|
|
|
|
|
|
* Sat Jul 13 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19.1-1mamba
|
|
|
|
- package created using the webbuild interface
|