%define destdir /opt/cell/sysroot Summary: SPE Runtime Management Wrapper Library Name: libspe2-cross-devel Version: 2.2.80 Release: 132 Group: Development/Cell Development Libraries Vendor: IBM URL: http://sourceforge.net/projects/libspe License: GPL Source0: libspe2-devel-%{version}-%{release}.ppc.rpm Source1: libspe2-%{version}-%{release}.ppc.rpm Source2: libspe2-devel-%{version}-%{release}.ppc64.rpm Source3: libspe2-%{version}-%{release}.ppc64.rpm Source4: libspe2-adabinding-devel-%{version}-%{release}.ppc64.rpm Buildroot: %{_tmppath}/%{BUILDsubdir} AutoReqProv: no %define __strip /bin/true %define BUILDsubdir %{name}-%{version}-%{release} %description SPE Runtime Management Library for the Cell Broadband Engine Architecture. %prep %build %install mkdir -p $RPM_BUILD_ROOT%{destdir} cd $RPM_BUILD_ROOT%{destdir} rpm2cpio %{SOURCE0} | cpio -idmu rpm2cpio %{SOURCE1} | cpio -idmu rpm2cpio %{SOURCE2} | cpio -idmu rpm2cpio %{SOURCE3} | cpio -idmu rpm2cpio %{SOURCE4} | cpio -idmu # Fix directory permissions find $RPM_BUILD_ROOT%{destdir} -type d | xargs chmod 755 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{destdir}