rpms/arj/devel arj.spec, NONE, 1.1 unarj.1, NONE, 1.1 unarj.sh, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Sun Sep 10 05:11:27 UTC 2006


Author: jwrdegoede

Update of /cvs/extras/rpms/arj/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5301/devel

Modified Files:
	.cvsignore sources 
Added Files:
	arj.spec unarj.1 unarj.sh 
Log Message:
auto-import arj-3.10.22-1 on branch devel from arj-3.10.22-1.src.rpm


--- NEW FILE arj.spec ---
Name:           arj
Version:        3.10.22
Release:        1%{?dist}
Summary:        Archiver for .arj files
Group:          Applications/Archiving
License:        GPL
URL:            http://arj.sourceforge.net/
Source0:        http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
# unarj.* from Debian.
Source1:        unarj.sh
Source2:        unarj.1
Patch0:         http://ftp.debian.org/debian/pool/main/a/%{name}/%{name}_%{version}-2.diff.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  autoconf
Provides:       unarj = %{version}-%{release}
Obsoletes:      unarj < 3

%description
This package is an open source version of the arj archiver.  This
version has been created with the intent to preserve maximum
compatibility and retain the feature set of original ARJ archiver as
provided by ARJ Software, Inc.


%prep
%setup -q
%patch -p1
for i in debian/patches/00*.patch; do
  patch -p1 < $i
done
pushd gnu
  autoconf
popd


%build
pushd gnu
  %configure
popd
# no %{?_smp_mflags}, arj is not parallel build clean, no stripping please
make ADD_LDFLAGS=""


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# rm the register remainders of arj's sharewares time
rm $RPM_BUILD_ROOT%{_bindir}/arj-register
rm $RPM_BUILD_ROOT%{_mandir}/man1/arj-register.1*
install -Dpm 644 resource/rearj.cfg.example \
  $RPM_BUILD_ROOT%{_sysconfdir}/rearj.cfg
install -pm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/unarj
install -pm 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1/unarj.1


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc ChangeLog* doc/COPYING doc/rev_hist.txt
%config(noreplace) %{_sysconfdir}/rearj.cfg
%{_bindir}/*arj*
%{_libdir}/arj/
%{_mandir}/man1/*arj*1.*


%changelog
* Sat Sep  9 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 3.10.22-1
- initial FE submission based on a src.rpm by Ville Skyttä


--- NEW FILE unarj.1 ---
.\"                                      Hey, EMACS: -*- nroff -*-
.TH UNARJ 1 2004-03-12 "3.10" "Arj Software"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
unarj \- Unarchive ARJ files
.SH SYNOPSIS
.B unarj
.RI [ options ] " files" ...
.SH DESCRIPTION
The
.B unarj
command is a simple wrapper to ease transition from the non-free unarj.
.SH OPTIONS
This program has the same command line options as
.BR arj (1).
It also supports to be called without any options as a synonim for
.BR l .
For the full command line list please see
.BR arj (1)
man page.
.SH SEE ALSO
.BR arj (1),
.BR rearj (1).
.SH AUTHOR
This manual page was written by Guillem Jover <guillem at debian.org>.


--- NEW FILE unarj.sh ---
#!/bin/sh

set -e

if [ $# -eq 1 ]; then
  arj l "$@"
else
  arj "$@"
fi



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/arj/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	10 Sep 2006 05:10:29 -0000	1.1
+++ .cvsignore	10 Sep 2006 05:11:27 -0000	1.2
@@ -0,0 +1,2 @@
+arj-3.10.22.tar.gz
+arj_3.10.22-2.diff.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/arj/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	10 Sep 2006 05:10:29 -0000	1.1
+++ sources	10 Sep 2006 05:11:27 -0000	1.2
@@ -0,0 +1,2 @@
+f263bf3cf6d42a8b7e85b4fb514336d3  arj-3.10.22.tar.gz
+48d2275b8a8e6e5adaead8916d008fd3  arj_3.10.22-2.diff.gz




More information about the fedora-extras-commits mailing list