File makeobj.spec of Package makeobj
Name: makeobj
Version: 0.5.2
Release: 1
License: Other
BuildRequires: unzip zip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Autoreqprov: on
Source0: makeobj-linux-52.zip
Group: Amusements/Games/Strategy
URL: http://simutrans.com/
Summary: Tool to create pak-files for simutrans
%description
makeobj is used to combine graphics and data to create pak-files for simutrans.
%prep
mkdir -p makeobj
cd makeobj
unzip %{S:0}
%build
%install
mkdir -p $RPM_BUILD_ROOT%{_prefix}/games/
cp %{name}/%{name} $RPM_BUILD_ROOT%{_prefix}/games/
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%attr(755,root,root) %{_prefix}/games/%{name}
%{_prefix}/games/