git-quick-stats/git-quick-stats.spec

62 lines
1.6 KiB
RPMSpec

#
# spec file for package git-quick-stats
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: git-quick-stats
Version: 2.5.8
Release: 0
Summary: simple and efficient way to access various statistics in a git repository
License: MIT
URL: https://github.com/git-quick-stats/git-quick-stats
Source: https://github.com/git-quick-stats/git-quick-stats/archive/refs/tags/%{version}.tar.gz#/git-quick-stats-%{version}.tar.gz
Requires: gawk
Requires: coreutils
Requires: util-linux
Requires: /usr/bin/git
Requires: grep
Requires: /usr/bin/tput
BuildRequires: /usr/bin/git
BuildRequires: make
BuildRequires: gawk
BuildRequires: coreutils
BuildRequires: util-linux
BuildRequires: /usr/bin/git
BuildRequires: grep
BuildRequires: /usr/bin/tput
%description
%prep
%autosetup -p1
%build
%make_build
%install
PREFIX=%_prefix %make_install
%check
make tests
%files
%license LICENSE
%doc README.md
%_bindir/git-quick-stats
%_mandir/man1/git-quick-stats.1*
%changelog