commit
bdb19aded5
BIN
cloc-1.84.tar.gz
Normal file
BIN
cloc-1.84.tar.gz
Normal file
Binary file not shown.
44
cloc.spec
Normal file
44
cloc.spec
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
Name: cloc
|
||||||
|
Version: 1.84
|
||||||
|
Release: 0
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
|
%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
|
||||||
|
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
|
||||||
|
- Package init
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user