Name: mintstick Version: 1.6.0 Release: 1%{?dist} Summary: write .img and .iso files to USB sticks Group: Applications/System License: GPL URL: http://packages.linuxmint.com/pool/main/m/mintstick/ Source: %url/%{name}_%{version}.tar.xz BuildArch: noarch BuildRequires: gettext Requires: coreutils Requires: desktop-file-utils Requires: dosfstools Requires: e2fsprogs Requires: exfat-utils Requires: glib2 Requires: gtk3 Requires: ntfs-3g Requires: parted Requires: polkit Requires: procps-ng Requires: python Requires: python-dbus Requires: python-gobject Requires: python-pyparted Requires: python3-xapp Requires: python3-unidecode Requires: python3-gnupg Requires: udisks2 Requires: util-linux Requires: xapps %description A GUI to write .img or .iso files to a USB Key. It can also format them. %prep %setup -n mintstick %install mkdir -p %{buildroot}/usr/lib/mintstick mkdir -p %{buildroot}/usr/share/mintstick mkdir -p %{buildroot}/usr/share/applications mkdir -p %{buildroot}/usr/share/polkit-1/actions mkdir -p %{buildroot}/usr/bin mkdir -p %{buildroot}/usr/share/nemo/actions cp share/applications/*.desktop %{buildroot}/usr/share/applications/ cp share/polkit/*.policy %{buildroot}/usr/share/polkit-1/actions cp share/nemo/actions/*.nemo_action %{buildroot}/usr/share/nemo/actions cp share/mintstick/verify.ui %{buildroot}/usr/share/mintstick/ cp bin/* %{buildroot}/usr/bin/ cp mint-iso-verify %{buildroot}/usr/bin/ cp mintstick %{buildroot}/usr/bin/ cp lib/{mintstick.py,raw_write.py,raw_format.py,mountutils.py,verify.py} %{buildroot}/usr/lib/mintstick/ cp share/mintstick/{mintstick.ui,verify.ui} %{buildroot}/usr/share/mintstick/ %files %doc COPYING %{_datadir}/applications/*.desktop %{_datadir}/polkit-1/actions/*.policy %{_datadir}/nemo/actions/*.nemo_action %{_datadir}/mintstick/*.ui %{_prefix}/lib/mintstick/*.py %{_bindir}/* %changelog * Sat May 12 2024 builder - Build initial package rpm.