Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
unar.15597
unar.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File unar.spec of Package unar.15597
# # spec file for package unar # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: unar Version: 1.10.1 Release: 0 Summary: Multi-format unarchiver License: LGPL-2.1+ Group: Productivity/Archiving/Compression Url: http://unarchiver.c3.cx/commandline Source0: http://unarchiver.c3.cx/downloads/%{name}%{version}_src.zip Source1: %{name}.changes # PATCH-FIX-OPENSUSE use-system-wavpack.patch Patch0: use-system-wavpack.patch # PATCH-FIX-UPSTREAM document-undocumented-options.patch (lp#1393321) Patch1: document-undocumented-options.patch Patch2: unar-1.10.1-self-extracting_rar.patch Patch3: unar-1.10.1-extract_huge_rar.patch BuildRequires: gcc-c++ BuildRequires: gcc-objc BuildRequires: gnustep-base-devel BuildRequires: gnustep-make BuildRequires: libbz2-devel BuildRequires: libicu-devel BuildRequires: unzip BuildRequires: wavpack-devel BuildRequires: zlib-devel %description The Unarchiver is originally a Mac OS X application. This package contains a command-line variant of it. Unarchiver handles ZIP, ZIPX, RAR, 7z, tar, gzip, bzip2, lzma, xz, CAB, MSI, NSIS, some self-extracting EXEs, cpio, and further obscure and old formats, as well as disc images in ISO, BIN, MDF, NRG, CDI. It supports filenames in foreign character sets. %prep %setup -q -c mv The\ Unarchiver/* . rm -fr __MACOSX The\ Unarchiver # fix builddate info # Remove build time references so build-compare can do its work FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{SOURCE1} '+%%H:%%M') FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{SOURCE1} '+%%b %%e %%Y') sed -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" -i XADMaster/lsar.m XADMaster/unar.m sed -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -i XADMaster/lsar.m XADMaster/unar.m %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %build export CFLAGS="%{optflags} -fno-strict-aliasing" export CXXFLAGS="%{optflags}" export OBJCFLAGS="$(gnustep-config --objc-flags)" make %{?_smp_mflags} -C XADMaster -f Makefile.linux %install install -d %{buildroot}%{_bindir} install -m755 XADMaster/lsar XADMaster/unar -t %{buildroot}%{_bindir} install -d %{buildroot}%{_mandir}/man1 install -m644 Extra/lsar.1 Extra/unar.1 -t %{buildroot}%{_mandir}/man1 install -d %{buildroot}%{_sysconfdir}/bash_completion.d install -m644 Extra/lsar.bash_completion %{buildroot}%{_sysconfdir}/bash_completion.d/lsar install -m644 Extra/unar.bash_completion %{buildroot}%{_sysconfdir}/bash_completion.d/unar %files %doc License.txt README.md %{_bindir}/lsar %{_bindir}/unar %{_mandir}/man1/lsar.1%{ext_man} %{_mandir}/man1/unar.1%{ext_man} %{_sysconfdir}/bash_completion.d/lsar %{_sysconfdir}/bash_completion.d/unar %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor