Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37518609
en ru br
Репозитории ALT
S:6.1.7-alt1
5.1: 3.9.6-alt1
4.1: 3.7.8-alt1
4.0: 3.7.6-alt2
3.0: 3.4.3-alt1.1
www.altlinux.org/Changes

Группа :: Архивирование/Сжатие
Пакет: unrar

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin