]> git.pld-linux.org Git - packages/arj.git/commitdiff
- open source arj RA-1_0 arj-3_10b-1
authorwolf <wolf@pld-linux.org>
Sat, 10 Aug 2002 16:30:06 +0000 (16:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    arj.spec -> 1.4

arj.spec

index 672f420c20184ed15e01fe03a3220d64b4cba4be..41d3be25d1cc4afab9de81c8fbba8892103971f9 100644 (file)
--- a/arj.spec
+++ b/arj.spec
@@ -1,20 +1,14 @@
-%define distfile ARJL_310
 Summary:       ARJ archiver for Linux
 Summary(pl):   Archiwizator ARJ dla Linuksa
 Name:          arj
-Version:       3.10
+Version:       3.10b
 Release:       1
-License:       Shareware, distributable
-Vendor:                ARJ Software Russia
+License:       GPL
 Group:         Applications/Archiving
-# The original URL is outdated:        ftp://ftp.black.ru/fileecho/AUTLCOMP/%{distfile}
-Source0:       %distfile
-ExclusiveOS:   Linux
-ExclusiveArch: %{ix86}
+Source0:       http://testcase.newmail.ru/files/%{name}-%{version}.tar.gz
+BuildRequires: autoconf
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define no_install_post_strip 1
-
 %description
 This product is an implementation of ARJ v 2.7x for DOS on UNIX and
 UNIX-like systems. It is assumed that the user is familiar with ARJ
@@ -26,29 +20,35 @@ systemy uniksopodobne. Zak
 pakietu zna sposób funkcjonowania programu ARJ pod DOS-em.
 
 %prep
-%setup -q -T -c
-install %{SOURCE0} .
-chmod 755 %{distfile}
-./%{distfile} << EOF
-y
-n
-
-y
-y
-EOF
-bin/arj | head -4 > doc/arj/LICENSE
+%setup -q
+
+%build
+cd gnu
+%{__autoconf}
+%configure
+cd ..
+%{__make} -f makefile.gnu prepare
+%{__make} -f makefile.gnu
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}}
+
+cd linux-gnu/en/rs
+install \
+       arj/arj \
+       arjdisp/arjdisp \
+       rearj/rearj \
+       $RPM_BUILD_ROOT%{_bindir}
+install register/register $RPM_BUILD_ROOT%{_bindir}/register-arj
 
-mv -f bin/register bin/register-arj
-install bin/* $RPM_BUILD_ROOT%{_bindir}
+install arjcrypt/arjcrypt.so $RPM_BUILD_ROOT%{_libdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc doc/arj/*
+%doc ChangeLog doc/rev_hist.txt resource/en/arjl.txt resource/en/readme.txt resource/en/unix.txt
 %attr(0755, root, root) %{_bindir}/*
+%{_libdir}/*
This page took 0.099398 seconds and 4 git commands to generate.