%define name uips %define version 20100823 %define release %mkrel 1 Name: %{name} Summary: Universal IPS create/apply utility Version: %{version} Release: %{release} Source0: http://www.neillcorlett.com/downloads/uips_source.zip URL: http://www.neillcorlett.com/uips/ Group: File tools License: GPLv3+ %description UIPS is a command-line based utility for creating or applying IPS patches. IPS is a fairly simple patch file format which stores the differences between two binary files. %prep %setup -q -c %build gcc %{optflags} %{ldflags} -o %{name} %{name}.c %install rm -rf %{buildroot} install -Dm 0755 %{name} %{buildroot}%{_bindir}/%{name} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc uips.txt %{_bindir}/%{name} %changelog * Wed Apr 20 2011 alien <alien> 20100823-1.mga1 + Revision: 88877 - Remove BuildRoot - imported package uips * Fri Aug 27 2010 Maarten Vanraes <alien@mandriva.org> 20100823-1mdv2011.0 + Revision: 573447 - import uips