update to 1.10.7 [release 1.10.7-1mamba;Mon Nov 29 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 18:48:14 +01:00
parent d19bf43947
commit a5b25f4033
2 changed files with 20 additions and 13 deletions

View File

@ -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.

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.10.7-1mamba
- update to 1.10.7
* Thu Dec 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.1-1mamba
- package created using the webbuild interface