SPECS: mktemp.spec - updated to sources from mktemp.org (yes, the ...

glen glen at pld-linux.org
Fri Oct 14 19:15:28 CEST 2005


Author: glen                         Date: Fri Oct 14 17:15:28 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to sources from mktemp.org (yes, the version number is same); rel 18

---- Files affected:
SPECS:
   mktemp.spec (1.34 -> 1.35) 

---- Diffs:

================================================================
Index: SPECS/mktemp.spec
diff -u SPECS/mktemp.spec:1.34 SPECS/mktemp.spec:1.35
--- SPECS/mktemp.spec:1.34	Thu Apr  7 21:58:18 2005
+++ SPECS/mktemp.spec	Fri Oct 14 19:15:21 2005
@@ -8,18 +8,18 @@
 Summary(tr):	Güvenli bir ţekilde geçici dosya oluţturma programý
 Name:		mktemp
 Version:	1.5
-Release:	17
+Release:	18
 License:	BSD
 Group:		Applications/System
-Source0:	ftp://sunsite.icm.edu.pl/pub/OpenBSD/src/usr.bin/%{name}-%{version}.tar.gz
-# Source0-md5:	ca1a2d8612ec45201b4bb4a0e26aab9b
+Source0:	ftp://ftp.mktemp.org/pub/mktemp/mktemp-1.5.tar.gz
+# Source0-md5:	9a35c59502a228c6ce2be025fc6e3ff2
 Source1:	%{name}.1.pl
-Patch0:		%{name}.patch
-Patch1:		%{name}-fhs.patch
-Patch2:		%{name}-glibc21_compat.patch
-URL:		http://www.mktemp.org/mktemp/
+Patch0:	%{name}-DESTDIR.patch
+URL:		http://www.mktemp.org/
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_exec_prefix /
+
 %description
 mktemp is a small utility that interfaces to the mktemp() function
 call to allow shell scripts and other programs to use files in /tmp
@@ -57,10 +57,10 @@
 %prep
 %setup  -q
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 %build
+%configure \
+	--with-libc
 %{__make} CFLAGS="-Wall %{rpmcflags}" CC=%{__cc}
 
 %install
@@ -68,13 +68,15 @@
 install -d $RPM_BUILD_ROOT{/bin,%{_mandir}/{man1,pl/man1}}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/mktemp.1
 
-%{__make} ROOT=$RPM_BUILD_ROOT install
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc README LICENSE INSTALL RELEASE_NOTES
 %attr(755,root,root) /bin/mktemp
 %{_mandir}/man1/mktemp.1*
 %lang(pl) %{_mandir}/pl/man1/mktemp.1*
@@ -85,6 +87,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.35  2005/10/14 17:15:21  glen
+- updated to sources from mktemp.org (yes, the version number is same); rel 18
+
 Revision 1.34  2005/04/07 19:58:18  paszczus
 - updated URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mktemp.spec?r1=1.34&r2=1.35&f=u




More information about the pld-cvs-commit mailing list