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