2024-01-05 18:48:14 +01:00
|
|
|
%global detectorver 1.1
|
2024-01-05 18:48:13 +01:00
|
|
|
Name: unar
|
2024-01-05 18:48:14 +01:00
|
|
|
Version: 1.10.8
|
|
|
|
Release: 1mamba
|
2024-01-05 18:48:14 +01:00
|
|
|
Summary: Multi-format extractor
|
2024-01-05 18:48:13 +01:00
|
|
|
Group: Applications/Archiving
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 18:48:14 +01:00
|
|
|
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
|
2024-01-05 18:48:13 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libgnustep-base-devel
|
|
|
|
BuildRequires: libicu-devel
|
|
|
|
BuildRequires: libobjc-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 18:48:14 +01:00
|
|
|
BuildRequires: libwavpack-devel
|
2024-01-05 18:48:13 +01:00
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 18:48:14 +01:00
|
|
|
BuildRequires: libgnustep-base-devel >= 0:1.29.0-1mamba
|
2024-01-05 18:48:13 +01:00
|
|
|
|
|
|
|
%description
|
2024-01-05 18:48:14 +01:00
|
|
|
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.
|
2024-01-05 18:48:13 +01:00
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 18:48:14 +01:00
|
|
|
%setup -q -c -a1
|
|
|
|
mv universal-detector-%{detectorver} UniversalDetector
|
|
|
|
|
2024-01-05 18:48:13 +01:00
|
|
|
# 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}"
|
2024-01-05 18:48:14 +01:00
|
|
|
make -C XADMaster-%{version} -f Makefile.linux
|
2024-01-05 18:48:13 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 18:48:14 +01:00
|
|
|
cd XADMaster-%{version}
|
2024-01-05 18:48:13 +01:00
|
|
|
install -d %{buildroot}%{_bindir}
|
2024-01-05 18:48:14 +01:00
|
|
|
install -pm755 unar lsar %{buildroot}%{_bindir}
|
2024-01-05 18:48:13 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/lsar
|
|
|
|
%{_bindir}/unar
|
|
|
|
%{_datadir}/bash-completion/completions/lsar
|
|
|
|
%{_datadir}/bash-completion/completions/unar
|
|
|
|
%{_mandir}/man1/lsar.1*
|
|
|
|
%{_mandir}/man1/unar.1*
|
2024-01-05 18:48:14 +01:00
|
|
|
%doc XADMaster-%{version}/libxad/lgpl.txt
|
2024-01-05 18:48:13 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 18:48:14 +01:00
|
|
|
* Sat Oct 14 2023 Automatic Build System <autodist@mambasoft.it> 1.10.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:48:14 +01:00
|
|
|
* Sat Jan 14 2023 Sdk Build System <sdk@mambasoft.it> 1.10.7-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libgnustep-base-devel>=0:1.29.0-1mamba
|
|
|
|
|
2024-01-05 18:48:14 +01:00
|
|
|
* Mon Nov 29 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.7-1mamba
|
|
|
|
- update to 1.10.7
|
|
|
|
|
2024-01-05 18:48:13 +01:00
|
|
|
* Thu Dec 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.1-1mamba
|
|
|
|
- package created using the webbuild interface
|