Summary: perforce client Name: p4 Version: 2005.2 Release: 95346 Copyright: Commercial Group: Development/Tools Source0: http://www.perforce.com/downloads/perforce/r05.2/bin.linux26x86/p4 Source1: http://www.perforce.com/perforce/doc.052/man/p4.1 BuildRoot: %{_tmppath}/%{name}-root %description p4 is the command line client for the perforce revision control system. Details about this program can be obtained from the p4 help. %prep %build cp $RPM_SOURCE_DIR/p4 $RPM_BUILD_DIR cp $RPM_SOURCE_DIR/p4.1 $RPM_BUILD_DIR gzip p4.1 %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 install -m 755 p4 $RPM_BUILD_ROOT%{_bindir}/p4 install -m 644 p4.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/p4.1.gz %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/p4 %{_mandir}/man*/* %changelog * Fri Aug 06 2004 Charles Hardin - initial packaging