10 Star 0 Fork 1

src-anolis-dde/golang-github-linuxdeepin-go-dbus-factory

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
golang-github-linuxdeepin-dbus-factory.spec 1.95 KB
一键复制 编辑 原始数据 按行查看 历史
yangxianzhao 提交于 2024-01-12 15:23 . rebuild for qt5-qtbase
%define anolis_release .0.3
# Run tests in check section
# disable for bootstrapping
%bcond_with check
%global pkgname github.com/linuxdeepin/go-dbus-factory
#2020-04-26增加%global with_debug 1
%global with_debug 1
%if 0%{?with_debug}
%global debug_package %{nil}
%endif
Name: golang-github-linuxdeepin-go-dbus-factory
Version: 1.9.44
Release: 2%{anolis_release}%{?dist}
Summary: GO DBus factory for Deepin Desktop Environment
License: GPLv3
URL: %{gourl}
Source0: %{name}-%{version}.tar.gz
BuildRequires: compiler(go-compiler)
BuildRequires: go-srpm-macros
%description
%{summary}.
%package -n %{name}-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}-devel
%{summary}.
%prep
%forgeautosetup
%install
install -d -p %{buildroot}%{gopath}/src/%{pkgname}/
for file in $(find . -iname "*.go" | grep -v "_tool") ; do
install -d -p %{buildroot}%{gopath}/src/%{pkgname}/$(dirname $file)
cp -pav $file %{buildroot}%{gopath}/src/%{pkgname}/$file
echo "%%{gopath}/src/%%{pkgname}/$file" >> devel.file-list
done
cp -pav README.md %{buildroot}%{gopath}/src/%{pkgname}/README.md
cp -pav CHANGELOG.md %{buildroot}%{gopath}/src/%{pkgname}/CHANGELOG.md
echo "%%{gopath}/src/%%{pkgname}/README.md" >> devel.file-list
echo "%%{gopath}/src/%%{pkgname}/CHANGELOG.md" >> devel.file-list
%if %{with check}
%check
%gochecks
%endif
%files -n %{name}-devel -f devel.file-list
%doc README.md CHANGELOG.md
%changelog
* Fri Jan 12 2024 yangxianzhao <yangxianzhao@uniontech.com> - 1.9.44-2.0.3
- rebuild for qt5-qtbase
* Wed Sep 20 2023 yangxianzhao <yangxianzhao@uniontech.com> - 1.9.44-2.0.2
- rebuild for qt5-qtbase-5.15.3
* Wed Jul 12 2023 yangxianzhao <yangxianzhao@uniontech.com> - 1.9.44-2.0.1
- rebuild for anolis 8.9
* Thu Jul 21 2022 liuxingwei liuxingwei@uniontech.com - 1.9.44-2
- rebuild for an8.6
* Thu Nov 18 2021 huzhengming <huzhengming@uniontech.com> - 1.9.44-1
- Update to 1.9.44
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-anolis-dde/golang-github-linuxdeepin-go-dbus-factory.git
git@gitee.com:src-anolis-dde/golang-github-linuxdeepin-go-dbus-factory.git
src-anolis-dde
golang-github-linuxdeepin-go-dbus-factory
golang-github-linuxdeepin-go-dbus-factory
a8

搜索帮助

0d507c66 1850385 C8b1a773 1850385