%global _enable_debug_package 0 %global debug_package %{nil} %global __os_install_post /usr/lib/rpm/brp-compress %{nil} Name: skalibs Version: 2.7.0.0 Release: 1%{?dist} Summary: skalibs is a package centralizing the free software / open source C development files used for building all software at skarnet.org. Group: System Environment/Libraries License: ISC URL: http://skarnet.org/software/%{name} Source0: %{url}/%{name}-%{version}.tar.gz BuildRequires: gcc make glibc %description skalibs is a package centralizing the free software / open source C development files used for building all software at skarnet.org: it contains essentially general-purpose libraries. You will need to install skalibs if you plan to build skarnet.org software. The point is that you won't have to download and compile big libraries, and care about portability issues, everytime you need to build a package: do it only once. %prep %setup -q %build %configure --dynlibdir=/usr/lib64 --libdir=/usr/lib64/%{name} --sysdepdir=/usr/lib64/%{name}/sysdeps make %{?_smp_mflags} %install export DONT_STRIP=1 make install DESTDIR=%{buildroot} %files %{_libdir}/* %{_includedir}/* %changelog * Sat Dec 10 2016 chenguodong - 2.4.0.2 - first build rpm without doc for docker