Skip to content

Commit

Permalink
add RPM SPEC file #47
Browse files Browse the repository at this point in the history
  • Loading branch information
Neverous committed Jan 22, 2023
1 parent b61e05e commit 903741f
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 3 deletions.
13 changes: 10 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,15 @@ Required development libraries:
...
```

### Notes

There is also:

- a [package](//aur.archlinux.org/packages/efibooteditor) in
the AUR for Arch Linux
- and a [SPEC file](misc/efibooteditor.spec) for RPM based
distributions (thanks [@Justinzobel](https://github.com/Justinzobel)).

## Pre-built packages

[Releases](//github.com/Neverous/efibooteditor/releases) automatically build
Expand Down Expand Up @@ -106,7 +115,7 @@ Assets are delivered in various formats:
ready to use in-place after decompression (`.zip` is for Windows
and `.tar.zst` is for macOS and Linux).

## Notes
### Notes

- Using `.deb` packages on old Ubuntu (< 21.10) or Debian (< bullseye) releases
might require manual Qt installation as versions in the official repositories
Expand All @@ -115,5 +124,3 @@ In the CI [aqtinstall](//github.com/miurahr/aqtinstall) is used for
installation, but then package install needs to be probably forced. Quick search
through the internet also reveals PPAs with pre-built packages from
[Stephan Binner](//launchpad.net/~beineri) that might be useful.
- There is also a [package](//aur.archlinux.org/packages/efibooteditor) in
the AUR for Arch Linux.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ GUI for managing EFI Boot Manager configuration.
* [Qt](//www.qt.io/) (>=5.15.2)
* [efivar](//github.com/rhboot/efivar) (>=37) on linux

## Installation

See [INSTALL](INSTALL.md) instructions.

## License

This project is licensed under the LGPLv3 License -
Expand Down
44 changes: 44 additions & 0 deletions misc/efibooteditor.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
Name: efibooteditor
Version: 1.1.5
Release: 1%{?dist}
Summary: GUI for managing EFI Boot Manager configuration.

License: GPLv3-or-later
URL: https://github.com/Neverous/efibooteditor
Source0: https://github.com/Neverous/efibooteditor/archive/refs/tags/v%{version}.tar.gz

BuildRequires: cmake
BuildRequires: cmake(Qt5Core)
BuildRequires: pkgconfig(efivar)

Requires: efivar

%description
%{summary}.

%prep
%autosetup -n %{name}-%{version}


%build
%cmake
%cmake_build


%install
%cmake_install


%files
%doc doc/*
%license LICENSE.txt
%{_bindir}/%{name}
%{_datadir}/applications/EFIBootEditor.desktop
%{_datadir}/polkit-1/actions/org.x.%{name}.policy
%{_metainfodir}/EFIBootEditor.metainfo.xml



%changelog
* Sun Jan 22 2023 Justin Zobel <justin@1707.io> - 1.1.5-1
- Initial Version

0 comments on commit 903741f

Please sign in to comment.