-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathproot.spec
More file actions
59 lines (43 loc) · 1.37 KB
/
proot.spec
File metadata and controls
59 lines (43 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Name: proot
Version: 5.3.1
Release: 5%{?dist}
Summary: chroot, mount --bind, and binfmt_misc without privilege/setup for Linux
License: GPLv2
URL: https://github.com/proot-me/%{name}
Source: %{url}/archive/v%{version}.tar.gz
BuildRequires: gcc
BuildRequires: pkgconfig(talloc)
BuildRequires: pkgconfig(libarchive)
%description
PRoot is a user-space implementation of chroot, mount --bind, and binfmt_misc.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%make_build -C src loader.elf loader-m32.elf build.h PREFIX=%{_prefix}
%make_build -C src proot PREFIX=%{_prefix}
# TODO: figure out dependencies
#%check
#make -C test
%install
%make_install -C src PREFIX=%{_prefix}
%files
%doc doc/proot/manual.rst
%license COPYING
%{_bindir}/proot
%changelog
* Fri May 10 2024 Patrick Gaskin <patrick@pgaskin.net> - 5.3.1-5
- Rebuild.
* Sat Jul 08 2023 Patrick Gaskin <patrick@pgaskin.net> - 5.3.1-4
- Rebuild.
* Wed Aug 24 2022 Patrick Gaskin <patrick@pgaskin.net> - 5.3.1-3
- Rebuild.
* Wed Aug 24 2022 Patrick Gaskin <patrick@pgaskin.net> - 5.3.1-2
- Fix build.
* Wed Aug 24 2022 Patrick Gaskin <patrick@pgaskin.net> - 5.3.1-1
- Update to 5.3.1.
* Sat Sep 11 2021 Patrick Gaskin <patrick@pgaskin.net> - 5.2.0-1
- Rebuild.
* Thu Jun 01 2021 Patrick Gaskin <patrick@pgaskin.net> - 5.2.0.alpha-2
- Rebuild.
* Thu May 27 2021 Patrick Gaskin <patrick@pgaskin.net> - 5.2.0.alpha-1
- Initial package.