bam/bam.spec
2021-09-09 10:12:36 +08:00

49 lines
1.2 KiB
RPMSpec

Name: bam
Version: 0.5.1
Release: 3
Summary: Bam is a fast and flexible build system.
License: zlib
URL: https://github.com/matricks/bam
Source0: https://github.com/matricks/bam/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc autoconf automake make
%description
Bam is a build system with the focus on being having fast build times and flexiable build scripts. Instead of having a custom language it uses Lua to describe the build steps. It's written in clean C and is distrubuted under the liberal zlib licence. Available on many platforms including but not limited to Linux, Mac OS X and Windows.
%prep
%setup -q -n %{name}-%{version}/
%build
sed -i 's/-o bam/& -g/' make_unix.sh
sh -x make_unix.sh
%install
install -d %{buildroot}%{_bindir}/%{name}
install -m0755 bam %{buildroot}%{_bindir}/%{name}
%pre
%preun
%post
%postun
%check
%files
%license COPYING
%doc README.md CHANGELOG docs/ examples/
%{_bindir}/*
%changelog
* Thu Sep 9 2021 caodongxia <caodongxia@huawei.com>
- Add debug package to add strip
* Mon Oct 12 2020 liqingqing_1229 <liqingqing3@huawei.com>
- update source0's url
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
- Package init