1 Summary: unRAR - extract, test and view RAR archives
2 Summary(pl): unRAR - rozpakowuje, testuje i przegl±da archiwa RAR
7 Group: Applications/Archiving
8 Source0: http://www.rarlab.com/rar/%{name}src.tar.gz
11 Patch0: %{name}-makefile.patch
12 BuildRequires: gcc-c++
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 The unRAR utility is a freeware program, distributed with source code
17 and developed for extracting, testing and viewing the contents of
18 archives created with the RAR archiver version 1.50 and above.
21 UnRAR jest programem freeware, rozpowszechnianym wraz z kodem
22 ¼ród³owym, przeznaczonym do rozpakowywania, testowania oraz
23 przegl±dania zawarto¶ci archiwów stworzonych przez program RAR w
24 wersji 1.50 i wy¿szej.
31 %{__make} -f makefile.gcc CC=%{__cc} CXX=%{__cxx} OPT="%{rpmcflags}"
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/{man1,pl/man1}}
37 install unrar $RPM_BUILD_ROOT%{_bindir}
38 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1
39 install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man1
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
49 %lang(pl) %{_mandir}/pl/man1/*
50 %attr(755,root,root) %{_bindir}/*