代码拉取完成,页面将自动刷新
同步操作将从 happyfish100/FastCFS 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%define FastCFSAuthClient FastCFS-auth-client
%define FastCFSAuthDevel FastCFS-auth-devel
%define FastCFSAuthConfig FastCFS-auth-config
%define CommitVersion %(echo $COMMIT_VERSION)
Name: FastCFS-auth
Version: 4.3.0
Release: 1%{?dist}
Summary: the auth client library and config files of FastCFS. FastCFS is a high performance cloud native distributed file system for databases, KVM and K8s
License: AGPL v3.0
Group: Arch/Tech
URL: http://github.com/happyfish100/FastCFS/
Source: http://github.com/happyfish100/FastCFS/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libserverframe-devel >= 1.1.29
Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id
Requires: libserverframe >= 1.1.29
Requires: FastCFS-auth-server = %{version}-%{release}
Requires: %{FastCFSAuthClient} = %{version}-%{release}
Requires: %{FastCFSAuthConfig} >= 2.0.0
%description
the auth client library and config files of FastCFS.
FastCFS is a high performance distributed file system which can be used as the back-end storage of databases and cloud platforms.
commit version: %{CommitVersion}
%package -n %{FastCFSAuthDevel}
Requires: %{FastCFSAuthClient} = %{version}-%{release}
Summary: header files of FastCFS auth client
%package -n %{FastCFSAuthClient}
Requires: libserverframe >= 1.1.29
Summary: FastCFS auth client
%package -n %{FastCFSAuthConfig}
Summary: FastCFS auth config files for sample
%description -n %{FastCFSAuthDevel}
This package provides the header files of libfcfsauthclient
commit version: %{CommitVersion}
%description -n %{FastCFSAuthClient}
FastCFS auth client
commit version: %{CommitVersion}
%description -n %{FastCFSAuthConfig}
FastCFS auth config files for sample
commit version: %{CommitVersion}
%prep
%setup -q
%build
./make.sh --module=auth_client clean && ./make.sh --module=auth_client
%install
rm -rf %{buildroot}
DESTDIR=$RPM_BUILD_ROOT ./make.sh --module=auth_client install
AUTH_CONFDIR=%{buildroot}/etc/fastcfs/auth/
mkdir -p $AUTH_CONFDIR
cp src/auth/conf/*.conf $AUTH_CONFDIR
cp -R src/auth/conf/keys $AUTH_CONFDIR
%post
%preun
%postun
%clean
rm -rf %{buildroot}
%files
%files -n %{FastCFSAuthClient}
/usr/lib64/libfcfsauthclient.so*
/usr/bin/fcfs_user
/usr/bin/fcfs_pool
/usr/bin/fauth_list_servers
/usr/bin/fauth_cluster_stat
%files -n %{FastCFSAuthDevel}
%defattr(-,root,root,-)
/usr/include/fastcfs/auth/*
%files -n %{FastCFSAuthConfig}
%defattr(-,root,root,-)
%config(noreplace) /etc/fastcfs/auth/*.conf
%config(noreplace) /etc/fastcfs/auth/keys/*
%changelog
* Thu Apr 22 2021 YuQing <384681@qq.com>
- first RPM release (1.0)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。