package created using the webbuild interface [release 19.9.1-1mamba;Thu Aug 21 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 22:25:50 +01:00
parent 2321175ed6
commit 7fceeacdc1
2 changed files with 67 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# firstboot # firstboot
Initialize basic system settings on or before the first boot-up of a system.

65
firstboot.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 19.9.1-1mamba
- package created using the webbuild interface