%global debug_package %{nil} %define import_path github.com/godbus/dbus %define gopath %{_libdir}/golang %define gosrc %{gopath}/src/pkg/%{import_path} Name: golang-godbus Version: 1 Release: %mkrel 9 Summary: Go client bindings for D-Bus License: BSD URL: https://%{import_path} Source0: https://%{import_path}/archive/v%{version}.tar.gz BuildRequires: golang Requires: golang Group: Development/Other Provides: golang(%{import_path}) = %{version}-%{release} Provides: golang(%{import_path}/_examples) = %{version}-%{release} Provides: golang(%{import_path}/introspect) = %{version}-%{release} Provides: golang(%{import_path}/prop) = %{version}-%{release} %description Simple library that implements native Go client bindings for the D-Bus message bus system. Features include: Complete native implementation of the D-Bus message protocol Go-like API (channels for signals / asynchronous method calls, Goroutine-safe connections) Subpackages that help with the introspection / property interfaces. %prep %setup -n dbus-%{version} %build %install for d in . _examples introspect prop; do install -d -p %{buildroot}/%{gosrc}/$d cp -av $d/*.go %{buildroot}/%{gosrc}/$d done %check %files %doc LICENSE README.markdown %dir %attr(755,root,root) %{gosrc} %dir %attr(755,root,root) %{gosrc}/_examples %dir %attr(755,root,root) %{gosrc}/introspect %dir %attr(755,root,root) %{gosrc}/prop %{gosrc}/*.go %{gosrc}/_examples/*.go %{gosrc}/introspect/*.go %{gosrc}/prop/*.go %changelog * Fri Mar 25 2022 umeabot <umeabot> 1-9.mga9 + Revision: 1826340 - Mageia 9 Mass Rebuild * Thu Feb 13 2020 umeabot <umeabot> 1-8.mga8 + Revision: 1512623 - Mageia 8 Mass Rebuild * Sun Sep 23 2018 umeabot <umeabot> 1-7.mga7 + Revision: 1298013 - Mageia 7 Mass Rebuild * Thu Feb 04 2016 umeabot <umeabot> 1-6.mga6 + Revision: 935472 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 1-5.mga5 + Revision: 744248 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1-4.mga5 + Revision: 679857 - Mageia 5 Mass Rebuild * Wed Jul 02 2014 bcornec <bcornec> 1-3.mga5 + Revision: 642208 - golang-godbus shouldn't be a noarch pkg * Mon Jun 30 2014 bcornec <bcornec> 1-2.mga5 + Revision: 641538 - Another fix for FHS golang * Mon Jun 30 2014 bcornec <bcornec> 1-1.mga5 + Revision: 641529 - Fix integration with go language FHS - Use tagged v1 for golang-godbus - Import sha for golang-godbus - Import from fedora repo golang-godbus for docker - Created package structure for golang-godbus.