Summary(ru.UTF-8): Распаковщик файлов .zip
Summary(uk.UTF-8): Розпаковувач файлів .zip
Name: unrar
-Version: 3.7.5
-Release: 1.1
+Version: 5.8.2
+Release: 1
License: Freeware
Group: Applications/Archiving
-#Source0Download: http://www.rarlab.com/rar_add.htm
-Source0: http://www.rarlab.com/rar/%{name}src-%{version}.tar.gz
-# Source0-md5: 10b142866c656e40273434aae6747f96
+#Source0Download: https://www.rarlab.com/rar_add.htm
+Source0: https://www.rarlab.com/rar/%{name}src-%{version}.tar.gz
+# Source0-md5: ea4fb97d01088c4790ec549b2624f760
Source1: %{name}.1
Source2: %{name}.1.pl
-URL: http://www.rarlab.com/
+URL: https://www.rarlab.com/
BuildRequires: libstdc++-devel
BuildRequires: rpmbuild(macros) >= 1.167
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%build
install -d done
-%{__make} -f makefile.unix clean
-%{__make} -f makefile.unix \
+%{__make} -f makefile clean
+%{__make} -f makefile \
CC="%{__cc}" \
CXX="%{__cxx}" \
- CXXFLAGS="%{rpmcxxflags}" \
+ CXXFLAGS="%{rpmcppflags} %{rpmcxxflags}" \
STRIP=":"
-%{__make} -f makefile.unix clean
-%{__make} -f makefile.unix lib \
+%{__make} -f makefile clean
+%{__make} -f makefile lib \
CC="%{__cc}" \
CXX="%{__cxx}" \
- CXXFLAGS="%{rpmcxxflags} -fPIC" \
- LDFLAGS="%{rpmldflags} -Wl,-soname -Wl,libunrar.so.%{version}" \
+ CXXFLAGS="%{rpmcppflags} %{rpmcxxflags} -fPIC" \
+ LDFLAGS="%{rpmldflags} -pthread -Wl,-soname -Wl,libunrar.so.%{version}" \
STRIP=":"
%install