Skip to content

Commit 354f028

Browse files
committed
Fix the RPM packaging.
1 parent 297fbaf commit 354f028

File tree

2 files changed

+47
-31
lines changed

2 files changed

+47
-31
lines changed

efibootmgr-gui.spec

Lines changed: 0 additions & 31 deletions
This file was deleted.

efiboots.spec

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
Name: efiboots
2+
Summary: RPM package for efiboots application
3+
URL: https://github.com/Elinvention/%{name}
4+
5+
Version: 1.0
6+
Release: 1%{?dist}
7+
License: GPLv3
8+
9+
Source0: %{URL}/archive/%{version}.tar.gz
10+
11+
BuildArch: noarch
12+
BuildRequires: python3-devel
13+
BuildRequires: python3-rpm-macros
14+
BuildRequires: %{py3_dist setuptools}
15+
16+
Requires: efibootmgr
17+
Requires: python3
18+
Requires: python3-gobject
19+
20+
%description
21+
Manage EFI boot loader entries with this simple GUI.
22+
23+
%prep
24+
%autosetup -n %{name}-%{version}
25+
26+
%build
27+
%py3_build
28+
%py3_build_egg
29+
30+
%install
31+
%py3_install
32+
33+
%files
34+
%defattr(-,root,root,-)
35+
%{_bindir}/%{name}
36+
%{python3_sitelib}/%{name}.py
37+
%{python3_sitelib}/__pycache__/*.pyc
38+
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
39+
%{_datadir}/applications/%{name}.desktop
40+
%license LICENSE
41+
%doc README.md
42+
%exclude %{python3_sitelib}/test
43+
44+
%changelog
45+
* Fri Jan 28 2022 sT331h0rs3 <[email protected]> - 1.0-1
46+
- Initial RPM packaging for Fedora is done.
47+

0 commit comments

Comments
 (0)