Sisyphus repository
Last update: 19 june 2019 | SRPMs: 17691 | Visits: 14142740
en ru br
ALT Linux repos
S:2.6.1.0-alt2

Group :: Archiving/Other
RPM: rosa-imagewriter

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 


Name: rosa-imagewriter
Version: 2.6.1.0
Release: alt1
Summary: Utility for writing raw disk images and hybrid isos to USB keys

License: GPLv3
Group: Archiving/Other
URL: https://abf.io/soft/rosa-imagewriter

Packager:   Andrey Cherepanov <cas at altlinux.org>

Source: %name-%version.tar
Source1: %name.desktop
Patch: %name-%version-%release.patch

BuildRequires:  gcc-c++
BuildRequires:  qt5-base-devel
BuildRequires:  qt5-tools
BuildRequires:  libudev-devel

%description
Utility for writing raw disk images and hybrid isos to USB keys.
Based on SUSE Studio Imagewriter.

%prep
%setup -q
%patch -p1

%build
DESTDIR=%buildroot PREFIX=/usr %qmake_qt5 RosaImageWriter.pro
%make_build

%install
# .pro file does not contain install executable, install manually
install -D -m0755 RosaImageWriter %buildroot%_bindir/RosaImageWriter
ln -s RosaImageWriter %buildroot%_bindir/rosa-imagewriter

# install translations

PATH=/usr/share/qt5/bin/:$PATH lang/build-translations %buildroot%_datadir/%name

# install desktop file and icons

install -D -m0644 %SOURCE1 %buildroot%_desktopdir/%{name}.desktop
for size in 16 32; do \
install -D -m0644 res/src/icon-rosa-base-${size}.png \
%buildroot%_iconsdir/hicolor/${size}x${size}/apps/rosa-imagewriter.png
done

%files
%doc doc/*.html
%_bindir/*
%_datadir/%name/*
%_desktopdir/*.desktop
%_iconsdir/hicolor/*/apps/%name.png

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin