cloc/cloc.spec
s_c_c 154df8df6a Update to 1.92
(cherry picked from commit 32bf210d6b6a76a8b6e38b65a726b52698e17b71)
2022-10-14 10:03:04 +08:00

57 lines
1009 B
RPMSpec

name: cloc
Version: 1.92
Release: 2
Summary: Program line caculation tools
License: GPLv2+
URL: https://github.com/AlDanial/cloc
Source0: https://github.com/AlDanial/cloc/releases/download/v%{version}/cloc-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-Regexp-Common
BuildRequires: perl-Parallel-ForkManager
Requires: perl-Regexp-Common
Requires: perl-Parallel-ForkManager
%description
cloc is a tool which can help to do program line caculation.
%prep
%setup -q -n %{name}-%{version}/Unix
%build
make
%install
make install DESTDIR="%{buildroot}"
%pre
%preun
%post
%postun
%check
%files
%license COPYING
%doc AUTHORS NEWS README
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%changelog
* Sat Feb 26 2022 s_c_c <shichuchao@huawei.com> - 1.92-2
- Update version to 1.92
* Fri Jan 29 2021 myeuler <myeuler@163.com>
- add Requires needed
* Mon Aug 17 2020 fcwicky <307610302@qq.com>
- Update package
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
- Package init