diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 3992244b954dd31780e07ffd460a5d12bbeb5e4a..0000000000000000000000000000000000000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# fastdfs - -#### Description -Fastdfs is an open source lightweight distributed file system. It manages files, including file storage, file synchronization, file access (file upload, file download), etc., which solves the problems of mass storage and load balancing. It is especially suitable for online services with document as carrier, such as photo album website, video website and so on. - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md deleted file mode 100644 index 131e588d1db70720de611beb635cc9bac920ccb7..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# fastdfs - -#### 介绍 -Fastdfs is an open source lightweight distributed file system. It manages files, including file storage, file synchronization, file access (file upload, file download), etc., which solves the problems of mass storage and load balancing. It is especially suitable for online services with document as carrier, such as photo album website, video website and so on. - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 码云特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 -5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/V6.06.tar.gz b/V6.06.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..c4a727d396bc10d4171a8d107332fb0c57f6609f Binary files /dev/null and b/V6.06.tar.gz differ diff --git a/fastdfs.spec b/fastdfs.spec new file mode 100644 index 0000000000000000000000000000000000000000..03edeed507c832ba9cbaadd318dd82452dea3e2f --- /dev/null +++ b/fastdfs.spec @@ -0,0 +1,108 @@ +Name: fastdfs +Version: 6.06 +Release: 1 +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 + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Requires: gcc cmake +BuildRequires: libfastcommon-devel >= 1.0.43 + +%description +This package provides tracker & storage of fastdfs + +%package -n fastdfs-server +Requires: libfastcommon >= 1.0.43 +Summary: fastdfs tracker & storage + +%package -n fastdfs-tools +Requires: libfastcommon +Summary: fastdfs tools + +%package -n libfdfsclient +Requires: libfastcommon +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 + +%description -n fastdfs-tools +This package is tools for fastdfs + +%prep +%setup -q + +%build +./make.sh + +%install +rm -rf %{buildroot} +DESTDIR=$RPM_BUILD_ROOT ./make.sh install +rm -f %{buildroot}/etc/fdfs/http.conf.sample +rm -f %{buildroot}/etc/fdfs/mime.types.sample + +%post -n fastdfs-server +/sbin/chkconfig --add fdfs_trackerd +/sbin/chkconfig --add fdfs_storaged + +%preun -n fastdfs-server +/sbin/chkconfig --del fdfs_trackerd +/sbin/chkconfig --del fdfs_storaged + +%postun + +%clean +rm -rf %{buildroot} + +%files -n fastdfs-server +%defattr(-,root,root,-) +/usr/bin/fdfs_trackerd +/usr/bin/fdfs_storaged +/usr/bin/restart.sh +/usr/bin/stop.sh +/etc/init.d/* +/etc/fdfs/tracker.conf.sample +/etc/fdfs/storage.conf.sample +/etc/fdfs/storage_ids.conf.sample + +%files -n libfdfsclient +/usr/lib64/libfdfsclient* +/usr/lib/libfdfsclient* +/etc/fdfs/client.conf.sample + +%files -n libfdfsclient-devel +%defattr(-,root,root,-) +/usr/include/fastdfs/* + +%files -n fastdfs-tools +/usr/bin/fdfs_monitor +/usr/bin/fdfs_test +/usr/bin/fdfs_test1 +/usr/bin/fdfs_crc32 +/usr/bin/fdfs_upload_file +/usr/bin/fdfs_download_file +/usr/bin/fdfs_delete_file +/usr/bin/fdfs_file_info +/usr/bin/fdfs_appender_test +/usr/bin/fdfs_appender_test1 +/usr/bin/fdfs_append_file +/usr/bin/fdfs_upload_appender +/usr/bin/fdfs_regenerate_filename + +%changelog +* Fri Sep 11 2020 huyan90325 - 1.0.44-1 +- Fastdfs package init