Группа :: Архивирование/Создание CD
Пакет: woeusb
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
Name: woeusb
Version: 5.1.2
Release: alt1
Summary: Windows USB installation media creator
Summary(ru_RU.UTF-8): пёя┌п╦п╩п╦я┌п╟ п╢п╩я▐ я│п╬п╥п╢п╟п╫п╦я▐ я┐я│я┌п╟п╫п╬п╡п╬я┤п╫п╬пЁп╬ USB п╫п╟п╨п╬п©п╦я┌п╣п╩я▐ я│ Windows
Group: Archiving/Cd burning
License: GPLv3+
Url: https://github.com/WoeUSB/WoeUSB
Source0: %name-%version.tar
Requires: bash4
Requires: dosfstools
Requires: gawk
Requires: grep
Requires: grub
Requires: ntfs-3g
Requires: parted
Requires: wget
ExclusiveArch: %ix86 x86_64
%description
A utility that enables you to create your own bootable Windows installation
USB storage device from an existing Windows Installation disc or disk image.
Attention! For using WoeUSB with graphical interfase, please, install woeusb-ng package.
%description -l ru_RU.UTF-8
пёя┌п╦п╩п╦я┌п╟, п╨п╬я┌п╬я─п╟я▐ п©п╬п╪п╬п╤п╣я┌ я│п╬п╥п╢п╟я┌я▄ п╥п╟пЁя─я┐п╥п╬я┤п╫я▀п╧ п╫п╬я│п╦я┌п╣п╩я▄ я│ п·п║ Windows п╦п╥ п╬п╠я─п╟п╥п╟
п╦п╩п╦ я─п╣п╟п╩я▄п╫п╬пЁп╬ п╢п╦я│п╨п╟.
п▓п╫п╦п╪п╟п╫п╦п╣! п■п╩я▐ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ WoeUSB я│ пЁя─п╟я└п╦я┤п╣я│п╨п╦п╪ п╦п╫я┌п╣я─я└п╣п╧я│п╬п╪, п©п╬п╤п╟п╩я┐п╧я│я┌п╟,
я┐я│я┌п╟п╫п╬п╡п╦я┌п╣ п©п╟п╨п╣я┌ woeusb-ng.
%prep
%setup -n %name-%version
%build
find ./* -type f -exec sed -i "s/ at at WOEUSB_VERSION at at /%{version}/g" {} \+
for shell in ./sbin/woeusb
do
sed -i '1s|!/usr/bin/env bash|!/bin/bash|' $shell
done
%install
install -d -m 777 %buildroot%_bindir
install -m 755 sbin/woeusb %buildroot%_bindir/woeusb
mkdir -p -m 777 %buildroot%_man1dir
install -m 444 ./share/man/man1/woeusb.1 %buildroot%_man1dir/woeusb.1
%files
%doc LICENSES/GPL-3.0-or-later.txt
%_bindir/woeusb
%_man1dir/woeusb.1.xz
%changelog
…
Полный changelog можно просмотреть здесь
Name: woeusb
Version: 5.1.2
Release: alt1
Summary: Windows USB installation media creator
Summary(ru_RU.UTF-8): пёя┌п╦п╩п╦я┌п╟ п╢п╩я▐ я│п╬п╥п╢п╟п╫п╦я▐ я┐я│я┌п╟п╫п╬п╡п╬я┤п╫п╬пЁп╬ USB п╫п╟п╨п╬п©п╦я┌п╣п╩я▐ я│ Windows
Group: Archiving/Cd burning
License: GPLv3+
Url: https://github.com/WoeUSB/WoeUSB
Source0: %name-%version.tar
Requires: bash4
Requires: dosfstools
Requires: gawk
Requires: grep
Requires: grub
Requires: ntfs-3g
Requires: parted
Requires: wget
ExclusiveArch: %ix86 x86_64
%description
A utility that enables you to create your own bootable Windows installation
USB storage device from an existing Windows Installation disc or disk image.
Attention! For using WoeUSB with graphical interfase, please, install woeusb-ng package.
%description -l ru_RU.UTF-8
пёя┌п╦п╩п╦я┌п╟, п╨п╬я┌п╬я─п╟я▐ п©п╬п╪п╬п╤п╣я┌ я│п╬п╥п╢п╟я┌я▄ п╥п╟пЁя─я┐п╥п╬я┤п╫я▀п╧ п╫п╬я│п╦я┌п╣п╩я▄ я│ п·п║ Windows п╦п╥ п╬п╠я─п╟п╥п╟
п╦п╩п╦ я─п╣п╟п╩я▄п╫п╬пЁп╬ п╢п╦я│п╨п╟.
п▓п╫п╦п╪п╟п╫п╦п╣! п■п╩я▐ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ WoeUSB я│ пЁя─п╟я└п╦я┤п╣я│п╨п╦п╪ п╦п╫я┌п╣я─я└п╣п╧я│п╬п╪, п©п╬п╤п╟п╩я┐п╧я│я┌п╟,
я┐я│я┌п╟п╫п╬п╡п╦я┌п╣ п©п╟п╨п╣я┌ woeusb-ng.
%prep
%setup -n %name-%version
%build
find ./* -type f -exec sed -i "s/ at at WOEUSB_VERSION at at /%{version}/g" {} \+
for shell in ./sbin/woeusb
do
sed -i '1s|!/usr/bin/env bash|!/bin/bash|' $shell
done
%install
install -d -m 777 %buildroot%_bindir
install -m 755 sbin/woeusb %buildroot%_bindir/woeusb
mkdir -p -m 777 %buildroot%_man1dir
install -m 444 ./share/man/man1/woeusb.1 %buildroot%_man1dir/woeusb.1
%files
%doc LICENSES/GPL-3.0-or-later.txt
%_bindir/woeusb
%_man1dir/woeusb.1.xz
%changelog
…
Полный changelog можно просмотреть здесь