1 Summary: The RAR Archiver
2 Summary(pl.UTF-8): Archiwizator RAR
7 Group: Applications/Archiving
8 #Source0Download: http://www.rarlab.com/download.htm
9 Source0: https://www.rarlab.com/rar/%{name}linux-%{version}.tar.gz
10 # Source0-md5: 1feeeabd2a6b5f9ad2deb1185a680afb
11 #Source1Download: http://www.rarlab.com/download.htm
12 Source1: https://www.rarlab.com/rar/%{name}linux-x64-%{version}.tar.gz
13 # Source1-md5: 15e81fad99e9588eb133af60c659a2b3
15 URL: https://www.rarlab.com/
16 ExclusiveArch: %{ix86} %{x8664}
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 RAR is a powerful tool which allows you to manage and control archive
21 files. The archive is usually a regular file, which name has a ".rar"
24 %description -l pl.UTF-8
25 RAR jest potężnym narzędziem pozwalającym na zarządzanie i
26 kontrolowanie archiwów. Archiwum jest to zazwyczaj zwykły plik,
27 którego nazwa ma rozszerzenie ".rar".
31 %setup -q -T -b 0 -n %{name}
34 %setup -q -T -b 1 -n %{name}
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/rar,%{_mandir}/man1}
41 install *.sfx $RPM_BUILD_ROOT%{_libdir}/rar
42 install *.lst $RPM_BUILD_ROOT%{_libdir}/rar
43 install rar $RPM_BUILD_ROOT%{_bindir}/rar
44 install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %attr(755,root,root) %{_bindir}/rar
54 %{_mandir}/man1/rar.1*