Name: gir-to-d
Version: 0.13.0
Release: 1%{?dist}
Summary: Tool to create D bindings from GObject introspection files
License: LGPLv3+
URL: https://github.com/gtkd-developers/gir-to-d
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: ldc
BuildRequires: meson
ExclusiveArch: %{ldc_arches}
%description
%{name} is a tool to create D bindings using GObject Introspection
repository files, enabling quick and easy use of various libraries
written using GObject conventions with the D language.
%prep
%autosetup
%build
export DFLAGS="%{_d_optflags}"
# Drop '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld' as LDC doesn't support it
export LDFLAGS="-Wl,-z,relro"
%meson
%meson_build
%install
%meson_install
%files
%license COPYING
%doc Readme_APILookup
%attr(0755, -, -) %{_bindir}/girtod
%changelog
* Sun Dec 03 2017 Neal Gompa <ngompa13@gmail.com> - 0.13.0-1
- Update to 0.13.0 (#1504366)
* Wed Sep 13 2017 Kalev Lember <klember@redhat.com> - 0.11.0-4
- Rebuilt for ldc 1.4
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Jun 23 2017 Neal Gompa <ngompa13@gmail.com> - 0.11.0-1
- Update to 0.11.0 (#1464388)
* Mon Jun 19 2017 Neal Gompa <ngompa13@gmail.com> - 0.10.0-1
- Initial packaging