ALT repositories
Last updated at Sat, 06 Jun 2020 00:47:39 +0000 | SRPMs: 16795
en ru
SRPMs in branches
hide window
  • 1.10-alt3.M70P.1
  • 1.10-alt3.M70P.1
  • 1.10-alt3.M60T.1
  • 1.10-alt3.M60T.1
Group :: Archiving/Other
Source RPM: imagewriter
Raw spec file

%define definedbackend USEUDISKS
# ACHTUNG!!! Disable udisks for ALT >= 7 and enable for ALT 6

%def_disable udisks
%if_disabled udisks
%define definedbackend USEUDISKS2
%endif

Name: imagewriter
Summary: SUSE Imagewriter
Version: 1.10
Release: alt4
Url: https://github.com/mbarringer/imagewriter
Group: Archiving/Other
License: GPLv2
Source: imagewriter-%version.tar.gz
Patch1: imagewriter-add-missing-i18n.patch
Patch2: imagewriter-add-russian-localization.patch

BuildRequires: gcc-c++ libqt4-devel

%if_disabled udisks
Requires: udisks2
%else
Requires: udisks
%endif

%description
SUSE Imagewriter is a graphical utility for writing raw disk images & hybrid isos to USB keys

%prep
%setup
%patch1 -p2
%patch2 -p2
# Generate localization files

lrelease-qt4 imagewriter.pro

%build
qmake-qt4 "QMAKE_CFLAGS+=%optflags -DKIOSKHACK" "QMAKE_CXXFLAGS+=%optflags -DKIOSKHACK" PREFIX=%_prefix DEFINES=%definedbackend imagewriter.pro
%make_build

%install
make INSTALL_ROOT=%buildroot install

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

%changelog
* Fri Mar 14 2014 Andrey Cherepanov <cas at altlinux.org> 1.10-alt4
- Add Russian localization

* Mon Jan 13 2014 Motsyo Gennadi <drool at altlinux.ru> 1.10-alt3
- fix switching UDISKS/UDISKS2 support and udisks/udisks2 requires

* Mon Jan 13 2014 Motsyo Gennadi <drool at altlinux.ru> 1.10-alt2
- update from git (fix UDISKS2 support)

* Sun Jan 12 2014 Motsyo Gennadi <drool at altlinux.ru> 1.10-alt1
- initial build for ALT Linux from RHEL pakcage
 
The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.