Chris Lalancette 6eeed10
Name: imagefactory
f029cc7
Version: 1.1.16
28c6a56
Release: 7%{?dist}
bad367d
Summary: System image generation tool
ed18ac1
License: ASL 2.0
33800b8
URL: https://github.com/redhat-imaging/imagefactory
bad367d
f029cc7
Source0: https://github.com/redhat-imaging/imagefactory/archive/imagefactory-%{version}-1.tar.gz
9235bbf
Patch0: imagefactory-1.1.14-utf8-config-id.patch
f029cc7
# https://github.com/redhat-imaging/imagefactory/pull/434
9235bbf
Patch1: container-github-pr434.patch
c310968
# https://github.com/redhat-imaging/imagefactory/pull/438
c310968
Patch2: 0001-ApplicationConfiguration.py-drop-encoding-from-json..patch
28c6a56
# https://github.com/redhat-imaging/imagefactory/issues/412
28c6a56
# https://bugzilla.redhat.com/show_bug.cgi?id=2245066
28c6a56
# https://github.com/redhat-imaging/imagefactory/pull/455
28c6a56
Patch3: imagefactory-Docker.py-Pass-the-use_ino-option-to-fix-hardlnks.patch
Chris Lalancette 6eeed10
BuildArch: noarch
bad367d
bad367d
BuildRequires: python3
bad367d
BuildRequires: python3-setuptools
7a70442
BuildRequires: python3-devel
bad367d
BuildRequires: systemd-units
bad367d
2672090
Requires: python3-pycurl
2672090
Requires: python3-libguestfs
2672090
Requires: python3-zope-interface
2672090
Requires: python3-libxml2
2672090
Requires: python3-httplib2
2672090
Requires: python3-cherrypy
2672090
Requires: python3-oauth2
2672090
Requires: python3-libs
6bbf519
Requires: oz
6bbf519
6bbf519
Requires(post): systemd
6bbf519
Requires(preun): systemd
6bbf519
Requires(postun): systemd
6bbf519
f029cc7
# TODO: Any changes to the _internal_ API must increment this version or, in
f029cc7
#       the case of backwards compatible changes, add a new version (RPM
f029cc7
#       allows multiple version "=" lines for the same package or
b16bdd3
#       pseudo-package name)
b16bdd3
Provides: imagefactory-plugin-api = 1.0
Chris Lalancette 6eeed10
Chris Lalancette 6eeed10
%description
d26b748
imagefactory allows the creation of system images for multiple virtualization
f029cc7
and cloud providers from a single template definition. See
33800b8
https://github.com/redhat-imaging/imagefactory for more information.
Chris Lalancette 6eeed10
Chris Lalancette 6eeed10
%prep
f029cc7
%autosetup -p1 -n imagefactory-imagefactory-%{version}-1
Chris Lalancette 6eeed10
Chris Lalancette 6eeed10
%build
2672090
%py3_build
2672090
Chris Lalancette 6eeed10
Chris Lalancette 6eeed10
%install
2672090
%py3_install
2672090
ed18ac1
bad367d
install -d %{buildroot}/%{_sysconfdir}/imagefactory/jeos_images
bad367d
install -d %{buildroot}/%{_localstatedir}/lib/imagefactory/images
bad367d
install -d %{buildroot}/%{_sysconfdir}/imagefactory/plugins.d
bad367d
install -d %{buildroot}/%{_sysconfdir}/logrotate.d
Chris Lalancette 6eeed10
bad367d
install -m0600 conf/sysconfig/imagefactoryd %{buildroot}/%{_sysconfdir}/sysconfig/imagefactoryd
bad367d
install -m0600 conf/logrotate.d/imagefactoryd %{buildroot}/%{_sysconfdir}/logrotate.d/imagefactoryd
ed18ac1
6bbf519
rm -f %{buildroot}/%{_initddir}/imagefactoryd
6bbf519
6bbf519
%post
6bbf519
%systemd_post imagefactoryd.service
6bbf519
6bbf519
%preun
6bbf519
%systemd_preun imagefactoryd.service
6bbf519
6bbf519
%postun
6bbf519
%systemd_postun imagefactoryd.service
6bbf519
6bbf519
Chris Lalancette 6eeed10
%files
bad367d
%license COPYING
6bbf519
%{_unitdir}/imagefactoryd.service
352ac4a
%config(noreplace) %{_sysconfdir}/imagefactory/imagefactory.conf
b16bdd3
%config(noreplace) %{_sysconfdir}/sysconfig/imagefactoryd
b16bdd3
%config(noreplace) %{_sysconfdir}/logrotate.d/imagefactoryd
Chris Lalancette 6eeed10
%dir %attr(0755, root, root) %{_sysconfdir}/pki/imagefactory/
352ac4a
%dir %attr(0755, root, root) %{_sysconfdir}/imagefactory/jeos_images/
b16bdd3
%dir %attr(0755, root, root) %{_sysconfdir}/imagefactory/plugins.d/
352ac4a
%dir %attr(0755, root, root) %{_localstatedir}/lib/imagefactory/images
ed18ac1
%config %{_sysconfdir}/pki/imagefactory/cert-ec2.pem
2672090
%{python3_sitelib}/imgfac/*.py*
2672090
%{python3_sitelib}/imgfac/__pycache__/*.py*
2672090
%{python3_sitelib}/imgfac/rest
2672090
%{python3_sitelib}/imagefactory-*.egg-info
352ac4a
%{_bindir}/imagefactory
b16bdd3
%{_bindir}/imagefactoryd
ed18ac1
Chris Lalancette 6eeed10
%changelog
28c6a56
* Thu Oct 26 2023 Debarshi Ray <rishi@fedoraproject.org> - 1.1.16-7
28c6a56
- Preserve hard links when building Docker images
28c6a56
0b603a4
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.16-6
0b603a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
0b603a4
960e5ff
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.1.16-5
960e5ff
- Rebuilt for Python 3.12
960e5ff
3c918fa
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.16-4
3c918fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
3c918fa
b34d5d2
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.16-3
b34d5d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
b34d5d2
ec208ee
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.1.16-2
ec208ee
- Rebuilt for Python 3.11
ec208ee
f029cc7
* Wed Feb 16 2022 Sandro Bonazzola <sbonazzo@redhat.com> - 1.1.16-1
f029cc7
- Rebased on 1.1.16
f029cc7
297fa5d
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.15-10
297fa5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
297fa5d
0034fbc
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.15-9
0034fbc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
0034fbc
31a89e5
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.1.15-8
31a89e5
- Rebuilt for Python 3.10
31a89e5
7d59ee6
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.15-7
7d59ee6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
7d59ee6
f029cc7
* Thu Dec 10 2020 Kevin Fenzi <kevin@scrye.com> - 1.1.15-6.1
f029cc7
- Add patch for isAlive issue
f029cc7
c310968
* Sat Oct 03 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1.1.15-6
c310968
- Fix for deprecated change dropped in py3.9
c310968
7a70442
* Sat Oct 03 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1.1.15-5
7a70442
- Fix FTBFS
7a70442
709a930
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.15-4
709a930
- Second attempt - Rebuilt for
709a930
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
709a930
f9424a0
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.15-3
f9424a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f9424a0
793253b
* Thu Apr 30 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1.1.15-2
793253b
- Update container patch to latest rev
793253b
9235bbf
* Wed Mar 04 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1.1.15-1
9235bbf
- Update to 1.1.15.
9235bbf
bad367d
* Wed Mar 04 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1.1.14-3
bad367d
- Upstream patch for container fixes
bad367d
- Drop non systemd support as it requires python3 of which older distros won't have
bad367d
- Spec cleanup
bad367d
a0cc15a
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.14-2
a0cc15a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
a0cc15a
f483ed6
* Sat Nov 02 2019 Kevin Fenzi <kevin@scrye.com> - 1.1.14-1
f483ed6
- Update to 1.1.14.
f483ed6
df05419
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.13-0.20190527193659gita117084
df05419
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
df05419
2672090
* Tue Jun 26 2018 Brendan Reilly <breilly@redhat.com> - 1.1.11-1
2672090
- Upstream release 1.1.11
2672090
  - ovfcommon: supporting OVAs with subdirectories
dd1e36b
33800b8
* Tue May 31 2016 Ian McLeod <imcleod@redhat.com> - 1.1.9-1
33800b8
- Upstream release 1.1.9
33800b8
  - Add HyperV Vagrant support
33800b8
  - enhance vSphere and VMWare Fusion support
33800b8
33800b8
* Thu Mar 17 2016 Ian McLeod <imcleod@redhat.com> - 1.1.8-2
33800b8
- fix RHEL7 conditional for systemd unit file content
33800b8
6bbf519
* Wed Mar 16 2016 Ian McLeod <imcleod@redhat.com> - 1.1.8-1
6bbf519
- Upstream release 1.1.8
6bbf519
- systemd support
6bbf519
- docker base image updates
6bbf519
- significant EC2 updates for regions and instance types
6bbf519
- VMWare fusion vagrant box support
f727106
33800b8
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.7-3
33800b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
33800b8
33800b8
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.7-2
33800b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
33800b8
c830bca
* Wed Jan 7 2015 Ian McLeod <imcleod@redhat.com> - 1.1.7-1
c830bca
- Upstream release 1.1.7
c830bca
- Vagrant box support added to OVA plugin
c830bca
89b8833
* Mon Nov 24 2014 Ian McLeod <imcleod@redhat.com> - 1.1.6-2
89b8833
- Assorted fixes and features to enable rpm-ostree-toolbox integration
89b8833
18abde4
* Tue Oct 21 2014 Ian McLeod <imcleod@redhat.com> -1.1.6-1
18abde4
- Upstream 1.1.6 release
18abde4
18abde4
* Tue May 6 2014 Ian McLeod <imcleod@redhat.com> - 1.1.5-1
18abde4
- Rebase with upstream
18abde4
- Improved CLI parameter passing support
8e31502
9be453e
* Thu Jan 30 2014 Steve Loranz <sloranz@redhat.com> - 1.1.3-1
9be453e
- Remove references to man directories. Documentation will be hosted @ imgfac.org.
9be453e
b16bdd3
* Thu Aug 15 2013 Ian McLeod <imcleod@redhat.com> - 1.1.3
b16bdd3
- Rebase with upstream
824e23f
352ac4a
* Thu Sep 15 2011 Ian McLeod <imcleod@redhat.com> - 0.6.1
352ac4a
- Update Oz requirement to 0.7.0 or later for new target-specific package config
ed18ac1
- Update SPEC file to restart service after an install
Chris Lalancette 6eeed10
352ac4a
* Mon Apr 04 2011 Chris Lalancette <clalance@redhat.com> - 0.1.6-1
352ac4a
- Initial spec file.