Summary: Secure temp files Name: mktemp Version: 1.5 Release: 1 License: GPL Group: System/Base Source: %{name}-%{version}.tar.gz Patch0: %{name}-%{version}-add_destdir_and_tempfile-1.patch %description The Mktemp package contains programs used to create secure temporary files in shell scripts. %prep %setup -q patch -Np1 -i %{PATCH0} %build ./configure --prefix=/usr --with-libc make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) /usr/bin/mktemp /usr/bin/tempfile /usr/man/man1/mktemp.1