1 | %define _version 0.0.1-20140707 |
---|
2 | |
---|
3 | Name: unrar-free |
---|
4 | Version: 0.0.1.20140707 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Summary: Utility for extracting RAR archives (free version) |
---|
7 | Summary(ja): RARアーカイブを解凍するためのユーティリティ (free version) |
---|
8 | Group: Applications/Archiving |
---|
9 | |
---|
10 | Vendor: Project Vine |
---|
11 | Distribution: Vine Linux |
---|
12 | |
---|
13 | License: GPLv2 |
---|
14 | URL: http://home.gna.org/unrar/ |
---|
15 | Source0: unrar-%{_version}.tar.gz |
---|
16 | |
---|
17 | Patch0: 0001-CVE-2017-14120.patch |
---|
18 | Patch1: 0002-CVE-2017-14122.patch |
---|
19 | Patch2: 0003-CVE-2017-14121.patch |
---|
20 | Patch3: 0004-unrar-nonfree-compat-ignored-options.patch |
---|
21 | |
---|
22 | # Vine |
---|
23 | Patch1000: 0001-fixed-warnings.patch |
---|
24 | |
---|
25 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
26 | Conflicts: unrar |
---|
27 | |
---|
28 | #BuildRequires: |
---|
29 | |
---|
30 | %description |
---|
31 | The unrar-free is utility for extracting RAR archives. |
---|
32 | But can't handle some archives in the RAR 3.0 format, |
---|
33 | only the non-free "unrar" package can do that. |
---|
34 | |
---|
35 | %description -l ja |
---|
36 | unrar-free はRAR archivesを展開するためのユーティリティです。 |
---|
37 | しかしながら、 このパッケージではRAR 3.0 フォーマットのアーカイブの |
---|
38 | 一部を処理できません。non-free な "unrar" パッケージだけが |
---|
39 | それらのアーカイブを処理できます。 |
---|
40 | |
---|
41 | %prep |
---|
42 | %autosetup -p1 -n unrar-0.0.1 |
---|
43 | |
---|
44 | %build |
---|
45 | autoreconf -ivf |
---|
46 | %configure |
---|
47 | make %{?_smp_mflags} |
---|
48 | |
---|
49 | |
---|
50 | %install |
---|
51 | rm -rf $RPM_BUILD_ROOT |
---|
52 | %makeinstall |
---|
53 | |
---|
54 | |
---|
55 | %clean |
---|
56 | rm -rf $RPM_BUILD_ROOT |
---|
57 | |
---|
58 | |
---|
59 | %files |
---|
60 | %defattr(-,root,root,-) |
---|
61 | %license COPYING |
---|
62 | %doc AUTHORS ChangeLog README |
---|
63 | %{_bindir}/unrar |
---|
64 | |
---|
65 | |
---|
66 | %changelog |
---|
67 | * Fri Nov 15 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.0.1-20140707-1 |
---|
68 | - updated to 20140707. |
---|
69 | - imported Patch0-4 from debian. |
---|
70 | - added Patch1000 to fix warnings. |
---|
71 | |
---|
72 | * Sun Jan 12 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.0.1.20071127-3 |
---|
73 | - rebuilt with current toolchain |
---|
74 | |
---|
75 | * Thu Jan 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.0.1.20071127-2 |
---|
76 | - rebuilt with new toolchain |
---|
77 | |
---|
78 | * Fri May 15 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.0.1.20071127-1 |
---|
79 | - initial build for VineSeed |
---|