Projects
Eulaceura:Mainline:GA
deepin-dbus-generator
_service:obs_scm:deepin-dbus-generator.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:deepin-dbus-generator.spec of Package deepin-dbus-generator
%global repo go-dbus-generator %global with_debug 0 %global _unpackaged_files_terminate_build 0 %if 0%{?with_debug} %global debug_package %{nil} %endif Name: deepin-dbus-generator Version: 0.6.6 Release: 5 Summary: Convert dbus interfaces to go-lang or qml wrapper code License: GPLv3+ URL: https://github.com/linuxdeepin/go-dbus-generator Source0: https://github.com/linuxdeepin/%{repo}/archive/%{version}/%{repo}-%{version}.tar.gz ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm} riscv64} BuildRequires: golang pkgconfig(glib-2.0) pkgconfig(gobject-2.0) pkgconfig(Qt5) pkgconfig(Qt5Qml) %description Static dbus binding generator for dlib. %prep %setup -q -n %{repo}-%{version} # qmake path sed -i 's|qmake|qmake-qt5|' build_test.go template_qml.go %build export GOPATH=%{_builddir}/%{name}-%{version}-%{release_name}/vendor BUILD_ID="0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n')" function gobuild { go build -mod=vendor -a -ldflags "-B $BUILD_ID" -v -x "$@" -buildmode=pie; } gobuild -o dbus-generator %install install -Dm755 dbus-generator %{buildroot}%{_bindir}/dbus-generator %files %doc README.md %license LICENSE %{_bindir}/dbus-generator %changelog * Wed May 22 2024 misaka00251 <liuxin@iscas.ac.cn> - 0.6.6-5 - Enable build on riscv64 * Mon Apr 03 2023 liweiganga <liweiganga@uniontech.com> - 0.6.6-4 - feat: fix pie * Wed Dec 21 2022 liweiganga <liweiganga@uniontech.com> - 0.6.6-3 - enable debuginfo for fix strip * Thu Feb 18 2021 panchenbo <panchenbo@uniontech.com> - 0.6.6-2 - fix build error * Thu Sep 10 2020 chenbo pan <panchenbo@uniontech.com> - 0.6.6-1 - Initial build
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2