]> git.pld-linux.org Git - packages/unrar.git/blobdiff - unrar.spec
- updated to 5.8.2
[packages/unrar.git] / unrar.spec
index 40c5be1ff5707c462c1705de12ee41898eb54d7c..d7e85f8a0451e2d4ec5ac45dd558cebef7934f8b 100644 (file)
@@ -4,16 +4,16 @@ Summary(pt_BR.UTF-8): Descompressor de arquivos no formato .rar
 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)
@@ -75,18 +75,18 @@ Pliki programistyczne biblioteki libunrar.
 
 %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
This page took 0.293988 seconds and 4 git commands to generate.