Mageia Bugzilla – Attachment 13506 Details for
Bug 31124
Ventoy - An open source tool to create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Proposal spec file
ventoy.spec (text/plain), 1.76 KB, created by
Kristoffer Grundström
on 2022-11-15 02:45:08 CET
(
hide
)
Description:
Proposal spec file
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2022-11-15 02:45:08 CET
Size:
1.76 KB
patch
obsolete
>Name: ventoy >Version: 1.0.81 >Release: %mkrel 1 >Summary: Creates a bootable USB drive >URL: https://www.ventoy.net/en/index.html >Source: https://github.com/ventoy/Ventoy/releases/%{name}-%{version}.tar.xz >Source1: source.tar.xz >License: GPLv3 >Group: File tools >Requires: lib64gtksourceview3.0_1 >Requires: parted >Obsoletes: %{name} < %{version} >AutoReqProv: no > >%description >Ventoy is an open source tool to create bootable USB drive for ISO files. >With ventoy, you don't need to format the disk again and again, you just >need to copy the iso file to the USB drive and boot it. You can copy many >iso files at a time and ventoy will give you a boot menu. > >%prep >%setup -q -n %{name}-%{version} > >unxz -c %{SOURCE1} | tar xf - -C . > >rm -rf tool/{aarch64,i386} > >#%build > >%install >#rm -rf $RPM_BUILD_ROOT > mkdir -p $RPM_BUILD_ROOT/%{_bindir} > mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name} > mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications > mkdir -p $RPM_BUILD_ROOT/%{_datadir}/polkit-1/actions > mkdir -p $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/48x48/apps > > install -m 0775 Ventoy $RPM_BUILD_ROOT/%{_bindir} > install -m 0775 %{name}.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/48x48/apps > install -m 0775 Ventoy.desktop $RPM_BUILD_ROOT/%{_datadir}/applications > install -m 0644 org.%{name}.policy $RPM_BUILD_ROOT/%{_datadir}/polkit-1/actions > cp -r {VentoyGUI.x86_64,ventoy,plugin,boot,tool,*.sh} $RPM_BUILD_ROOT/%{_datadir}/%{name} > chmod a+x %{buildroot}%{_datadir}/applications/Ventoy.desktop > >%pre ># Remove old logs, self folders >rm -rf %{_datadir}/ventoy > >%post >%update_menus > >%postun >%clean_menus > > >%files >%{_bindir}/Ventoy >%_datadir/applications/Ventoy.desktop >%{_iconsdir}/hicolor/48x48/apps/%{name}.png >%{_datadir}/%{name} >%_datadir/polkit-1/actions/org.%{name}.policy
Name: ventoy Version: 1.0.81 Release: %mkrel 1 Summary: Creates a bootable USB drive URL: https://www.ventoy.net/en/index.html Source: https://github.com/ventoy/Ventoy/releases/%{name}-%{version}.tar.xz Source1: source.tar.xz License: GPLv3 Group: File tools Requires: lib64gtksourceview3.0_1 Requires: parted Obsoletes: %{name} < %{version} AutoReqProv: no %description Ventoy is an open source tool to create bootable USB drive for ISO files. With ventoy, you don't need to format the disk again and again, you just need to copy the iso file to the USB drive and boot it. You can copy many iso files at a time and ventoy will give you a boot menu. %prep %setup -q -n %{name}-%{version} unxz -c %{SOURCE1} | tar xf - -C . rm -rf tool/{aarch64,i386} #%build %install #rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_bindir} mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name} mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications mkdir -p $RPM_BUILD_ROOT/%{_datadir}/polkit-1/actions mkdir -p $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/48x48/apps install -m 0775 Ventoy $RPM_BUILD_ROOT/%{_bindir} install -m 0775 %{name}.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/48x48/apps install -m 0775 Ventoy.desktop $RPM_BUILD_ROOT/%{_datadir}/applications install -m 0644 org.%{name}.policy $RPM_BUILD_ROOT/%{_datadir}/polkit-1/actions cp -r {VentoyGUI.x86_64,ventoy,plugin,boot,tool,*.sh} $RPM_BUILD_ROOT/%{_datadir}/%{name} chmod a+x %{buildroot}%{_datadir}/applications/Ventoy.desktop %pre # Remove old logs, self folders rm -rf %{_datadir}/ventoy %post %update_menus %postun %clean_menus %files %{_bindir}/Ventoy %_datadir/applications/Ventoy.desktop %{_iconsdir}/hicolor/48x48/apps/%{name}.png %{_datadir}/%{name} %_datadir/polkit-1/actions/org.%{name}.policy
View Attachment As Raw
Actions:
View
Attachments on
bug 31124
: 13506 |
13507