]> git.pld-linux.org Git - SPECS.git/blob - rar.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / rar.spec
1 Summary:        The RAR Archiver
2 Summary(pl.UTF-8):      Archiwizator RAR
3 Name:           rar
4 Version:        5.6.1
5 Release:        1
6 License:        Shareware
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
14 Source2:        %{name}.1
15 URL:            https://www.rarlab.com/
16 ExclusiveArch:  %{ix86} %{x8664}
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
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"
22 suffix.
23
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".
28
29 %prep
30 %ifarch %{ix86}
31 %setup -q -T -b 0 -n %{name}
32 %endif
33 %ifarch %{x8664}
34 %setup -q -T -b 1 -n %{name}
35 %endif
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/rar,%{_mandir}/man1}
40
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
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc *.txt
52 %attr(755,root,root) %{_bindir}/rar
53 %{_libdir}/rar
54 %{_mandir}/man1/rar.1*
This page took 0.041035 seconds and 3 git commands to generate.