1 Star 0 Fork 6

luxuexian/gala-ragdoll-src

forked from src-openEuler/gala-ragdoll 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
gala-ragdoll.spec 2.70 KB
一键复制 编辑 原始数据 按行查看 历史
Name: gala-ragdoll
Version: v1.4.1
Release: 4
Summary: Configuration traceability
License: MulanPSL2
URL: https://gitee.com/openeuler/%{name}
Source0: %{name}-%{version}.tar.gz
Patch0001: 0001-fix-text-file-sync-bug.patch
Patch0002: 0002-deal-request-connection-error.patch
Patch0003: 0003-conf-trace-info-and-conf-sync-optimize.patch
%global debug_package %{nil}
BuildRequires: python3-setuptools python3-connexion python3-werkzeug python3-libyang
BuildRequires: git python3-devel systemd python3-concurrent-log-handler
Requires: python3-gala-ragdoll = %{version}-%{release} python3-concurrent-log-handler
%description
An os-level configuration management service
%package -n python3-gala-ragdoll
Summary: python3 pakcage of gala-ragdoll
Requires: python3-flask-testing python3-libyang git
Requires: python3-werkzeug python3-connexion python3-swagger-ui-bundle
%description -n python3-gala-ragdoll
python3 pakcage of gala-ragdoll
%prep
%autosetup -n %{name}-%{version} -p1
%build
#build for gala-ragdoll
%py3_build
%install
#install for gala-ragdoll
%py3_install
install yang_modules/*.yang %{buildroot}/%{python3_sitelib}/yang_modules/
mkdir -p %{buildroot}/%{_sysconfdir}/ragdoll
install config/*.conf %{buildroot}/%{_sysconfdir}/ragdoll/
mkdir %{buildroot}/%{python3_sitelib}/ragdoll/config
install config/*.conf %{buildroot}/%{python3_sitelib}/ragdoll/config
mkdir -p %{buildroot}/%{_prefix}/lib/systemd/system
install service/gala-ragdoll.service %{buildroot}/%{_prefix}/lib/systemd/system
install service/ragdoll-filetrace.service %{buildroot}/%{_prefix}/lib/systemd/system
install service/ragdoll %{buildroot}/%{_prefix}/bin/
install service/ragdoll-filetrace %{buildroot}/%{_prefix}/bin/
%pre
if [ -f "%{systemd_dir}/gala-ragdoll.service" ] ; then
systemctl enable gala-ragdoll.service || :
fi
%post
%systemd_post gala-ragdoll.service
%preun
%systemd_preun gala-ragdoll.service
%postun
%systemd_postun gala-ragdoll.service
%files
%doc doc/*
%license LICENSE
/%{_sysconfdir}/ragdoll/gala-ragdoll.conf
%{_bindir}/ragdoll
%{_prefix}/lib/systemd/system/gala-ragdoll.service
%{_prefix}/lib/systemd/system/ragdoll-filetrace.service
%{_prefix}/bin/ragdoll
%files -n python3-gala-ragdoll
%{python3_sitelib}/ragdoll/*
%{python3_sitelib}/yang_modules
%{python3_sitelib}/ragdoll-*.egg-info
%{_prefix}/bin/ragdoll-filetrace
%changelog
* Mon Jul 01 2024 smjiao<[email protected]> - v1.4.1-4
- conf sync optimize and add file trace interface
* Thu Nov 9 2023 smjiao<[email protected]> - v1.4.1-3
- deal request connection error
* Wed Nov 8 2023 smjiao<[email protected]> - v1.4.1-2
- fix text file sync bug
* Wed Oct 25 2023 zhangdaolong<[email protected]> - v1.4.1-1
- gala-ragdoll src init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/rearcher/gala-ragdoll-src.git
[email protected]:rearcher/gala-ragdoll-src.git
rearcher
gala-ragdoll-src
gala-ragdoll-src
master

搜索帮助