File pkg2zip.spec of Package pkg2zip

54
 
1
#
2
# spec file for package pkg2zip
3
#
4
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
5
#
6
# All modifications and additions to the file contributed by third parties
7
# remain the property of their copyright owners, unless otherwise agreed
8
# upon. The license for this file, and modifications and additions to the
9
# file, is the same license as for the pristine package itself (unless the
10
# license for the pristine package is not an Open Source License, in which
11
# case the license is the MIT License). An "Open Source License" is a
12
# license that conforms to the Open Source Definition (Version 1.9)
13
# published by the Open Source Initiative.
14
15
# Please submit bugfixes or comments via http://bugs.opensuse.org/
16
#
17
18
19
Name:           pkg2zip
20
Version:        1.8
21
Release:        0
22
Summary:        Decrypts PlayStation Vita pkg file and packages to zip archive
23
License:        SUSE-Public-Domain
24
Group:          Hardware/Mobile
25
URL:            https://github.com/lusid1/pkg2zip
26
Source0:        %{name}-%{version}.tar.gz
27
Source1:        %{name}.1
28
29
%description
30
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.
31
32
Optionally writes NoNpDrm or NoPsmDrm fake license file from zRIF string. You must provide license key.
33
34
%prep
35
%setup -q
36
37
%build
38
make %{?_smp_mflags}
39
40
%install
41
install -D -m0755 %{name} %{buildroot}%{_bindir}/%{name}
42
install -D -m0755 zrif2rif.py %{buildroot}%{_bindir}/zrif2rif
43
install -D -m0755 rif2zrif.py %{buildroot}%{_bindir}/rif2zrif
44
install -D -m0644 %{S:1} %{buildroot}%{_mandir}/man7/%{name}.1
45
46
%files
47
%doc LICENSE README.md
48
%{_bindir}/%{name}
49
%{_bindir}/zrif2rif
50
%{_bindir}/rif2zrif
51
%{_mandir}/man7/pkg2zip.1.gz
52
53
%changelog
54