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 Patch2: %{name}-format-security.patch
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 # main executable cannot be stripped (doesn't work then)
19 %define no_install_post_strip 1
20 %define specflags -fno-unit-at-a-time
23 This product is an implementation of ARJ v 2.7x for DOS on UNIX and
24 UNIX-like systems. It is assumed that the user is familiar with ARJ
25 operation on DOS before using this package.
27 %description -l pl.UTF-8
28 Jest to implementacja programu ARJ v 2.7x dla DOS na platformę UNIX i
29 systemy uniksopodobne. Zakłada się, że użytkownik korzystający z tego
30 pakietu zna sposób funkcjonowania programu ARJ pod DOS-em.
41 install /usr/share/automake/config.* .
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}}
57 $RPM_BUILD_ROOT%{_bindir}
58 install register/arj-register $RPM_BUILD_ROOT%{_bindir}/arj-register
60 install arjcrypt/arjcrypt.so $RPM_BUILD_ROOT%{_libdir}
62 %{!?debug:strip -R .comment -R .note $RPM_BUILD_ROOT%{_bindir}/{arjdisp,rearj,arj-register}}
63 %{!?debug:strip --strip-unneeded -R .comment -R .note $RPM_BUILD_ROOT%{_libdir}/*.so}
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
70 %doc ChangeLog doc/rev_hist.txt resource/en/arjl.txt resource/en/readme.txt resource/en/unix.txt
71 %attr(755,root,root) %{_bindir}/*
72 %attr(755,root,root) %{_libdir}/*.so