代码拉取完成,页面将自动刷新
同步操作将从 happyfish100/FastCFS 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%define FastCFSFused FastCFS-fused
%define FastCFSUtils FastCFS-utils
%define FastCFSAPI FastCFS-api-libs
%define FastCFSAuthServer FastCFS-auth-server
%define FastCFSVoteServer FastCFS-vote-server
%define FastCFSAPIDevel FastCFS-api-devel
%define FastCFSFuseConfig FastCFS-fuse-config
%define CommitVersion %(echo $COMMIT_VERSION)
Name: FastCFS
Version: 3.7.1
Release: 1%{?dist}
Summary: 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: fastDIR-devel >= 3.7.1
BuildRequires: faststore-devel >= 3.7.1
BuildRequires: fuse3-devel >= 3.10.5
Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id
Requires: %{FastCFSFused} = %{version}-%{release}
Requires: %{FastCFSUtils} = %{version}-%{release}
%description
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 %{FastCFSFused}
Requires: %{FastCFSAPI} = %{version}-%{release}
Requires: fuse3 >= 3.10.5
Requires: %{FastCFSFuseConfig} >= 1.0.0
Summary: FastCFS fuse
%package -n %{FastCFSUtils}
Requires: libserverframe >= 1.1.24
Summary: FastCFS utils
%package -n %{FastCFSAPI}
Requires: fastDIR-client >= 3.7.1
Requires: faststore-client >= 3.7.1
Summary: FastCFS api library
%package -n %{FastCFSAPIDevel}
Requires: %{FastCFSAPI} = %{version}-%{release}
Summary: header files of FastCFS api library
%package -n %{FastCFSAuthServer}
Requires: fastDIR-client >= 3.7.1
Requires: FastCFS-auth-config >= 2.0.0
Summary: FastCFS auth server
%package -n %{FastCFSVoteServer}
Requires: libserverframe >= 1.1.24
Requires: FastCFS-vote-config >= 3.5.0
Summary: FastCFS vote server
%package -n %{FastCFSFuseConfig}
Requires: faststore-config >= 1.0.0
Summary: FastCFS fuse config files for sample
%description -n %{FastCFSFused}
FastCFS fuse
commit version: %{CommitVersion}
%description -n %{FastCFSUtils}
FastCFS utils
commit version: %{CommitVersion}
%description -n %{FastCFSAPI}
FastCFS api library
commit version: %{CommitVersion}
%description -n %{FastCFSAPIDevel}
This package provides the header files of libfcfsapi
commit version: %{CommitVersion}
%description -n %{FastCFSAuthServer}
FastCFS auth server
commit version: %{CommitVersion}
%description -n %{FastCFSVoteServer}
FastCFS vote server
commit version: %{CommitVersion}
%description -n %{FastCFSFuseConfig}
FastCFS fuse config files for sample
commit version: %{CommitVersion}
%prep
%setup -q
%build
./make.sh clean && ./make.sh --exclude=client
%install
rm -rf %{buildroot}
DESTDIR=$RPM_BUILD_ROOT ./make.sh --exclude=client install
FUSE_CONFDIR=%{buildroot}/etc/fastcfs/fcfs/
SYSTEMDIR=%{buildroot}/usr/lib/systemd/system/
mkdir -p $FUSE_CONFDIR
mkdir -p $SYSTEMDIR
cp conf/*.conf $FUSE_CONFDIR
cp systemd/fastcfs.service $SYSTEMDIR
cp systemd/fastauth.service $SYSTEMDIR
cp systemd/fastvote.service $SYSTEMDIR
%post
%preun
%postun
%clean
rm -rf %{buildroot}
%files
%post -n %{FastCFSFused}
mkdir -p /opt/fastcfs/fcfs
mkdir -p /opt/fastcfs/fuse
%files -n %{FastCFSFused}
/usr/bin/fcfs_fused
%config(noreplace) /usr/lib/systemd/system/fastcfs.service
%files -n %{FastCFSUtils}
/usr/bin/fcfs_active_test
%files -n %{FastCFSAPI}
%defattr(-,root,root,-)
/usr/lib64/libfcfsapi.so*
/usr/lib64/libfcfspreload.so*
%files -n %{FastCFSAPIDevel}
%defattr(-,root,root,-)
/usr/include/fastcfs/api/*
%post -n %{FastCFSAuthServer}
mkdir -p /opt/fastcfs/auth
%post -n %{FastCFSVoteServer}
mkdir -p /opt/fastcfs/vote
%files -n %{FastCFSAuthServer}
/usr/bin/fcfs_authd
%config(noreplace) /usr/lib/systemd/system/fastauth.service
%files -n %{FastCFSVoteServer}
/usr/bin/fcfs_voted
%config(noreplace) /usr/lib/systemd/system/fastvote.service
%files -n %{FastCFSFuseConfig}
%defattr(-,root,root,-)
%config(noreplace) /etc/fastcfs/fcfs/*.conf
%changelog
* Fri Jan 1 2021 YuQing <384681@qq.com>
- first RPM release (1.0)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。