12 Star 0 Fork 9

src-openEuler/sysget
关闭

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
sysget.spec 1.81 KB
一键复制 编辑 原始数据 按行查看 历史
starlet_dx 提交于 2024-05-27 17:38 +08:00 . Modify version in changelog
Name: sysget
Version: 2.3
Release: 5
Summary: One package manager to rule them all
License: GPLv3
URL: http://sysget.emilengler.com
Source0: https://github.com/emilengler/sysget/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch1: sysget-should-generate-debuginfo.patch
Patch2: 0001-add-pie-compile-option.patch
BuildRequires: gcc autoconf automake make gcc-c++
%description
sysget is a bridge that lets you use one syntax to every package manager on every unix-based operating system.
You probably all know the problem when you are on a new distro and don't know anything about the package manager. With sysget you just need to remember one syntax for every package manager.
The syntax is mostly same with apt so it should be easy to use.
%prep
%setup -q -n %{name}-%{version}/
%patch1 -p1
%patch2 -p1
%build
%make_build
%install
install -d %{buildroot}/%{_bindir}
install -m0755 sysget %{buildroot}/%{_bindir}
install -d %{buildroot}/%{_mandir}/man8
install -m0644 contrib/man/sysget.8 %{buildroot}/%{_mandir}/man8
gzip %{buildroot}/%{_mandir}/man8/sysget.8
install -d %{buildroot}/%{_sysconfdir}/bash_completion.d/%{name}
install -m0644 contrib/sysget.bash-completion %{buildroot}/%{_sysconfdir}/bash_completion.d/%{name}
%pre
%preun
%post
%postun
%check
%files
%license LICENSE.txt
%doc README.md CONTRIBUTING.md
%{_bindir}/*
%{_mandir}/*
%{_sysconfdir}/*
%changelog
* Tue Jun 06 2023 Ge Wang <wang__ge@126.com> - 2.3-5
- Add pie compile option
* Thu Sep 09 2021 sunguoshuai <sunguoshuai@huawei.com> - 2.3-4
- sysget should generate debuginfo
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 2.3-3
- Completing build dependencies to fix gcc-c++ compiler missing error
* Thu Sep 24 2020 ShiYuan Hu<421699196@qq.com> - 2.3-2
- refresh source0 url
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/sysget.git
git@gitee.com:src-openeuler/sysget.git
src-openeuler
sysget
sysget
openEuler-24.03-LTS-SP2

搜索帮助