]> git.pld-linux.org Git - packages/unrar.git/blob - unrar.spec
7a4fd32d7edb06d8b7956e0a927d2388f47f7a78
[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:        2.50.1
5 Release:        1
6 Copyright:      Freeware
7 Group:          Utilities/Archiving
8 Group(pl):      Narzêdzia/Archiwizacja
9 Source0:        ftp://sunsite.unc.edu/pub/Linux/utils/compress/%{name}-%{version}.tar.gz
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 The unRAR utility is a freeware program, distributed with source code
14 and developed for extracting, testing and viewing the contents of
15 archives created with the RAR archiver version 1.50 and above.
16
17 %description -l pl
18 UnRAR jest programem freeware, rozpowszechnianym wraz z kodem
19 ¼ród³owym, przeznaczonym do rozpakowywania, testowania oraz
20 przegl±dania zawarto¶ci archiwów stworzonych przez program RAR w
21 wersji 1.50 i wy¿szej.
22
23 %prep
24 %setup -q
25
26 %build
27 sed 's/^CFLAGS[ ]*=/override CFLAGS +=/' < Makefile > Makefile.new
28 mv -f Makefile.new Makefile
29 %{__make} clean
30 %{__make} CFLAGS=$RPM_OPT_FLAGS 
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_bindir}
35
36 install -s unrar $RPM_BUILD_ROOT%{_bindir}
37 gzip -9nf *.txt *.lsm
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %attr(755,root,root) %{_bindir}/*
45 %doc *.txt.gz *.lsm.gz
This page took 0.458879 seconds and 3 git commands to generate.