]> git.pld-linux.org Git - packages/rar.git/blame - rar.spec
- rel 2; add unrar, too
[packages/rar.git] / rar.spec
CommitLineData
524e3889 1Summary: The RAR Archiver
d5ed73d9 2Summary(pl.UTF-8): Archiwizator RAR
524e3889 3Name: rar
87daf182 4Version: 5.4.0
07c696e1 5Release: 2
fd10bcfb 6License: Shareware
7Group: Applications/Archiving
157e95c1 8#Source0Download: http://www.rarlab.com/download.htm
f3d20fcb 9Source0: http://www.rarlab.com/rar/%{name}linux-%{version}.tar.gz
87daf182 10# Source0-md5: cd1fede60f8dde36f62283f371e7cc6b
157e95c1 11#Source1Download: http://www.rarlab.com/download.htm
f3d20fcb 12Source1: http://www.rarlab.com/rar/%{name}linux-x64-%{version}.tar.gz
87daf182 13# Source1-md5: f7181c0aed3b7be402b95185bd61e646
e410b295 14Source2: %{name}.1
909ce645 15URL: http://www.rarlab.com/
07c696e1 16Obsoletes: unrar
e410b295 17ExclusiveArch: %{ix86} %{x8664}
524e3889
JR
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21RAR is a powerful tool which allows you to manage and control archive
22files. The archive is usually a regular file, which name has a ".rar"
23suffix.
24
0bfe6503
JR
25%description -l pl.UTF-8
26RAR jest potężnym narzędziem pozwalającym na zarządzanie i
27kontrolowanie archiwów. Archiwum jest to zazwyczaj zwykły plik,
28którego nazwa ma rozszerzenie ".rar".
2921f2a7 29
524e3889 30%prep
e410b295 31%ifarch %{ix86}
1facd64d 32%setup -q -T -b 0 -n %{name}
e410b295
AM
33%endif
34%ifarch %{x8664}
1facd64d 35%setup -q -T -b 1 -n %{name}
e410b295 36%endif
524e3889
JR
37
38%install
39rm -rf $RPM_BUILD_ROOT
2fd453f0 40install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/rar,%{_mandir}/man1}
524e3889 41
909ce645
MW
42install *.sfx $RPM_BUILD_ROOT%{_libdir}/rar
43install *.lst $RPM_BUILD_ROOT%{_libdir}/rar
db3813ee 44install rar $RPM_BUILD_ROOT%{_bindir}/rar
07c696e1 45install unrar $RPM_BUILD_ROOT%{_bindir}/unrar
602d7797 46install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1
524e3889 47
524e3889
JR
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
69c013b8 53%doc *.txt
c4c55ddd 54%attr(755,root,root) %{_bindir}/rar
07c696e1 55%attr(755,root,root) %{_bindir}/unrar
524e3889 56%{_libdir}/rar
78f3053c 57%{_mandir}/man1/rar.1*
This page took 0.041201 seconds and 4 git commands to generate.