add spec and source file

This commit is contained in:
xw 2020-04-04 00:04:18 +08:00
parent 3e23e97915
commit d26a3be4a2
4 changed files with 39 additions and 30 deletions

View File

@ -3,21 +3,6 @@
#### Description
Memory lead detection tool
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository

View File

@ -3,21 +3,6 @@
#### 介绍
Memory lead detection tool
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献

BIN
memleax-1.1.1.tar.gz Normal file

Binary file not shown.

39
memleax.spec Normal file
View File

@ -0,0 +1,39 @@
Name: memleax
Version: 1.1.1
Release: 1
Summary: Memory lead detection tool
License: GPLv2
URL: https://github.com/WuBingzheng/memleax
Source0: https://github.com/WuBingzheng/memleax/archive/memleax-%{version}.tar.gz
BuildRequires: make
%description
cloc is a tool which can help to do program line caculation.
%prep
%setup -q -n %{name}-%{version}/
%build
./configure
make
%install
make install DESTDIR="%{buildroot}"
%pre
%preun
%post
%postun
%check
%files
%license LICENSE
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%changelog
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
- Package init