]> git.pld-linux.org Git - packages/unrar.git/blob - unrar.spec
- updated to 3.00
[packages/unrar.git] / unrar.spec
1 Summary:        unRAR - extract, test and view RAR archives
2 Summary(pl):    unRAR - rozpakowuje, testuje i przegl±da archiwa RAR
3 Name:           unrar
4 Version:        3.00
5 Release:        1
6 License:        Freeware
7 Group:          Applications/Archiving
8 Source0:        http://www.rarlab.com/rar/%{name}src.tar.gz
9 Source1:        %{name}.1
10 Source2:        %{name}.1.pl
11 Patch0:         %{name}-makefile.patch
12 BuildRequires:  gcc-c++
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
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.
19
20 %description -l pl
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.
25
26 %prep
27 %setup -q -c
28 %patch0 -p1
29
30 %build
31 %{__make} -f makefile.gcc CC=%{__cc} CXX=%{__cxx} OPT="%{rpmcflags}"
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/{man1,pl/man1}}
36
37 install unrar $RPM_BUILD_ROOT%{_bindir}
38 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1
39 install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man1
40 gzip -9nf *.txt
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc *.txt.gz
48 %{_mandir}/man1/*
49 %lang(pl) %{_mandir}/pl/man1/*
50 %attr(755,root,root) %{_bindir}/*
This page took 0.060554 seconds and 4 git commands to generate.