44 lines
1004 B
RPMSpec
44 lines
1004 B
RPMSpec
#%global debug_package %{nil}
|
|
|
|
Name: bam
|
|
Version: 0.5.1
|
|
Release: 1
|
|
Summary: Bam is a fast and flexible build system.
|
|
License: zlib
|
|
URL: https://github.com/matricks/bam
|
|
Source0: https://github.com/matricks/bam/archive/%{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
|
|
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
|
|
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
|
|
- Package init
|
|
|