From a5b25f4033ffe64a666e23891f0fad772adcaabd Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:48:14 +0100 Subject: [PATCH] update to 1.10.7 [release 1.10.7-1mamba;Mon Nov 29 2021] --- README.md | 2 +- unar.spec | 31 +++++++++++++++++++------------ 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 5b94d9f..dadc421 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # unar -An Objective-C application for uncompressing archive files. +The command-line utilities lsar and unar are capable of listing and extracting files respectively in several formats including RARv5, RAR support includes encryption and multiple volumes, unar can serve as a free and open source replacement of unrar. diff --git a/unar.spec b/unar.spec index b88d0f6..2eea81a 100644 --- a/unar.spec +++ b/unar.spec @@ -1,47 +1,51 @@ +%global detectorver 1.1 Name: unar -Version: 1.10.1 +Version: 1.10.7 Release: 1mamba -Summary: An Objective-C application for uncompressing archive files +Summary: Multi-format extractor Group: Applications/Archiving Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://github.com/incbee/Unarchiver -Source: https://github.com/incbee/Unarchiver.git/unar-%{version}/Unarchiver-%{version}.tar.bz2 +URL: https://theunarchiver.com/command-line +Source: https://github.com/MacPaw/XADMaster/archive/v%{version}/unar-%{version}.tar.gz +Source1: https://github.com/MacPaw/universal-detector/archive/%{detectorver}/universal-detector-%{detectorver}.tar.gz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: ldconfig BuildRequires: libbzip2-devel BuildRequires: libgcc BuildRequires: libgnustep-base-devel BuildRequires: libicu-devel BuildRequires: libobjc-devel BuildRequires: libstdc++6-devel +BuildRequires: libwavpack-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END -BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildRequires: libgnustep-base-devel >= 1.28.0 %description -An Objective-C application for uncompressing archive files. +The command-line utilities lsar and unar are capable of listing and extracting files respectively in several formats including RARv5, RAR support includes encryption and multiple volumes, unar can serve as a free and open source replacement of unrar. %debug_package %prep -%setup -q -n Unarchiver-%{version} -mv The\ Unarchiver/* . +%setup -q -c -a1 +mv universal-detector-%{detectorver} UniversalDetector + # recursively remove executable bit from every file, skipping directories find . -type f -print0 | xargs -0 chmod -x %build %define _lto_cflags %{nil} export OBJCFLAGS="%{optflags}" -make -C XADMaster -f Makefile.linux +make -C XADMaster-%{version} -f Makefile.linux %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +cd 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 @@ -59,8 +63,11 @@ install -pm644 Extra/unar.bash_completion %{buildroot}%{_datadir}/bash-completio %{_datadir}/bash-completion/completions/unar %{_mandir}/man1/lsar.1* %{_mandir}/man1/unar.1* -%doc License.txt +%doc XADMaster-%{version}/libxad/lgpl.txt %changelog +* Mon Nov 29 2021 Silvan Calarco 1.10.7-1mamba +- update to 1.10.7 + * Thu Dec 31 2020 Silvan Calarco 1.10.1-1mamba - package created using the webbuild interface