]> git.pld-linux.org Git - packages/arj.git/blob - arj.spec
- updated to 3.10.21
[packages/arj.git] / arj.spec
1 Summary:        ARJ archiver for Linux
2 Summary(pl):    Archiwizator ARJ dla Linuksa
3 Name:           arj
4 Version:        3.10.21
5 Release:        1
6 Epoch:          1
7 License:        GPL
8 Group:          Applications/Archiving
9 Source0:        http://testcase.newmail.ru/files/%{name}-%{version}.tar.gz
10 # Source0-md5:  887d400ca6048516d4d447e1649af396
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         no_install_post_strip 1
16
17 %description
18 This product is an implementation of ARJ v 2.7x for DOS on UNIX and
19 UNIX-like systems. It is assumed that the user is familiar with ARJ
20 operation on DOS before using this package.
21
22 %description -l pl
23 Jest to implementacja programu ARJ v 2.7x dla DOS na platformê UNIX i
24 systemy uniksopodobne. Zak³ada siê, ¿e u¿ytkownik korzystaj±cy z tego
25 pakietu zna sposób funkcjonowania programu ARJ pod DOS-em.
26
27 %prep
28 %setup -q
29
30 %build
31 cd gnu
32 %{__autoconf}
33 install %{_datadir}/automake/config.* .
34
35 %configure
36 cd ..
37 %{__make} \
38         CC="%{__cc}" \
39         CFLAGS_DBG="%{rpmcflags}"
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}}
44
45 cd linux-gnu/en/rs
46 install \
47         arj/arj \
48         arjdisp/arjdisp \
49         rearj/rearj \
50         $RPM_BUILD_ROOT%{_bindir}
51 install register/arj-register $RPM_BUILD_ROOT%{_bindir}/arj-register
52
53 install arjcrypt/arjcrypt.so $RPM_BUILD_ROOT%{_libdir}
54
55 %{!?debug:strip -R .comment -R .note $RPM_BUILD_ROOT%{_bindir}/{arjdisp,rearj,arj-register}}
56 %{!?debug:strip --strip-unneeded -R .comment -R .note $RPM_BUILD_ROOT%{_libdir}/*.so}
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc ChangeLog doc/rev_hist.txt resource/en/arjl.txt resource/en/readme.txt resource/en/unix.txt
64 %attr(755,root,root) %{_bindir}/*
65 %attr(755,root,root) %{_libdir}/*.so
This page took 0.064773 seconds and 3 git commands to generate.