Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
WoeUSB-ng
WoeUSB-ng.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File WoeUSB-ng.spec of Package WoeUSB-ng
# # spec file for package python-WoeUSB-ng # # Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: WoeUSB-ng Version: 0.2.10 Release: 0 Summary: Tool to create a bootable Windows installer drive License: GPL-3.0 Group: System/GUI/Other URL: https://github.com/WoeUSB/WoeUSB-ng Source0: https://files.pythonhosted.org/packages/source/W/WoeUSB-ng/WoeUSB-ng-%{version}.tar.gz Source99: %{name}-rpmlintrc BuildArch: noarch BuildRequires: update-desktop-files BuildRequires: ImageMagick potrace BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} # SECTION test requirements BuildRequires: %{python_module termcolor} BuildRequires: %{python_module wxPython} # /SECTION Requires: python3-termcolor Requires: python3-wxPython Requires: xdg-utils Requires: p7zip-full Conflicts: WoeUSB %description WoeUSB-ng is a simple tool that enables you to create your own Windows installer USB drive from an ISO image or a real DVD. This is a rewrite of original WoeUSB. %prep %autosetup -p1 -n WoeUSB-ng-%{version} # rpmlint find . -type f -exec sed -i -e 's|\/usr\/bin\/env python3|\/usr\/bin\/python3|g' {} \; %build %python_build %install # fix destination sed -i -e 's|\/usr\/local\/bin\/woeusbgui|%{buildroot}%{_bindir}\/woeusbgui|g' setup.py %python_install # generate icon convert WoeUSB/data/woeusb-logo.png WoeUSB/data/woeusb.svg install -Dm=664 WoeUSB/data/woeusb.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/woeusb.svg # generate desktop %suse_update_desktop_file -c woeusb-ng WoeUSB-ng "Windows installation drive creator" "xdg-su -c woeusbgui" woeusb Utility %files %doc README.md %{_datadir}/applications/woeusb-ng.desktop %{_datadir}/icons/hicolor/scalable/apps/woeusb.svg %{_bindir}/woeusb %{_bindir}/woeusbgui %{python_sitelib}/*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor