2020-09-24 16:16:19 +08:00
|
|
|
Name: fastdfs
|
2024-02-26 16:32:29 +08:00
|
|
|
Version: 6.12.0
|
2022-12-16 02:02:38 -05:00
|
|
|
Release: 1
|
2020-09-24 16:16:19 +08:00
|
|
|
Summary: FastDFS server and client
|
|
|
|
|
License: GPL3.0
|
|
|
|
|
Group: Arch/Tech
|
|
|
|
|
URL: https://github.com/happyfish100/fastdfs
|
|
|
|
|
Source: https://github.com/happyfish100/fastdfs/archive/V%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Requires: gcc cmake
|
2023-03-20 19:48:56 +08:00
|
|
|
BuildRequires: libfastcommon-devel >= 1.0.66
|
2024-02-26 16:32:29 +08:00
|
|
|
BuildRequires: libserverframe-devel >= 1.2.1
|
2022-06-23 19:07:58 +08:00
|
|
|
BuildRequires: perl
|
2020-09-24 16:16:19 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This package provides tracker & storage of fastdfs
|
|
|
|
|
|
|
|
|
|
%package -n fastdfs-server
|
2023-03-20 19:48:56 +08:00
|
|
|
Requires: libfastcommon >= 1.0.66
|
2024-02-26 16:32:29 +08:00
|
|
|
Requires: libserverframe >= 1.2.1
|
2022-12-16 02:02:38 -05:00
|
|
|
Requires: fastdfs-config
|
2020-09-24 16:16:19 +08:00
|
|
|
Summary: fastdfs tracker & storage
|
|
|
|
|
|
|
|
|
|
%package -n fastdfs-tools
|
2022-12-16 02:02:38 -05:00
|
|
|
Requires: libfdfsclient
|
2020-09-24 16:16:19 +08:00
|
|
|
Summary: fastdfs tools
|
|
|
|
|
|
|
|
|
|
%package -n libfdfsclient
|
2023-03-20 19:48:56 +08:00
|
|
|
Requires: libfastcommon >= 1.0.66
|
2024-02-26 16:32:29 +08:00
|
|
|
Requires: libserverframe >= 1.2.1
|
2022-12-16 02:02:38 -05:00
|
|
|
Requires: fastdfs-config
|
2020-09-24 16:16:19 +08:00
|
|
|
Summary: The client dynamic library of fastdfs
|
|
|
|
|
|
|
|
|
|
%package -n libfdfsclient-devel
|
|
|
|
|
Requires: libfdfsclient
|
|
|
|
|
Summary: The client header of fastdfs
|
|
|
|
|
|
|
|
|
|
%description -n fastdfs-server
|
|
|
|
|
This package provides tracker & storage of fastdfs
|
|
|
|
|
|
|
|
|
|
%description -n libfdfsclient
|
|
|
|
|
This package is client dynamic library of fastdfs
|
|
|
|
|
|
|
|
|
|
%description -n libfdfsclient-devel
|
|
|
|
|
This package is client header of fastdfs client
|
|
|
|
|
|
2022-12-16 02:02:38 -05:00
|
|
|
%package -n fastdfs-config
|
|
|
|
|
Summary: FastDFS config files for sample
|
|
|
|
|
|
2020-09-24 16:16:19 +08:00
|
|
|
%description -n fastdfs-tools
|
|
|
|
|
This package is tools for fastdfs
|
|
|
|
|
|
2022-12-16 02:02:38 -05:00
|
|
|
%description -n fastdfs-config
|
|
|
|
|
FastDFS config files for sample
|
|
|
|
|
commit version: $COMMIT_VERSION
|
|
|
|
|
|
2020-09-24 16:16:19 +08:00
|
|
|
%prep
|
2021-04-02 11:48:17 +08:00
|
|
|
%autosetup -p1
|
2020-09-24 16:16:19 +08:00
|
|
|
|
|
|
|
|
%build
|
2022-12-16 02:02:38 -05:00
|
|
|
./make.sh clean && ./make.sh
|
2020-09-24 16:16:19 +08:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
DESTDIR=$RPM_BUILD_ROOT ./make.sh install
|
2021-04-02 11:48:17 +08:00
|
|
|
|
2022-12-16 02:02:38 -05:00
|
|
|
%post
|
2020-09-24 16:16:19 +08:00
|
|
|
|
2022-12-16 02:02:38 -05:00
|
|
|
%postun
|
2020-09-24 16:16:19 +08:00
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
2022-12-16 02:02:38 -05:00
|
|
|
%files
|
|
|
|
|
|
2020-09-24 16:16:19 +08:00
|
|
|
%files -n fastdfs-server
|
|
|
|
|
%defattr(-,root,root,-)
|
2021-04-02 11:48:17 +08:00
|
|
|
%{_bindir}/fdfs_trackerd
|
|
|
|
|
%{_bindir}/fdfs_storaged
|
2022-12-16 02:02:38 -05:00
|
|
|
%config(noreplace) /usr/lib/systemd/system/fdfs_trackerd.service
|
|
|
|
|
%config(noreplace) /usr/lib/systemd/system/fdfs_storaged.service
|
2020-09-24 16:16:19 +08:00
|
|
|
|
|
|
|
|
%files -n libfdfsclient
|
2022-12-16 02:02:38 -05:00
|
|
|
%defattr(-,root,root,-)
|
2021-04-02 11:48:17 +08:00
|
|
|
%{_libdir}/libfdfsclient*
|
|
|
|
|
%{_usr}/lib/libfdfsclient*
|
2020-09-24 16:16:19 +08:00
|
|
|
|
|
|
|
|
%files -n libfdfsclient-devel
|
|
|
|
|
%defattr(-,root,root,-)
|
2021-04-02 11:48:17 +08:00
|
|
|
%{_includedir}/fastdfs/*
|
2020-09-24 16:16:19 +08:00
|
|
|
|
|
|
|
|
%files -n fastdfs-tools
|
2022-12-16 02:02:38 -05:00
|
|
|
%defattr(-,root,root,-)
|
2021-04-02 11:48:17 +08:00
|
|
|
%{_bindir}/fdfs_monitor
|
|
|
|
|
%{_bindir}/fdfs_test
|
|
|
|
|
%{_bindir}/fdfs_test1
|
|
|
|
|
%{_bindir}/fdfs_crc32
|
|
|
|
|
%{_bindir}/fdfs_upload_file
|
|
|
|
|
%{_bindir}/fdfs_download_file
|
|
|
|
|
%{_bindir}/fdfs_delete_file
|
|
|
|
|
%{_bindir}/fdfs_file_info
|
|
|
|
|
%{_bindir}/fdfs_appender_test
|
|
|
|
|
%{_bindir}/fdfs_appender_test1
|
|
|
|
|
%{_bindir}/fdfs_append_file
|
|
|
|
|
%{_bindir}/fdfs_upload_appender
|
|
|
|
|
%{_bindir}/fdfs_regenerate_filename
|
2020-09-24 16:16:19 +08:00
|
|
|
|
2022-12-16 02:02:38 -05:00
|
|
|
%files -n fastdfs-config
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%config(noreplace) /etc/fdfs/*.conf
|
|
|
|
|
|
2020-09-24 16:16:19 +08:00
|
|
|
%changelog
|
2024-02-26 16:32:29 +08:00
|
|
|
* Mon Feb 26 2024 liweigang <izmirvii@gmail.com> - 6.12.0-1
|
|
|
|
|
- update to version 6.12.0
|
|
|
|
|
|
2023-03-20 19:48:56 +08:00
|
|
|
* Mon Mar 20 2023 suweifeng <suweifeng@huawei.com> - 6.9.4-1
|
|
|
|
|
- Upgrade to version 6.9.4
|
|
|
|
|
|
2022-12-16 02:02:38 -05:00
|
|
|
* Fri Dec 16 2022 lihaoxiang <lihaoxiang9@huawei.com> - 6.9.1-1
|
|
|
|
|
- Upgrade to version 6.9.1
|
|
|
|
|
|
2022-06-23 19:07:58 +08:00
|
|
|
* Thu Jun 23 2022 lihaoxiang <lihaoxiang9@huawei.com> - 6.06-3
|
|
|
|
|
- Modified fastdfs.spec that add BuildRequires about perl
|
|
|
|
|
|
2021-04-02 11:48:17 +08:00
|
|
|
* Fri Apr 02 2021 herengui <herengui@uniontech.com> - 6.06-2
|
|
|
|
|
- Rearrange the files list
|
|
|
|
|
|
|
|
|
|
* Fri Sep 11 2020 huyan90325 <huyan90325@talkweb.com.cn> - 6.06-1
|
2020-09-24 16:16:19 +08:00
|
|
|
- Fastdfs package init
|