Group :: Arquivamento/Compressão
RPM: unarj
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: unarj
Version: 2.65
Release: alt2
Summary: An uncompressor for .arj format archive files
Group: Archiving/Compression
License: distributable
Packager: Alexey Voinov <voins at altlinux.ru>
Source: ftp://ibiblio.org/pub/Linux/utils/compress/%name-%version.tar.bz2
Patch0: %name-%version-time.diff
Patch1: %name-%version-overflow.diff
Patch2: %name-%version-path.diff
Patch3: %name-%version-notice.diff
Patch4: %name-2.63c-iconv.patch
%description
The UNARJ program is used to uncompress .arj format archives.
The .arj format archive was mostly used on DOS machines.
%prep
%setup -q
%patch0
%patch1
%patch2
%patch3
%patch4
%define _optlevel 3
%build
make clean
%make_build clean %name CFLAGS="$RPM_OPT_FLAGS -DUNIX"
%install
install -p -m755 -D %name $RPM_BUILD_ROOT%_bindir/%name
%files
%_bindir/*
%doc {%name,technote}.txt
%changelog
…
Todas as alterações você pod ver aqui
Version: 2.65
Release: alt2
Summary: An uncompressor for .arj format archive files
Group: Archiving/Compression
License: distributable
Packager: Alexey Voinov <voins at altlinux.ru>
Source: ftp://ibiblio.org/pub/Linux/utils/compress/%name-%version.tar.bz2
Patch0: %name-%version-time.diff
Patch1: %name-%version-overflow.diff
Patch2: %name-%version-path.diff
Patch3: %name-%version-notice.diff
Patch4: %name-2.63c-iconv.patch
%description
The UNARJ program is used to uncompress .arj format archives.
The .arj format archive was mostly used on DOS machines.
%prep
%setup -q
%patch0
%patch1
%patch2
%patch3
%patch4
%define _optlevel 3
%build
make clean
%make_build clean %name CFLAGS="$RPM_OPT_FLAGS -DUNIX"
%install
install -p -m755 -D %name $RPM_BUILD_ROOT%_bindir/%name
%files
%_bindir/*
%doc {%name,technote}.txt
%changelog
…
Todas as alterações você pod ver aqui