-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store additional files in RPM package (#366)
- Loading branch information
Showing
16 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[Desktop Entry] | ||
Categories=Utility; | ||
Exec=defguard-client | ||
Icon=defguard-client | ||
Name=defguard-client | ||
Terminal=false | ||
Type=Application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,25 @@ Requires: libappindicator-gtk3 webkit2gtk4.0 | |
Desktop client for managing WireGuard VPN connections | ||
|
||
%install | ||
%{__mkdir} -p %{buildroot}/%{_bindir} %{buildroot}/%{_sbindir} %{buildroot}/%{_prefix}/lib/systemd/system | ||
%{__mkdir} -p %{buildroot}/%{_bindir} | ||
%{__mkdir} -p %{buildroot}/%{_sbindir} | ||
%{__mkdir} -p %{buildroot}/%{_prefix}/lib/systemd/system | ||
%{__mkdir} -p %{buildroot}/%{_prefix}/lib/defguard-client/resources/icons | ||
%{__mkdir} -p %{buildroot}/%{_datadir}/applications | ||
%{__mkdir} -p %{buildroot}/%{_datadir}/icons/hicolor/128x128/apps | ||
%{__mkdir} -p %{buildroot}/%{_datadir}/icons/hicolor/256x256@2/apps | ||
%{__mkdir} -p %{buildroot}/%{_datadir}/icons/hicolor/32x32/apps | ||
%{__install} -m 755 src-tauri/target/release/defguard-client %{buildroot}/%{_bindir}/ | ||
%{__install} -m 755 src-tauri/target/release/defguard-service %{buildroot}/%{_sbindir}/ | ||
%{__install} -m 644 src-tauri/target/release/resources/icons/tray-32x32-black.png %{buildroot}/%{_prefix}/lib/defguard-client/resources/icons/tray-32x32-black.png | ||
%{__install} -m 644 src-tauri/target/release/resources/icons/tray-32x32-color.png %{buildroot}/%{_prefix}/lib/defguard-client/resources/icons/tray-32x32-color.png | ||
%{__install} -m 644 src-tauri/target/release/resources/icons/tray-32x32-gray.png %{buildroot}/%{_prefix}/lib/defguard-client/resources/icons/tray-32x32-gray.png | ||
%{__install} -m 644 src-tauri/target/release/resources/icons/tray-32x32-white.png %{buildroot}/%{_prefix}/lib/defguard-client/resources/icons/tray-32x32-white.png | ||
%{__install} -m 644 resources-linux/defguard-service.service %{buildroot}/%{_prefix}/lib/systemd/system/ | ||
%{__install} -m 644 resources-linux/defguard-client.desktop %{buildroot}/%{_datadir}/applications/defguard-client.desktop | ||
%{__install} -m 644 src-tauri/icons/128x128.png %{buildroot}/%{_datadir}/icons/hicolor/128x128/apps/defguard-client.png | ||
%{__install} -m 644 src-tauri/icons/[email protected] %{buildroot}/%{_datadir}/icons/hicolor/256x256@2/apps/defguard-client.png | ||
%{__install} -m 644 src-tauri/icons/32x32.png %{buildroot}/%{_datadir}/icons/hicolor/32x32/apps/defguard-client.png | ||
|
||
%post | ||
# %{systemd_post} defguard-service.service | ||
|
@@ -38,4 +53,12 @@ systemctl daemon-reload | |
%files | ||
%{_bindir}/defguard-client | ||
%{_sbindir}/defguard-service | ||
%{_prefix}/lib/defguard-client/resources/icons/tray-32x32-black.png | ||
%{_prefix}/lib/defguard-client/resources/icons/tray-32x32-color.png | ||
%{_prefix}/lib/defguard-client/resources/icons/tray-32x32-gray.png | ||
%{_prefix}/lib/defguard-client/resources/icons/tray-32x32-white.png | ||
%{_prefix}/lib/systemd/system/defguard-service.service | ||
%{_datadir}/applications/defguard-client.desktop | ||
%{_datadir}/icons/hicolor/128x128/apps/defguard-client.png | ||
%{_datadir}/icons/hicolor/256x256@2/apps/defguard-client.png | ||
%{_datadir}/icons/hicolor/32x32/apps/defguard-client.png |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.