commit
101c646227
BIN
git-tools-2019.11.tar.gz
Normal file
BIN
git-tools-2019.11.tar.gz
Normal file
Binary file not shown.
46
git-tools.spec
Normal file
46
git-tools.spec
Normal file
@ -0,0 +1,46 @@
|
||||
%bcond_with bootstrap
|
||||
|
||||
Name: git-tools
|
||||
Version: 2019.11
|
||||
Release: 1
|
||||
Summary: Assorted git-related scripts
|
||||
License: GPL3
|
||||
URL: https://github.com/MestreLion/git-tools
|
||||
Source0: https://github.com/MestreLion/git-tools/archive/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel python3-setuptools
|
||||
|
||||
%description
|
||||
Assorted git-related scripts and tools
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
install -d %{buildroot}%{_bindir}
|
||||
install -m0755 git-branches-rename %{buildroot}%{_bindir}/
|
||||
install -m0755 git-clone-subset %{buildroot}%{_bindir}/
|
||||
install -m0755 git-find-uncommitted-repos %{buildroot}%{_bindir}/
|
||||
install -m0755 git-rebase-theirs %{buildroot}%{_bindir}/
|
||||
install -m0755 git-restore-mtime %{buildroot}%{_bindir}/
|
||||
install -m0755 git-strip-merge %{buildroot}%{_bindir}/
|
||||
|
||||
install -d %{buildroot}%{_mandir}/man1
|
||||
install -m644 man1/git-* %{buildroot}%{_mandir}/man1/
|
||||
|
||||
%check
|
||||
|
||||
%files
|
||||
%license LICENSE.txt
|
||||
%doc README.md
|
||||
%{_bindir}/*
|
||||
%{_mandir}/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Apr 28 2020 Wei Xiong <myeuler@163.com>
|
||||
- init package
|
||||
Loading…
x
Reference in New Issue
Block a user