diff --git a/sysget-2.3.tar.gz b/sysget-2.3.tar.gz new file mode 100644 index 0000000..bd5066f Binary files /dev/null and b/sysget-2.3.tar.gz differ diff --git a/sysget.spec b/sysget.spec new file mode 100644 index 0000000..41b247a --- /dev/null +++ b/sysget.spec @@ -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 +- Package init +