qtemu/qtemu.spec

80 lines
2.3 KiB
RPMSpec

Name: qtemu
Version: 2.1
Release: 1mamba
Summary: A graphical user interface for QEMU written in Qt4
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://qtemu.org/
Source: https://gitlab.com/qtemu/gui/-/archive/%{version}/gui-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
%description
QtEmu is a graphical user interface for QEMU written in Qt.
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.
%debug_package
%prep
%setup -q -n gui-%{version}
%build
%{_qt5_qmake}
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m0755 qtemu %{buildroot}%{_datadir}/qtemu/qtemu
cp -a translations %{buildroot}%{_datadir}/qtemu/
install -d %{buildroot}%{_bindir}
ln -s %{_datadir}/qtemu/qtemu %{buildroot}%{_bindir}/qtemu
install -D -m0644 qtemu.desktop %{buildroot}%{_datadir}/applications/qtemu.desktop
install -D -m0644 qtemu.png %{buildroot}%{_datadir}/pixmaps/qtemu.png
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/qtemu
%dir %{_datadir}/qtemu
%{_datadir}/qtemu/qtemu
#%{_datadir}/qtemu/help/*
%{_datadir}/qtemu/translations/*
%{_datadir}/applications/qtemu.desktop
%{_datadir}/pixmaps/qtemu.png
%doc LICENSE.md
%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
- automatic rebuild by autodist
* Sun Jan 03 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-2mamba
- fixed desktop entry icon and category
* Tue Jan 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-1mamba
- automatic update by autodist
* Tue Aug 21 2007 Tiziana Ferro <tiziana.ferro@email.it> 1.0.4-2mamba
- Added system menu entry
* Sun Jul 22 2007 Tiziana Ferro <tiziana.ferro@email.it> 1.0.4-1mamba
- update to 1.0.4
* Sat Mar 10 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-1qilnx
- package created by autospec