[hydros-systemd-units] Introduced package
Some checks failed
Build hydros-systemd-units / Build and push image (push) Failing after 1m33s
Some checks failed
Build hydros-systemd-units / Build and push image (push) Failing after 1m33s
This commit is contained in:
55
hydros-systemd-units/hydros-systemd-units.spec
Normal file
55
hydros-systemd-units/hydros-systemd-units.spec
Normal file
@@ -0,0 +1,55 @@
|
||||
Name: hydros-systemd-units
|
||||
Version: 0.0.1
|
||||
Release: %autorelease
|
||||
Summary: The bundle of assets for HydrOS
|
||||
BuildArch: noarch
|
||||
|
||||
License: GPL
|
||||
Source0: source.tar.gz
|
||||
|
||||
%description
|
||||
|
||||
%prep
|
||||
%autosetup -C
|
||||
|
||||
%install
|
||||
install -Dm0644 -t %{buildroot}%{_unitdir}/ %{_builddir}/%{name}-%{version}/system/bootc-fetch-updates.service
|
||||
install -Dm0644 -t %{buildroot}%{_unitdir}/ %{_builddir}/%{name}-%{version}/system/bootc-fetch-updates.timer
|
||||
install -Dm0644 -t %{buildroot}%{_unitdir}/ %{_builddir}/%{name}-%{version}/system/flatpak-system-updates.service
|
||||
install -Dm0644 -t %{buildroot}%{_unitdir}/ %{_builddir}/%{name}-%{version}/system/flatpak-system-update.timer
|
||||
install -Dm0644 -t %{buildroot}%{_userunitdir}/ %{_builddir}/%{name}-%{version}/user/flatpak-user-update.service
|
||||
install -Dm0644 -t %{buildroot}%{_userunitdir}/ %{_builddir}/%{name}-%{version}/user/flatpak-user-update.timer
|
||||
install -Dm0644 -t %{buildroot}%{_userunitdir}/ %{_builddir}/%{name}-%{version}/user/hyprlaunhcer.service
|
||||
install -Dm0644 -t %{buildroot}%{_userunitdir}/ %{_builddir}/%{name}-%{version}/user/quickshell.service
|
||||
install -Dm0644 -t %{buildroot}%{_userunitdir}/ %{_builddir}/%{name}-%{version}/user/ssh-agent.service
|
||||
|
||||
%post
|
||||
%systemd_post bootc-fetch-updates.timer
|
||||
%systemd_post flatpak-system-updates.timer
|
||||
%systemd_user_post flatpak-user-updates.timer
|
||||
%systemd_user_post hyprlauncher.timer
|
||||
%systemd_user_post quickshell.service
|
||||
%systemd_user_post ssh-agent.service
|
||||
|
||||
%preun
|
||||
%systemd_preun bootc-fetch-updates.timer
|
||||
%systemd_preun flatpak-system-updates.timer
|
||||
%systemd_user_preun flatpak-user-updates.timer
|
||||
%systemd_user_preun hyprlauncher.timer
|
||||
%systemd_user_preun quickshell.service
|
||||
%systemd_user_preun ssh-agent.service
|
||||
|
||||
%files
|
||||
%{_unitdir}/bootc-fetch-updates.service
|
||||
%{_unitdir}/bootc-fetch-updates.timer
|
||||
%{_unitdir}/flatpak-system-update.service
|
||||
%{_unitdir}/flatpak-system-update.timer
|
||||
%{_userunitdir}/flatpak-user-update.service
|
||||
%{_userunitdir}/flatpak-user-update.timer
|
||||
%{_userunitdir}/hyprlauncher.service
|
||||
%{_userunitdir}/quickshell.service
|
||||
%{_userunitdir}/ssh-agent.service
|
||||
|
||||
%changelog
|
||||
* Mon Mar 30 2026 Eriq Taing <eriq12@protonmail.com>
|
||||
- First version packaged
|
||||
Reference in New Issue
Block a user