init package

This commit is contained in:
myeuler 2020-05-14 23:10:42 +08:00 committed by Gitee
parent 3dbe40db3e
commit a2803d5fff
2 changed files with 54 additions and 0 deletions

BIN
sysget-2.3.tar.gz Normal file

Binary file not shown.

54
sysget.spec Normal file
View File

@ -0,0 +1,54 @@
#%global debug_package %{nil}
Name: sysget
Version: 2.3
Release: 1
Summary: One package manager to rule them all
License: GPLv3
URL: http://sysget.emilengler.com
Source0: https://github.com/emilengler/sysget/archive/%{name}-%{version}.tar.gz
BuildRequires: gcc autoconf automake make
%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}/
%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
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
- Package init