update to 1.10.7 [release 1.10.7-1mamba;Mon Nov 29 2021]
This commit is contained in:
parent
d19bf43947
commit
a5b25f4033
@ -1,4 +1,4 @@
|
|||||||
# unar
|
# 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.
|
||||||
|
|
||||||
|
31
unar.spec
31
unar.spec
@ -1,47 +1,51 @@
|
|||||||
|
%global detectorver 1.1
|
||||||
Name: unar
|
Name: unar
|
||||||
Version: 1.10.1
|
Version: 1.10.7
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: An Objective-C application for uncompressing archive files
|
Summary: Multi-format extractor
|
||||||
Group: Applications/Archiving
|
Group: Applications/Archiving
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://github.com/incbee/Unarchiver
|
URL: https://theunarchiver.com/command-line
|
||||||
Source: https://github.com/incbee/Unarchiver.git/unar-%{version}/Unarchiver-%{version}.tar.bz2
|
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
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: ldconfig
|
|
||||||
BuildRequires: libbzip2-devel
|
BuildRequires: libbzip2-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libgnustep-base-devel
|
BuildRequires: libgnustep-base-devel
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
BuildRequires: libobjc-devel
|
BuildRequires: libobjc-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libwavpack-devel
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRequires: libgnustep-base-devel >= 1.28.0
|
||||||
|
|
||||||
%description
|
%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
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Unarchiver-%{version}
|
%setup -q -c -a1
|
||||||
mv The\ Unarchiver/* .
|
mv universal-detector-%{detectorver} UniversalDetector
|
||||||
|
|
||||||
# recursively remove executable bit from every file, skipping directories
|
# recursively remove executable bit from every file, skipping directories
|
||||||
find . -type f -print0 | xargs -0 chmod -x
|
find . -type f -print0 | xargs -0 chmod -x
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%define _lto_cflags %{nil}
|
%define _lto_cflags %{nil}
|
||||||
export OBJCFLAGS="%{optflags}"
|
export OBJCFLAGS="%{optflags}"
|
||||||
make -C XADMaster -f Makefile.linux
|
make -C XADMaster-%{version} -f Makefile.linux
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
cd XADMaster-%{version}
|
||||||
install -d %{buildroot}%{_bindir}
|
install -d %{buildroot}%{_bindir}
|
||||||
install -pm755 XADMaster/unar XADMaster/lsar %{buildroot}%{_bindir}
|
install -pm755 unar lsar %{buildroot}%{_bindir}
|
||||||
install -d %{buildroot}%{_mandir}/man1
|
install -d %{buildroot}%{_mandir}/man1
|
||||||
install -pm644 Extra/*.1 %{buildroot}%{_mandir}/man1
|
install -pm644 Extra/*.1 %{buildroot}%{_mandir}/man1
|
||||||
install -d %{buildroot}%{_datadir}/bash-completion/completions
|
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
|
%{_datadir}/bash-completion/completions/unar
|
||||||
%{_mandir}/man1/lsar.1*
|
%{_mandir}/man1/lsar.1*
|
||||||
%{_mandir}/man1/unar.1*
|
%{_mandir}/man1/unar.1*
|
||||||
%doc License.txt
|
%doc XADMaster-%{version}/libxad/lgpl.txt
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Dec 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.1-1mamba
|
||||||
- package created using the webbuild interface
|
- package created using the webbuild interface
|
||||||
|
Loading…
Reference in New Issue
Block a user