Notification time stamped 2021-11-01 00:04:07 UTC
From aefdf16145c80781a6b9ba12981db784b51a06f2 Mon Sep 17 00:00:00 2001 From: Sérgio M. Basto sergio@serjux.com Date: Nov 01 2021 00:01:09 +0000 Subject: Update unar to 1.10.7 (#2012015)
---
diff --git a/.gitignore b/.gitignore index 0cbfd29..8f8eec3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ /unar1.8_src.zip /unar1.8.1_src.zip /unar1.10.1_src.zip +/unar-1.10.7.tar.gz +/universal-detector-1.1.tar.gz diff --git a/sources b/sources index 684a0f0..9de4abf 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -8fb16cf42ee2832d63ff378fd049e08c unar1.10.1_src.zip +SHA512 (unar-1.10.7.tar.gz) = 3447b6d8f3f4fa5eea93c6628a1633017da6ff09c580d5ce4fd422027b3b79acbf38d6e41a059806d1e60eb25a9d66889938b32599168dc2c0ca648e1c1976b1 +SHA512 (universal-detector-1.1.tar.gz) = e514670b3d37b2472ed3e9cb0fdc3298a8479772264b7573411f104be554222bec2e01f73e1f35db95620fe785bee2dcf9ddc9c2b1f4ff6b522fa64d14d020f5 diff --git a/unar.spec b/unar.spec index 40ffbc9..9c9cddd 100644 --- a/unar.spec +++ b/unar.spec @@ -1,17 +1,21 @@ +%global detectorver 1.1 + Name: unar -Version: 1.10.1 -Release: 24%{dist} +Version: 1.10.7 +Release: 1%{?dist} Summary: Multi-format extractor License: LGPLv2+ URL: https://theunarchiver.com/command-line -Source0: http://unarchiver.c3.cx/downloads/unar%%7Bversion%7D_src.zip -BuildRequires: bzip2-devel +Source0: https://github.com/MacPaw/XADMaster/archive/v%%7Bversion%7D/%%7Bname%7D-%%7B... +Source1: https://github.com/MacPaw/universal-detector/archive/%%7Bdetectorver%7D/univ... +BuildRequires: pkgconfig(bzip2) BuildRequires: gcc-objc BuildRequires: gcc-c++ BuildRequires: gnustep-base-devel -BuildRequires: libicu-devel -BuildRequires: make -BuildRequires: zlib-devel +BuildRequires: gnustep-make +BuildRequires: pkgconfig(icu-uc) +BuildRequires: pkgconfig(zlib) +BuildRequires: pkgconfig(wavpack)
%description The command-line utilities lsar and unar are capable of listing and extracting @@ -21,8 +25,8 @@ replacement of unrar.
%prep %setup -q -c -mv The\ Unarchiver/* . -rm -fr __MACOSX The\ Unarchiver +tar -xf %{SOURCE1} +mv universal-detector-%{detectorver} UniversalDetector # recursively remove executable bit from every file, skipping directories find . -type f -print0 | xargs -0 chmod -x
@@ -32,29 +36,35 @@ find . -type f -print0 | xargs -0 chmod -x # a catchable type must be used. Disable LTO until the package # gets fixed %define _lto_cflags %{nil} -export OBJCFLAGS="${RPM_OPT_FLAGS}" -make -C XADMaster -f Makefile.linux \ +export OBJCFLAGS="%{optflags}" +#export OBJCFLAGS=`gnustep-config --objc-flags` +make -C XADMaster-%{version} -f Makefile.linux \ %if 0%{?rhel} >= 8 OBJCC=gobjc %endif
%install +pushd XADMaster-%{version} install -d %{buildroot}%{_bindir} -install -pm755 XADMaster/unar XADMaster/lsar %{buildroot}%{_bindir} +install -pm755 unar lsar %{buildroot}%{_bindir} install -d %{buildroot}%{_mandir}/man1 install -pm644 Extra/*.1 %{buildroot}%{_mandir}/man1 install -d %{buildroot}%{_datadir}/bash-completion/completions install -pm644 Extra/lsar.bash_completion %{buildroot}%{_datadir}/bash-completion/completions/lsar install -pm644 Extra/unar.bash_completion %{buildroot}%{_datadir}/bash-completion/completions/unar +popd
%files -%license License.txt +%license XADMaster-%{version}/LICENSE %{_bindir}/lsar %{_bindir}/unar %{_mandir}/man1/*.1* %{_datadir}/bash-completion/
%changelog +* Sun Oct 31 2021 Sérgio Basto sergio@serjux.com - 1.10.7-1 +- Update unar to 1.10.7 (#2012015) + * Tue Sep 28 2021 Robert Scheck robert@fedoraproject.org - 1.10.1-24 - Build using gobjc on EPEL 8 (#2008326)
https://src.fedoraproject.org/rpms/unar/c/aefdf16145c80781a6b9ba12981db784b5...
scm-commits@lists.fedoraproject.org