package created using the webbuild interface [release 1.10.1-1mamba;Thu Dec 31 2020]
This commit is contained in:
parent
74d10771ba
commit
d19bf43947
@ -1,2 +1,4 @@
|
|||||||
# unar
|
# unar
|
||||||
|
|
||||||
|
An Objective-C application for uncompressing archive files.
|
||||||
|
|
||||||
|
66
unar.spec
Normal file
66
unar.spec
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
Name: unar
|
||||||
|
Version: 1.10.1
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: An Objective-C application for uncompressing archive files
|
||||||
|
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
|
||||||
|
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: libz-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
An Objective-C application for uncompressing archive files.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Unarchiver-%{version}
|
||||||
|
mv The\ Unarchiver/* .
|
||||||
|
# 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
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
install -d %{buildroot}%{_bindir}
|
||||||
|
install -pm755 XADMaster/unar XADMaster/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
|
||||||
|
|
||||||
|
%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*
|
||||||
|
%doc License.txt
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Dec 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.1-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user