diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3cc46d3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+ + /cockpit-machines-242.tar.gz
+/cockpit-machines-242.1.tar.gz
diff --git a/cockpit-machines.spec b/cockpit-machines.spec
new file mode 100644
index 0000000..d59990f
--- /dev/null
+++ b/cockpit-machines.spec
@@ -0,0 +1,70 @@
+# This spec file has been automatically updated
+Version: 242.1
+Release: 1%{?dist}
+#
+# Copyright (C) 2021 Red Hat, Inc.
+#
+# Cockpit is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# Cockpit is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with Cockpit; If not, see .
+#
+
+Name: cockpit-machines
+Summary: Cockpit user interface for virtual machines
+License: LGPLv2+ and MIT
+URL: https://github.com/cockpit-project/cockpit-machines
+
+Source0: https://github.com/cockpit-project/cockpit-machines/releases/download/%{version}/cockpit-machines-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: libappstream-glib
+BuildRequires: make
+
+Requires: cockpit-bridge >= 215
+%if 0%{?suse_version}
+Requires: libvirt-daemon-qemu
+%else
+Requires: libvirt-daemon-kvm
+%endif
+Requires: libvirt-client
+Requires: libvirt-dbus >= 1.2.0
+# Optional components
+Recommends: virt-install
+Recommends: libosinfo
+Recommends: python3-gobject-base
+
+%description -n cockpit-machines
+Cockpit component for managing virtual machines.
+
+If "virt-install" is installed, you can also create new virtual machines.
+
+%prep
+%setup -q -n cockpit-machines
+
+%build
+# Nothing to build
+
+%install
+%make_install
+appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
+
+%files
+%doc README.md
+%license LICENSE dist/index.js.LICENSE.txt
+%{_datadir}/cockpit/*
+%{_datadir}/metainfo/*
+
+# The changelog is automatically generated and merged
+%changelog
+* Thu Apr 01 2021 Katerina Koukiou - 242.1-1
+
+- Add MIT to the list of licenses in spec file
+
diff --git a/sources b/sources
new file mode 100644
index 0000000..8bb361a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (cockpit-machines-242.1.tar.gz) = a6f6f84abbb7e230c30a498831632c5e994e77f49b576f3b68f0a49bbf4baa8a6b9a5eea007cc535cb5882530f961f0679fb73d73538c369ddb7fde36e6d417c