update to 2.1 [release 2.1-1mamba;Fri May 21 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 17:18:12 +01:00
parent 09aca1f245
commit 891cb9bc16
2 changed files with 26 additions and 37 deletions

View File

@ -1,6 +1,6 @@
# qtemu # qtemu
QtEmu is a graphical user interface for QEMU written in Qt4. QtEmu is a graphical user interface for QEMU written in Qt.
It has the ability to run virtual operating systems on native systems. It has the ability to run virtual operating systems on native systems.
This way you can easily test a new operating system or try a Live CD on your system without any troubles and dangers. This way you can easily test a new operating system or try a Live CD on your system without any troubles and dangers.

View File

@ -1,60 +1,46 @@
Name: qtemu Name: qtemu
Version: 1.0.5 Version: 2.1
Release: 3mamba Release: 1mamba
Summary: A graphical user interface for QEMU written in Qt4 Summary: A graphical user interface for QEMU written in Qt4
Group: Graphical Desktop/Applications/Utilities Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://qtemu.org/ URL: https://qtemu.org/
Source: http://downloads.sourceforge.net/sourceforge/qtemu/qtemu-%{version}.tar.bz2 Source: https://gitlab.com/qtemu/gui/-/archive/%{version}/gui-%{version}.tar.bz2
License: GPL License: GPL
BuildRequires: libqt4-devel >= 4.2.2 ## AUTOBUILDREQ-BEGIN
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
%description %description
QtEmu is a graphical user interface for QEMU written in Qt4. QtEmu is a graphical user interface for QEMU written in Qt.
It has the ability to run virtual operating systems on native systems. It has the ability to run virtual operating systems on native systems.
This way you can easily test a new operating system or try a Live CD on your system without any troubles and dangers. This way you can easily test a new operating system or try a Live CD on your system without any troubles and dangers.
%debug_package
%prep %prep
%setup -q %setup -q -n gui-%{version}
#%setup -q -n %{name}-%{version}
#%setup -q -n %{name}
%build %build
qmake-qt4 %{_qt5_qmake}
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
#%makeinstall
install -D -m0755 qtemu %{buildroot}%{_datadir}/qtemu/qtemu install -D -m0755 qtemu %{buildroot}%{_datadir}/qtemu/qtemu
cp -a help translations %{buildroot}%{_datadir}/qtemu/ cp -a translations %{buildroot}%{_datadir}/qtemu/
install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_bindir}
ln -s %{_datadir}/qtemu/qtemu %{buildroot}%{_bindir}/qtemu ln -s %{_datadir}/qtemu/qtemu %{buildroot}%{_bindir}/qtemu
install -D -m0644 images/qtemu.ico %{buildroot}%{_datadir}/pixmaps/qtemu.ico install -D -m0644 qtemu.desktop %{buildroot}%{_datadir}/applications/qtemu.desktop
install -D -m0644 qtemu.png %{buildroot}%{_datadir}/pixmaps/qtemu.png
# Create the system menu entry
mkdir -p %{buildroot}%{_datadir}/applications/
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
[Desktop Entry]
Name=QtEmu
Comment=QtEmu - a graphical interface for QEmu
Comment[it]=QtEmu - interfaccia grafica per QEmu
GenericName=QtEmu - a graphical interface for QEmu
GenericName[it]=QtEmu - interfaccia grafica per QEmu
Exec=qtemu
Icon=%{_datadir}/pixmaps/qtemu.ico
Terminal=0
Type=Application
Categories=Application;Emulator;System
X-KDE-StartupNotify=false
EOF
chmod 755 %{buildroot}%{_datadir}/applications/%{name}.desktop
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -64,13 +50,16 @@ chmod 755 %{buildroot}%{_datadir}/applications/%{name}.desktop
%{_bindir}/qtemu %{_bindir}/qtemu
%dir %{_datadir}/qtemu %dir %{_datadir}/qtemu
%{_datadir}/qtemu/qtemu %{_datadir}/qtemu/qtemu
%{_datadir}/qtemu/help/* #%{_datadir}/qtemu/help/*
%{_datadir}/qtemu/translations/* %{_datadir}/qtemu/translations/*
%{_datadir}/applications/qtemu.desktop %{_datadir}/applications/qtemu.desktop
%{_datadir}/pixmaps/qtemu.ico %{_datadir}/pixmaps/qtemu.png
%doc COPYING ChangeLog README %doc LICENSE.md
%changelog %changelog
* Fri May 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1-1mamba
- update to 2.1
* Wed Jul 24 2019 Automatic Build System <autodist@mambasoft.it> 1.0.5-3mamba * Wed Jul 24 2019 Automatic Build System <autodist@mambasoft.it> 1.0.5-3mamba
- automatic rebuild by autodist - automatic rebuild by autodist