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