Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37537067
en ru br
ALT Linux repos
S:6.1.7-alt1
5.0: 3.8.5-alt1
4.1: 3.7.8-alt1
4.0: 3.7.6-alt2
3.0: 3.4.3-alt1.1

Group :: Archiving/Compression
RPM: unrar

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: unrar
Version: 6.1.7
Release: alt1

Summary: RAR unarchiver
License: Freely distributable
Group: Archiving/Compression

Url: http://www.rarlab.com
Source: %{name}src-%version.tar.gz

# Automatically added by buildreq on Mon Feb 07 2011

BuildRequires: gcc-c++

%description
The unrar utility is a freeware program, distributed with source code and
developed for extracting, testing and viewing the contents of archives created
with the RAR archiver, version 1.50 and above.

%package -n libunrar
Summary: Shared library for extracting, testing and viewing the contents of RAR archives
Group: System/Libraries

%description -n libunrar
Shared library for extracting, testing and viewing the contents of RAR archives

%package -n libunrar-devel
Summary: Include file containing unrar API
Group: Development/C++

%description -n libunrar-devel
%summary

%prep
%setup -n unrar
sed -ri 's/^(lib:[[space:]]+)clean[[:space:]]+/\1/' makefile
sed -i '1i#define _UNIX' dll.hpp

%build
%make_build lib STRIP=touch
mv libunrar.so ..
%make_build clean
%make_build unrar STRIP=touch
#make_build lib LDFLAGS+='-Wl,-soname=libunrar.so.0' STRIP=touch

%install
install -pD -m755 unrar %buildroot%_bindir/unrar
install -D ../libunrar.so %buildroot%_libdir/libunrar.so
install -D dll.hpp %buildroot%_includedir/libunrar/dll.hpp

%files
%_bindir/*
%doc *.txt

%files -n libunrar
%doc *.txt
%_libdir/libunrar.so

%files -n libunrar-devel
%dir %_includedir/libunrar
%_includedir/libunrar/dll.hpp

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin