1 Summary: ARJ archiver for Linux
2 Summary(pl.UTF-8): Archiwizator ARJ dla Linuksa
8 Group: Applications/Archiving
9 Source0: http://testcase.newmail.ru/files/%{name}-%{version}.tar.gz
10 # Source0-md5: f263bf3cf6d42a8b7e85b4fb514336d3
12 Patch1: %{name}-glibc.patch
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 # main executable cannot be stripped (doesn't work then)
18 %define no_install_post_strip 1
19 %define specflags -fno-unit-at-a-time
22 This product is an implementation of ARJ v 2.7x for DOS on UNIX and
23 UNIX-like systems. It is assumed that the user is familiar with ARJ
24 operation on DOS before using this package.
26 %description -l pl.UTF-8
27 Jest to implementacja programu ARJ v 2.7x dla DOS na platformę UNIX i
28 systemy uniksopodobne. Zakłada się, że użytkownik korzystający z tego
29 pakietu zna sposób funkcjonowania programu ARJ pod DOS-em.
39 install /usr/share/automake/config.* .
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}}
55 $RPM_BUILD_ROOT%{_bindir}
56 install register/arj-register $RPM_BUILD_ROOT%{_bindir}/arj-register
58 install arjcrypt/arjcrypt.so $RPM_BUILD_ROOT%{_libdir}
60 %{!?debug:strip -R .comment -R .note $RPM_BUILD_ROOT%{_bindir}/{arjdisp,rearj,arj-register}}
61 %{!?debug:strip --strip-unneeded -R .comment -R .note $RPM_BUILD_ROOT%{_libdir}/*.so}
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
68 %doc ChangeLog doc/rev_hist.txt resource/en/arjl.txt resource/en/readme.txt resource/en/unix.txt
69 %attr(755,root,root) %{_bindir}/*
70 %attr(755,root,root) %{_libdir}/*.so