]> git.pld-linux.org Git - packages/rar.git/blob - rar.spec
15fdc2f5a8e850f1fd618dc823fcc31adafe1510
[packages/rar.git] / rar.spec
1 Summary:        The RAR Archiver
2 Summary(pl.UTF-8):      Archiwizator RAR
3 Name:           rar
4 Version:        5.4.0
5 Release:        1
6 License:        Shareware
7 Group:          Applications/Archiving
8 #Source0Download: http://www.rarlab.com/download.htm
9 Source0:        http://www.rarlab.com/rar/%{name}linux-%{version}.tar.gz
10 # Source0-md5:  cd1fede60f8dde36f62283f371e7cc6b
11 #Source1Download: http://www.rarlab.com/download.htm
12 Source1:        http://www.rarlab.com/rar/%{name}linux-x64-%{version}.tar.gz
13 # Source1-md5:  f7181c0aed3b7be402b95185bd61e646
14 Source2:        %{name}.1
15 URL:            http://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.076219 seconds and 2 git commands to generate.