Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37568427
en ru br
ALT Linux repos
S:0.1.5-alt1

Group :: Development/Python3
RPM: python3-module-unrardll

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define modulename unrardll
Name: python3-module-unrardll
Version: 0.1.5
Release: alt1

Summary: Python wrapper for the UnRAR DLL

Url: https://github.com/kovidgoyal/unrardll
License: BSD 3-Clause New or Revised License
Group: Development/Python3


Packager: Vitaly Lipatov <lav at altlinux.ru>

# Source-url: https://github.com/kovidgoyal/unrardll/archive/v%version.tar.gz

Source: %modulename-%version.tar

BuildRequires(pre): rpm-build-python3
BuildRequires: libunrar libunrar-devel
BuildRequires: rpm-build-intro gcc-c++

%description
Python wrapper for the UNRAR DLL.

%prep
%setup -n %modulename-%version
sed -i "s|unrar/dll.hpp|libunrar/dll.hpp|" src/unrardll/wrapper.cpp

%build
%python3_build

%install
%python3_install

%check
# will failed with LANG=C
export LANG=en_US.UTF8
%python3_check test

%files
%doc README.rst
%python3_sitelibdir/*

%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