|
1 | | -Summary: File manager |
2 | | -Name: mc |
3 | | -Version: 4.8.21 |
4 | | -Release: 4%{?dist} |
5 | | -License: GPLv3+ |
6 | | -URL: http://www.midnight-commander.org |
7 | | -Group: Applications/System |
| 1 | +Summary: File manager |
| 2 | +Name: mc |
| 3 | +Version: 4.8.27 |
| 4 | +Release: 1%{?dist} |
| 5 | +License: GPLv3+ |
8 | 6 | Vendor: Microsoft Corporation |
9 | 7 | Distribution: Mariner |
10 | | -Source0: https://ftp.midnight-commander.org/%{name}-%{version}.tar.xz |
11 | | -Patch0: disable-extfs-test.patch |
12 | | -Requires: glib pcre slang |
13 | | -BuildRequires: glib-devel pcre-devel slang-devel |
| 8 | +Group: Applications/System |
| 9 | +URL: https://www.midnight-commander.org |
| 10 | +Source0: http://ftp.midnight-commander.org/%{name}-%{version}.tar.xz |
| 11 | +Patch0: disable-extfs-test.patch |
| 12 | +BuildRequires: glib-devel |
| 13 | +BuildRequires: pcre-devel |
| 14 | +BuildRequires: slang-devel |
| 15 | +Requires: glib |
| 16 | +Requires: pcre |
| 17 | +Requires: slang |
14 | 18 |
|
15 | 19 | %description |
16 | 20 | MC (Midnight Commander) is a text-mode full-screen file manager and visual shell |
17 | 21 |
|
18 | 22 | %prep |
19 | | -%setup -q |
20 | | -%patch0 -p1 |
| 23 | +%autosetup -p1 |
| 24 | + |
21 | 25 | %build |
22 | | -./configure \ |
23 | | - --prefix=%{_prefix} \ |
24 | | - --sysconfdir=/etc |
25 | | -make %{?_smp_mflags} |
| 26 | +%configure |
| 27 | +%make_build |
26 | 28 |
|
27 | 29 | %install |
28 | | -make DESTDIR=%{buildroot} install |
| 30 | +%make_install |
29 | 31 |
|
30 | 32 | %check |
31 | | -make %{?_smp_mflags} -k check |
| 33 | +%make_build -k check |
32 | 34 |
|
33 | 35 | %files |
34 | 36 | %defattr(-,root,root) |
35 | 37 | %license COPYING |
36 | | -/etc/* |
37 | | -/usr/bin/* |
38 | | -%exclude /usr/lib |
39 | | -/usr/libexec/* |
40 | | -/usr/share/* |
41 | | -%exclude /usr/src |
| 38 | +%{_sysconfdir}/* |
| 39 | +%{_bindir}/* |
| 40 | +%exclude %{_libdir} |
| 41 | +%{_libexecdir}/* |
| 42 | +%{_datadir}/* |
| 43 | +%exclude %{_prefix}/src |
42 | 44 |
|
43 | 45 | %changelog |
| 46 | +* Mon Nov 01 2021 Thomas Crain <[email protected]> - 4.8.27-1 |
| 47 | +- Upgrade to latest version to fix CVE-2021-36370 |
| 48 | +- License verified |
| 49 | + |
44 | 50 | * Sat May 09 2020 Nick Samson <[email protected]> - 4.8.21-4 |
45 | 51 | - Added %%license line automatically |
46 | 52 |
|
47 | | -* Tue Apr 21 2020 Eric Li < [email protected]> 4.8.21-3 |
48 | | -- Fix Source0: and delete sha1. License verified. |
49 | | -* Tue Sep 03 2019 Mateusz Malisz < [email protected]> 4.8.21-2 |
50 | | -- Initial CBL-Mariner import from Photon (license: Apache2). |
51 | | -* Thu Sep 06 2018 Srivatsa S. Bhat < [email protected]> 4.8.21-1 |
52 | | -- Update to version 4.8.21 |
53 | | -* Fri Aug 18 2017 Dheeraj Shetty < [email protected]> 4.8.19-2 |
54 | | -- Disable extfs test |
55 | | -* Fri Mar 31 2017 Michelle Wang < [email protected]> 4.8.19-1 |
56 | | -- Update package version |
57 | | -* Tue Jul 12 2016 Alexey Makhalov < [email protected]> 4.8.17-1 |
58 | | -- Initial build. First version |
| 53 | +* Tue Apr 21 2020 Eric Li <[email protected]> - 4.8.21-3 |
| 54 | +- Fix Source0: and delete sha1. License verified. |
| 55 | + |
| 56 | +* Tue Sep 03 2019 Mateusz Malisz <[email protected]> - 4.8.21-2 |
| 57 | +- Initial CBL-Mariner import from Photon (license: Apache2). |
| 58 | + |
| 59 | +* Thu Sep 06 2018 Srivatsa S. Bhat <[email protected]> - 4.8.21-1 |
| 60 | +- Update to version 4.8.21 |
| 61 | + |
| 62 | +* Fri Aug 18 2017 Dheeraj Shetty <[email protected]> - 4.8.19-2 |
| 63 | +- Disable extfs test |
| 64 | + |
| 65 | +* Fri Mar 31 2017 Michelle Wang <[email protected]> - 4.8.19-1 |
| 66 | +- Update package version |
| 67 | + |
| 68 | +* Tue Jul 12 2016 Alexey Makhalov <[email protected]> - 4.8.17-1 |
| 69 | +- Initial build. First version |
0 commit comments