Summary: Extract, test and view RAR archives Name: unrar Version: 5.9.1 Release: 1 License: Freeware Group: Applications/Archiving URL: http://www.rarlab.com/ Source0: http://www.rarlab.com/rar/unrarsrc-%{version}.tar.gz Source1: %{name}.1 Patch0: %{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: make %description The unRAR utility is a freeware program, distributed with source code and developed for extracting, testing and viewing the contents of archives created with the RAR archiver version 1.50 and above. %prep %setup -q -n %{name} %patch0 %build gmake %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_bindir} mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 cp unrar ${RPM_BUILD_ROOT}%{_bindir}/unrar chmod 0755 ${RPM_BUILD_ROOT}%{_bindir}/* cp %{SOURCE1} ${RPM_BUILD_ROOT}%{_mandir}/man1/unrar.1 chmod 0644 ${RPM_BUILD_ROOT}%{_mandir}/man1/* cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc *.txt %{_bindir}/* %{_mandir}/man1/* /usr/bin/* %changelog * Wed Jun 18 2020 Michael Perzl - 5.9.1-1 - updated to version 5.9.1 * Wed Jun 18 2020 Michael Perzl - 5.8.5-1 - updated to version 5.8.5 * Mon May 27 2019 Michael Perzl - 5.7.5-1 - updated to version 5.7.5 * Sun Jul 22 2018 Michael Perzl - 5.6.5-1 - updated to version 5.6.5 * Tue Aug 22 2017 Michael Perzl - 5.5.5-1 - updated to version 5.5.5 * Mon Dec 05 2016 Michael Perzl - 5.4.5-1 - updated to version 5.4.5 * Mon Dec 05 2016 Michael Perzl - 5.4.4-1 - updated to version 5.4.4 * Mon Dec 05 2016 Michael Perzl - 5.4.1-1 - updated to version 5.4.1 * Mon Dec 05 2016 Michael Perzl - 5.3.9-1 - updated to version 5.3.9 * Fri Jan 01 2015 Michael Perzl - 5.3.8-1 - updated to version 5.3.8 * Tue Dec 09 2014 Michael Perzl - 5.2.2-1 - updated to version 5.2.2 * Tue Dec 09 2014 Michael Perzl - 5.0.12-1 - updated to version 5.0.12 * Tue Dec 09 2014 Michael Perzl - 5.0.3-1 - updated to version 5.0.3 * Tue Jun 19 2012 Michael Perzl - 4.2.4-1 - updated to version 4.2.4 * Fri Jul 01 2011 Michael Perzl - 4.0.7-1 - updated to version 4.0.7 * Wed Jan 12 2011 Michael Perzl - 4.0.4-1 - updated to version 4.0.4 * Mon May 26 2008 Michael Perzl - 3.7.8-1 - first version for AIX V5.1 and higher