2020-04-04 00:15:43 +08:00
|
|
|
Name: cloc
|
2020-08-17 21:33:50 +08:00
|
|
|
Version: 1.86
|
2021-01-29 18:52:37 +08:00
|
|
|
Release: 2
|
2020-04-04 00:15:43 +08:00
|
|
|
Summary: Program line caculation tools
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://github.com/AlDanial/cloc
|
|
|
|
|
Source0: https://github.com/AlDanial/cloc/releases/download/%{version}/cloc-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-Regexp-Common
|
|
|
|
|
BuildRequires: perl-Parallel-ForkManager
|
|
|
|
|
|
|
|
|
|
|
2021-01-29 18:52:37 +08:00
|
|
|
Requires: perl-Regexp-Common
|
|
|
|
|
Requires: perl-Parallel-ForkManager
|
|
|
|
|
|
2020-04-04 00:15:43 +08:00
|
|
|
%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
|
2021-01-29 18:52:37 +08:00
|
|
|
* Fri Jan 29 2021 myeuler <myeuler@163.com>
|
|
|
|
|
- add Requires needed
|
|
|
|
|
|
2020-08-17 21:33:50 +08:00
|
|
|
* Mon Aug 17 2020 fcwicky <307610302@qq.com>
|
2020-08-17 21:54:33 +08:00
|
|
|
- Update package
|
2020-08-17 21:33:50 +08:00
|
|
|
|
2020-04-04 00:15:43 +08:00
|
|
|
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
|
|
|
|
|
- Package init
|
|
|
|
|
|