diff --git a/pijul-1.0.0~beta.2/README.md b/pijul-1.0.0~beta.2/README.md new file mode 100644 index 0000000000000000000000000000000000000000..7f2878cad77192b2f35f48b6a4e95383f0b5fee8 --- /dev/null +++ b/pijul-1.0.0~beta.2/README.md @@ -0,0 +1,10 @@ +## Pijul v1.0.0-beta.2 RPM 包构建 +- 构建与编译cargo项目,需要Rust-1.56.1以上版本工具,否则会编译失败 +- 构建与编译项目需要系统安装的xxhash无法通过open Euler(21.09及以前)仓库使用yum直接安装,需要使用网络上的xxhash源码包或open Euler(22.03版本以后)的everything仓库中下载安装。 +- 文件目录: + + | pijul\-1\.0\.0~beta\.2\.tar\.gz | Pijul Rust源码 | + |:------------------------------------------:|:-------------:| + | pijul\-1\.0\.0~beta\.2\-1\.0\.src\.rpm | 已编译二进制源码包 | + | pijul\-1\.0\.0~beta\.2\-1\.0\.x86\_64\.rpm | Pijul rpm安装包 | + | pijul\.spec | SPEC 文件 | diff --git a/pijul-1.0.0~beta.2/pijul-1.0.0~beta.2-1.0.src.rpm b/pijul-1.0.0~beta.2/pijul-1.0.0~beta.2-1.0.src.rpm new file mode 100644 index 0000000000000000000000000000000000000000..82efcd9ad1ef08a832b8f5a2449a4d98d7d7194a Binary files /dev/null and b/pijul-1.0.0~beta.2/pijul-1.0.0~beta.2-1.0.src.rpm differ diff --git a/pijul-1.0.0~beta.2/pijul-1.0.0~beta.2-1.0.x86_64.rpm b/pijul-1.0.0~beta.2/pijul-1.0.0~beta.2-1.0.x86_64.rpm new file mode 100644 index 0000000000000000000000000000000000000000..ccbdb231b828dc4587903d0ba84d31ff6a12050a Binary files /dev/null and b/pijul-1.0.0~beta.2/pijul-1.0.0~beta.2-1.0.x86_64.rpm differ diff --git a/pijul-1.0.0~beta.2/pijul-1.0.0~beta.2.tar.gz b/pijul-1.0.0~beta.2/pijul-1.0.0~beta.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..1264755a1c7ce70d2367a028e76b4d4fb1c34313 Binary files /dev/null and b/pijul-1.0.0~beta.2/pijul-1.0.0~beta.2.tar.gz differ diff --git a/pijul-1.0.0~beta.2/pijul.spec b/pijul-1.0.0~beta.2/pijul.spec new file mode 100644 index 0000000000000000000000000000000000000000..5914baa1ba9b148e1dca2b33bdc5e99f0eb20b13 --- /dev/null +++ b/pijul-1.0.0~beta.2/pijul.spec @@ -0,0 +1,55 @@ +# +# spec file for pijul +# +# Copyright (c) 2022. Huawei Technologies Co.,Ltd.ALL rights reserved. +# This program is licensed under Mulan PSL v2. +# You can use it according to the terms and conditions of the Mulan PSL v2. +# http://license.coscl.org.cn/MulanPSL2 +# THIS PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, +# EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, +# MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. +# See the Mulan PSL v2 for more details. +# + +%define __spec_install_post %{nil} +%define __os_install_post %{_dbpath}/brp-compress +%define debug_package %{nil} + +Name: pijul +Summary: Distributed version control system based on a theory of patches +Version: 1.0.0~beta.2 +Release: 1.0%{?dist} +License: Mulan-PSL-v2 +Group: Development/Tools/Version Control +URL: https://pijul.org/ +Packager: Lavandejoey(Liu Ziyi) +Source0: %{name}-%{version}.tar.gz +BuildRequires: clang-devel +BuildRequires: cmake +BuildRequires: pkg-config +BuildRequires: gcc +BuildRequires: openssl-devel +BuildRequires: libsodium +BuildRequires: libzstd-devel +BuildRequires: zstd-devel + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root + +%description +Pijul is a distributed version control system. Its distinctive feature is to be +based on a theory of patches, which makes it really distributed. + +%prep +%setup -q + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot} +cp -a * %{buildroot} + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{_bindir}/*