Sisyphus repository
Last update: 27 january 2020 | SRPMs: 17473 | Visits: 17144023
en ru br
ALT Linux repos
S:2.0-alt0.1.1.qa4
5.0: 1.0.5-alt2
4.1: 1.0.5-alt2
4.0: 1.0.5-alt0.M40.1

Group :: Emulators
RPM: qtemu

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

BuildRequires: desktop-file-utils
Name: qtemu
Version: 2.0
Release: alt0.1.1.qa4

Summary: QtEmu is a graphical user interface for QEMU written in Qt4
Summary(ru_RU.UTF-8): QtEmu - графический интерфейс для QEMU, написаный на Qt4
License: GPL
Group: Emulators
Url: http://qtemu.org

Packager: Alexey Morsov <swi at altlinux.ru>
Source: %name-%version.tar
Source1: %name.desktop
Patch0: qtemu-help-transl-alt.patch
Patch1: qtemu-alt-qt4.patch
Patch2: qtemu-alt-DSO.patch
Patch3: qtemu-2.0-alt-glibc-2.16.patch


# Automatically added by buildreq on Wed Sep 12 2007

BuildRequires: gcc-c++ libSM-devel libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel libqt4-devel
BuildPreReq: cmake
BuildPreReq: libvncserver-devel

Requires: qemu

%description
QtEmu is a graphical user interface for QEMU written in Qt4.

%description -l ru_RU.UTF8
QtEmu - графический интерфейс для QEMU, написаный на Qt4.  

%prep
%setup -q
%patch0 -p1
%patch1 -p2
%patch2 -p2
%patch3 -p0

#subst 's|DESTINATION translations|DESTINATION %_datadir/qt4/translations/|g' CMakeLists.txt

#subst 's|DESTINATION help|DESTINATION %_docdir/%name-%version/|g' CMakeLists.txt

%build
cmake -DCMAKE_INSTALL_PREFIX=%_usr -DQT_QMAKE_EXECUTABLE=%_qt4dir/bin/qmake .
%make_build VERBOSE=1

%install
%make_install DESTDIR=%buildroot install
%find_lang %name

mkdir -p %buildroot%_desktopdir
cp %SOURCE1 %buildroot%_desktopdir/
mkdir -p %buildroot%_niconsdir
cp images/oxygen/%name.png %buildroot%_niconsdir/
desktop-file-install --dir %buildroot%_desktopdir \
--remove-category=Utility \
--add-category=System \
--add-category=Emulator \
%buildroot%_desktopdir/qtemu.desktop

%files -f %name.lang
%_bindir/*
%_datadir/%{name}/translations/*
%_datadir/%{name}/help/*
%_desktopdir/*
%_niconsdir/*
%doc COPYING CHANGELOG README help/

%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