]>
Commit | Line | Data |
---|---|---|
1 | Summary: Arc archiver | |
2 | Summary(pl.UTF-8): Archiwizer arc | |
3 | Name: arc | |
4 | Version: 5.21p | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: Applications/Archiving | |
8 | Source0: http://downloads.sourceforge.net/arc/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 902ce24b23422880d474df6f1d9eba5e | |
10 | Patch0: %{name}-time.patch | |
11 | URL: http://arc.sourceforge.net/ | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | arc file archiver and compressor. Long since superseded by zip/unzip | |
16 | but useful if you have old .arc files you need to unpack. | |
17 | ||
18 | %description -l pl.UTF-8 | |
19 | arc jest archiwizerem i kompresorem plików. Dawno zastąpiony przez | |
20 | parę zip/unzip, ale nadal przydatny jeżeli potrzebujesz rozpakować | |
21 | stare archiwa .arc. | |
22 | ||
23 | %prep | |
24 | %setup -q | |
25 | %patch0 -p1 | |
26 | ||
27 | %build | |
28 | %{__make} \ | |
29 | CC="%{__cc}" \ | |
30 | OPT="%{rpmcflags}" | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
35 | ||
36 | install arc marc $RPM_BUILD_ROOT%{_bindir} | |
37 | ||
38 | install arc.1 marc.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | %doc Arc521.doc Arcinfo Changelog LICENSE Readme | |
46 | %attr(755,root,root) %{_bindir}/arc | |
47 | %attr(755,root,root) %{_bindir}/marc | |
48 | %{_mandir}/man1/arc.1* | |
49 | %{_mandir}/man1/marc.1* |