Name: ciso Version: 1.0.0 Release: 1%{?dist} Summary: Tool to compress your ISO 9660 to PSP CSO format Group: Amusements/Games License: GPLv2+ URL: http://ciso.tenshu.fr/ Source0: http://ciso.tenshu.fr/%{name}-%{version}.tar.gz Patch0: %{name}-1.0.0-headers.patch Patch1: %{name}-1.0.0-warnings.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: zlib-devel %description ciso is a small tool to compress your psp iso to cso format. It was originaly coded by Booster, the famous coder of Devhook for the PSP. %prep %setup -q %patch0 -p1 -b .headers %patch1 -p1 -b .warnings %build gcc -o ciso ciso.c -lz %{optflags} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_bindir} install ciso $RPM_BUILD_ROOT%{_bindir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_bindir}/ciso %doc license %changelog * Fri Dec 26 2008 Michal Ingeli - 1.0.0-1 - Initial packaging