|
|
5598ea3 |
# Generated by go2rpm
|
|
|
5598ea3 |
%bcond_without check
|
|
|
5598ea3 |
|
|
|
5598ea3 |
# https://github.com/linuxdeepin/go-dbus-generator
|
|
|
5598ea3 |
%global goipath github.com/linuxdeepin/go-dbus-generator
|
|
|
5598ea3 |
Version: 0.6.6
|
|
|
5598ea3 |
%global tag 0.6.6
|
|
|
5598ea3 |
|
|
|
5598ea3 |
%gometa
|
|
|
5598ea3 |
|
|
|
5598ea3 |
%global goname deepin-dbus-generator
|
|
|
5598ea3 |
|
|
|
5598ea3 |
%global common_description %{expand:
|
|
|
5598ea3 |
Convert dbus interfaces to Golang or QML wrapper code.}
|
|
|
5598ea3 |
|
|
|
5598ea3 |
%global golicenses LICENSE
|
|
|
5598ea3 |
%global godocs README.md
|
|
|
5598ea3 |
|
|
|
5598ea3 |
Name: %{goname}
|
|
|
051a59a |
Release: 8%{?dist}
|
|
|
5598ea3 |
Summary: Convert dbus interfaces to Golang or QML wrapper code
|
|
|
5598ea3 |
|
|
|
5598ea3 |
License: GPLv3
|
|
|
5598ea3 |
URL: %{gourl}
|
|
|
5598ea3 |
Source0: %{gosource}
|
|
|
5598ea3 |
|
|
|
5598ea3 |
BuildRequires: golang(pkg.deepin.io/lib/dbus)
|
|
|
5598ea3 |
BuildRequires: golang(pkg.deepin.io/lib/dbus/introspect)
|
|
|
dba0b67 |
BuildRequires: pkgconfig(glib-2.0)
|
|
|
dba0b67 |
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
dba0b67 |
BuildRequires: pkgconfig(Qt5)
|
|
|
dba0b67 |
BuildRequires: pkgconfig(Qt5Qml)
|
|
|
dba0b67 |
|
|
|
5598ea3 |
%if %{with check}
|
|
|
5598ea3 |
# Tests
|
|
|
5598ea3 |
BuildRequires: golang(gopkg.in/check.v1)
|
|
|
5598ea3 |
%endif
|
|
|
5598ea3 |
|
|
|
dba0b67 |
%description
|
|
|
5598ea3 |
%{common_description}
|
|
|
dba0b67 |
|
|
|
dba0b67 |
%prep
|
|
|
5598ea3 |
%goprep
|
|
|
5598ea3 |
find . -name "*.go" -exec sed -i "s|launchpad.net/gocheck|gopkg.in/check.v1|" "{}" +;
|
|
|
dba0b67 |
|
|
|
dba0b67 |
%build
|
|
|
5598ea3 |
%gobuild -o %{gobuilddir}/bin/dbus-generator %{goipath}
|
|
|
dba0b67 |
|
|
|
dba0b67 |
%install
|
|
|
5598ea3 |
install -m 0755 -vd %{buildroot}%{_bindir}
|
|
|
5598ea3 |
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
|
|
dba0b67 |
|
|
|
dba0b67 |
%files
|
|
|
dba0b67 |
%license LICENSE
|
|
|
5598ea3 |
%doc README.md
|
|
|
5598ea3 |
%{_bindir}/*
|
|
|
dba0b67 |
|
|
|
dba0b67 |
%changelog
|
|
|
051a59a |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.6-8
|
|
|
051a59a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
051a59a |
|
|
|
5598ea3 |
* Tue Jun 04 22:43:13 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.6.6-7
|
|
|
5598ea3 |
- Update to new macros
|
|
|
5598ea3 |
|
|
|
7eed170 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.6-6
|
|
|
7eed170 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
7eed170 |
|
|
|
fc4fd06 |
* Wed Aug 1 2018 Florian Weimer <fweimer@redhat.com> - 0.6.6-5
|
|
|
fc4fd06 |
- Rebuild with fixed binutils
|
|
|
fc4fd06 |
|
|
|
60d9868 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.6-4
|
|
|
60d9868 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
60d9868 |
|
|
|
114f31c |
* Tue Mar 13 2018 mosquito <sensor.wen@gmail.com> - 0.6.6-3
|
|
|
8ae0fd0 |
- Fix build failure
|
|
|
8ae0fd0 |
|
|
|
4981d74 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.6-2
|
|
|
4981d74 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
4981d74 |
|
|
|
dba0b67 |
* Fri Jul 14 2017 mosquito <sensor.wen@gmail.com> - 0.6.6-1
|
|
|
dba0b67 |
- Update to 0.6.6
|
|
|
dba0b67 |
|
|
|
dba0b67 |
* Tue Jan 17 2017 mosquito <sensor.wen@gmail.com> - 0.6.5-1.git9f8b51d
|
|
|
dba0b67 |
- Update to 0.6.5
|
|
|
dba0b67 |
|
|
|
dba0b67 |
* Sun Jul 12 2015 mosquito <sensor.wen@gmail.com> - 0.0.3-1.git84ee26c
|
|
|
dba0b67 |
- Update to 0.0.3-1.git84ee26c
|
|
|
dba0b67 |
|
|
|
dba0b67 |
* Mon Sep 29 2014 mosquito <sensor.wen@gmail.com> - 0.0.3git20140924-1
|
|
|
dba0b67 |
- Initial build
|