File pkg2zip.spec of Package pkg2zip

# spec file for package pkg2zip
# Copyright (c) 2017 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

Name:           pkg2zip
Version:        1.8
Release:        0
Summary:        Decrypts PlayStation Vita pkg file and packages to zip archive
License:        SUSE-Public-Domain
Group:          Hardware/Mobile
Source0:        %{name}-%{version}.tar.gz
Source1:        %{name}.1

Utility that decrypts PlayStation Vita pkg file and creates zip package. Supported pkg files - main application, DLC, patch and PSM files. Supports also PSX files for use with Adrenaline.

Optionally writes NoNpDrm or NoPsmDrm fake license file from zRIF string. You must provide license key.

%setup -q

make %{?_smp_mflags}

install -D -m0755 %{name} %{buildroot}%{_bindir}/%{name}
install -D -m0755 %{buildroot}%{_bindir}/zrif2rif
install -D -m0755 %{buildroot}%{_bindir}/rif2zrif
install -D -m0644 %{S:1} %{buildroot}%{_mandir}/man7/%{name}.1