Blame mkosi.spec

Zbigniew Jędrzejewski-Szmek 4cdaf1
Name:           mkosi
Zbigniew Jędrzejewski-Szmek 0aab9b
Version:        9
Fedora Release Engineering b2ade1
Release:        5%{?dist}
Zbigniew Jędrzejewski-Szmek 4cdaf1
Summary:        Create legacy-free OS images
Zbigniew Jędrzejewski-Szmek 4cdaf1
Zbigniew Jędrzejewski-Szmek 4cdaf1
License:        LGPLv2+
Zbigniew Jędrzejewski-Szmek 4cdaf1
URL:            https://github.com/systemd/mkosi
Zbigniew Jędrzejewski-Szmek 308e06
Source0:        https://github.com/systemd/mkosi/archive/v%{version}/%{name}-%{version}.tar.gz
Zbigniew Jędrzejewski-Szmek 4cdaf1
Zbigniew Jędrzejewski-Szmek 4cdaf1
BuildArch:      noarch
Zbigniew Jędrzejewski-Szmek 9faa87
BuildRequires:  python3-devel
Zbigniew Jędrzejewski-Szmek 9faa87
BuildRequires:  python3-setuptools
Zbigniew Jędrzejewski-Szmek 4cdaf1
Zbigniew Jędrzejewski-Szmek 1285a6
%global recoreq %{?el7:Requires}%{!?el7:Recommends}
Zbigniew Jędrzejewski-Szmek 1285a6
Zbigniew Jędrzejewski-Szmek 1285a6
%{recoreq}:     dnf
Zbigniew Jędrzejewski-Szmek 1285a6
%{recoreq}:     gnupg
Zbigniew Jędrzejewski-Szmek 1285a6
%{recoreq}:     xz
Zbigniew Jędrzejewski-Szmek 1285a6
%{recoreq}:     tar
Zbigniew Jędrzejewski-Szmek 1285a6
%{recoreq}:     e2fsprogs
Zbigniew Jędrzejewski-Szmek 1285a6
%{recoreq}:     squashfs-tools
Zbigniew Jędrzejewski-Szmek 1285a6
%{recoreq}:     veritysetup
Zbigniew Jędrzejewski-Szmek 1285a6
%if 0%{?el7} == 0
Zbigniew Jędrzejewski-Szmek 4cdaf1
Recommends:     debootstrap
Zbigniew Jędrzejewski-Szmek 4cdaf1
Recommends:     arch-install-scripts
Zbigniew Jędrzejewski-Szmek 7b200f
Recommends:     edk2-ovmf
Zbigniew Jędrzejewski-Szmek 4cdaf1
Recommends:     btrfs-progs
Zbigniew Jędrzejewski-Szmek 4cdaf1
Recommends:     dosfstools
Zbigniew Jędrzejewski-Szmek 418e0f
Recommends:     python3dist(argcomplete)
Zbigniew Jędrzejewski-Szmek d4d2bf
%endif
Zbigniew Jędrzejewski-Szmek 4cdaf1
Zbigniew Jędrzejewski-Szmek 4cdaf1
%description
Zbigniew Jędrzejewski-Szmek 4cdaf1
A fancy wrapper around "dnf --installroot", "debootstrap" and
Zbigniew Jędrzejewski-Szmek 4cdaf1
"pacstrap", that may generate disk images with a number of bells and
Zbigniew Jędrzejewski-Szmek 4cdaf1
whistles.
Zbigniew Jędrzejewski-Szmek 4cdaf1
Zbigniew Jędrzejewski-Szmek 4cdaf1
Generated images are "legacy-free". This means only GPT disk labels
Zbigniew Jędrzejewski-Szmek 4cdaf1
(and no MBR disk labels) are supported, and only systemd based images
Zbigniew Jędrzejewski-Szmek 4cdaf1
may be generated. Moreover, for bootable images only EFI systems are
Zbigniew Jędrzejewski-Szmek 4cdaf1
supported (not plain MBR/BIOS).
Zbigniew Jędrzejewski-Szmek 4cdaf1
Zbigniew Jędrzejewski-Szmek 4cdaf1
%prep
Zbigniew Jędrzejewski-Szmek 10a7ce
%autosetup -p1
Zbigniew Jędrzejewski-Szmek 4cdaf1
Zbigniew Jędrzejewski-Szmek 4cdaf1
%build
Zbigniew Jędrzejewski-Szmek 0aab9b
%py3_build
Zbigniew Jędrzejewski-Szmek 4cdaf1
Zbigniew Jędrzejewski-Szmek 4cdaf1
%install
Zbigniew Jędrzejewski-Szmek 0aab9b
%py3_install
Zbigniew Jędrzejewski-Szmek 4cdaf1
Zbigniew Jędrzejewski-Szmek 4cdaf1
%files
Zbigniew Jędrzejewski-Szmek 4cdaf1
%license LICENSE
Zbigniew Jędrzejewski-Szmek 4cdaf1
%doc README.md
Zbigniew Jędrzejewski-Szmek 4cdaf1
%_bindir/mkosi
Zbigniew Jędrzejewski-Szmek 9faa87
%{python3_sitelib}/mkosi/
Zbigniew Jędrzejewski-Szmek 9faa87
%{python3_sitelib}/mkosi-%{version}-py*.egg-info/
Zbigniew Jędrzejewski-Szmek 9faa87
%_mandir/man1/mkosi.1*
Zbigniew Jędrzejewski-Szmek 4cdaf1
Zbigniew Jędrzejewski-Szmek 6ded5c
%check
Zbigniew Jędrzejewski-Szmek 6ded5c
# just a smoke test for syntax or import errors
Zbigniew Jędrzejewski-Szmek 0aab9b
%buildroot/usr/bin/mkosi --help >/dev/null
Zbigniew Jędrzejewski-Szmek 6ded5c
Zbigniew Jędrzejewski-Szmek 4cdaf1
%changelog
Fedora Release Engineering b2ade1
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9-5
Fedora Release Engineering b2ade1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Fedora Release Engineering b2ade1
80bcd7
* Fri Jun 11 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 9-4
80bcd7
- Only gate out Recommends on el7
80bcd7
Python Maint 024e62
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 9-3
Python Maint 024e62
- Rebuilt for Python 3.10
Python Maint 024e62
Fedora Release Engineering 115cc3
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9-2
Fedora Release Engineering 115cc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Fedora Release Engineering 115cc3
Zbigniew Jędrzejewski-Szmek 0aab9b
* Sat Jan  2 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 9-1
Zbigniew Jędrzejewski-Szmek 0aab9b
- Update to latest version (#1903407)
Zbigniew Jędrzejewski-Szmek 0aab9b
Zbigniew Jędrzejewski-Szmek 31205e
* Thu Dec  3 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 8-1
Zbigniew Jędrzejewski-Szmek 31205e
- Update to latest version (#1903407)
Zbigniew Jędrzejewski-Szmek 31205e
Zbigniew Jędrzejewski-Szmek 9faa87
* Sat Oct  3 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 6-1
Zbigniew Jędrzejewski-Szmek 9faa87
- Update to latest version (#1884879)
Zbigniew Jędrzejewski-Szmek 9faa87
Fedora Release Engineering a734e8
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5-4
Fedora Release Engineering a734e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Fedora Release Engineering a734e8
Fedora Release Engineering 4162a5
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5-3
Fedora Release Engineering 4162a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Fedora Release Engineering 4162a5
Fedora Release Engineering fb215f
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5-2
Fedora Release Engineering fb215f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Fedora Release Engineering fb215f
Zbigniew Jędrzejewski-Szmek 418e0f
* Tue Apr 30 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 5-1
Zbigniew Jędrzejewski-Szmek 418e0f
- Update to latest version
Zbigniew Jędrzejewski-Szmek 418e0f
Fedora Release Engineering c1ad34
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4-4
Fedora Release Engineering c1ad34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Fedora Release Engineering c1ad34
Fedora Release Engineering 9d1c93
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4-3
Fedora Release Engineering 9d1c93
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Fedora Release Engineering 9d1c93
Zbigniew Jędrzejewski-Szmek 10a7ce
* Sat Feb 10 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 4-2
Zbigniew Jędrzejewski-Szmek 308e06
- Update to latest version (#1544123)
Zbigniew Jędrzejewski-Szmek 308e06
Fedora Release Engineering 733497
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2-3
Fedora Release Engineering 733497
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Fedora Release Engineering 733497
Fedora Release Engineering fc965d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2-2
Fedora Release Engineering fc965d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
Fedora Release Engineering fc965d
Zbigniew Jędrzejewski-Szmek bbd0a1
* Fri Jun 23 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2-1
Zbigniew Jędrzejewski-Szmek bbd0a1
- Update to latest version (#1464285)
Zbigniew Jędrzejewski-Szmek bbd0a1
Fedora Release Engineering 831ac4
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1-3
Fedora Release Engineering 831ac4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
Fedora Release Engineering 831ac4
Miro Hrončok 7a15e5
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1-2
Miro Hrončok 7a15e5
- Rebuild for Python 3.6
Miro Hrončok 7a15e5
Zbigniew Jędrzejewski-Szmek 4cdaf1
* Thu Nov  3 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1-1
Zbigniew Jędrzejewski-Szmek 4cdaf1
- Initial version