Summary: WhatAmI produces a single string to identify your platform. Name: whatami Version: 2.4.2 Release: 1 Copyright: University of Chicago 2010 Group: System Environment Source: %{name}-%{version}.tar.bz2 BuildRoot: /tmp/%{name}-buildroot BuildArchitectures: noarch %description WhatAmI determines the "platform" of the system on which it is run. This can be used, for example, to determine which of a series of nfs mounted software directories is appropriate for use by the system in question. No unix utility quite fulfills these requirements, so the "whatami" program's purpose is to return a single unique string for each platform. This string can then used in directory names, program switches, and in other clever ways. %prep %setup -q %build make PREFIX=/ %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/bin mkdir -p $RPM_BUILD_ROOT/usr/share/man/man8 make PREFIX=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc CHANGES COPYRIGHT INSTALL README VERSION /bin/whatami /usr/share/man/man8/whatami.8.gz %changelog * Mon May 17 2010 Hunter Matthews - Updated to 2.4.2, including initial opensolaris support * Thu Feb 06 2007 JP Navarro - version 2.3.2 * Thu Mar 30 2006 Ti Leggett - version 2.3.1 * Tue Mar 14 2006 JP Navarro - version 2.3.0 * Fri Apr 22 2005 JP Navarro - version 2.2.3 * Tue Mar 03 2005 Brian Elliott Finley - version 2.2.2 * Fri Jun 06 2003 Margaret Richey - created this spec file