From 7fceeacdc12cb09ccf932510cc2d4c24cd2f8449 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:25:50 +0100 Subject: [PATCH] package created using the webbuild interface [release 19.9.1-1mamba;Thu Aug 21 2014] --- README.md | 2 ++ firstboot.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 firstboot.spec diff --git a/README.md b/README.md index cc5c73a..4d22e7c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # firstboot +Initialize basic system settings on or before the first boot-up of a system. + diff --git a/firstboot.spec b/firstboot.spec new file mode 100644 index 0000000..783c795 --- /dev/null +++ b/firstboot.spec @@ -0,0 +1,65 @@ +%define pkgver %(echo %version | tr _ -) +Name: firstboot +Version: 19.9_1 +Release: 1mamba +Summary: Initialize basic system settings on or before the first boot-up of a system +Group: System/Configuration +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://git.fedorahosted.org/cgit/firstboot.git/ +Source: https://git.fedorahosted.org/cgit/firstboot.git/snapshot/firstboot-%{pkgver}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Initialize basic system settings on or before the first boot-up of a system. + +%prep +%setup -q -n %{name}-%{pkgver} + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +mv %{buildroot}%{_prefix}/lib %{buildroot}/lib + +%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +if [ $1 -ge 1 ]; then + systemctl -q daemon-reload +fi +: + +%postun +if [ $1 -eq 0 ]; then + systemctl -q daemon-reload +fi +: + +%files -f %{name}.lang +%defattr(-,root,root) +%{_unitdir}/firstboot-graphical.service +%{_sbindir}/firstboot +%{python27_sitearch}/firstboot-19.5-py2.7.egg-info +%{python27_sitearch}/firstboot/*.py* +%{_datadir}/firstboot/themes/default/firstboot-left.png +%{_datadir}/firstboot/themes/default/pointer-blank.png +%{_datadir}/firstboot/themes/default/pointer-white.png +%{_datadir}/firstboot/themes/default/splash-small.png +%{_datadir}/firstboot/themes/default/workstation.png +#%doc TODO + +%changelog +* Thu Aug 21 2014 Silvan Calarco 19.9.1-1mamba +- package created using the webbuild interface