%global _enable_debug_package 0 %global debug_package %{nil} %global __os_install_post /usr/lib/rpm/brp-compress %{nil} Name: execline Version: 2.5.0.1 Release: 1%{?dist} Summary: execline is a (non-interactive) scripting language, like sh; but its syntax is quite different from a traditional shell syntax. Group: System Environment/Libraries License: ISC URL: http://skarnet.org/software/%{name} Source0: %{url}/%{name}-%{version}.tar.gz BuildRequires: gcc make glibc skalibs Requires: skalibs %description execline is a (non-interactive) scripting language, like sh ; but its syntax is quite different from a traditional shell syntax. The execlineb program is meant to be used as an interpreter for a text file; the other commands are essentially useful inside an execlineb script. %prep %setup -q %build %configure --exec-prefix=/usr/local --bindir=/usr/local/bin --dynlibdir=/usr/lib64 --libdir=/usr/lib64/%{name} --with-dynlib=/usr/lib64 --with-lib=/usr/lib64/skalibs --with-sysdeps=/usr/lib64/skalibs/sysdeps make %{?_smp_mflags} %install export DONT_STRIP=1 make install DESTDIR=%{buildroot} %files %defattr(-,root,root,-) /usr/local/bin/* %{_libdir}/* %{_includedir}/* %changelog * Sat Dec 10 2016 chenguodong - 2.2.0.0 - first build rpm without doc for docker