fixed desktop entry icon and category [release 1.0.5-2mamba;Sun Jan 03 2010]
This commit is contained in:
parent
6f92f0fb39
commit
031a96a9d3
@ -1,2 +1,6 @@
|
||||
# qtemu
|
||||
|
||||
QtEmu is a graphical user interface for QEMU written in Qt4.
|
||||
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.
|
||||
|
||||
|
87
qtemu.spec
Normal file
87
qtemu.spec
Normal file
@ -0,0 +1,87 @@
|
||||
Name: qtemu
|
||||
Version: 1.0.5
|
||||
Release: 2mamba
|
||||
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: http://qtemu.org/
|
||||
Source: http://switch.dl.sourceforge.net/sourceforge/qtemu/qtemu-%{version}.tar.bz2
|
||||
License: GPL
|
||||
BuildRequires: libqt4-devel >= 4.2.2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
QtEmu is a graphical user interface for QEMU written in Qt4.
|
||||
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.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#%setup -q -n %{name}-%{version}
|
||||
#%setup -q -n %{name}
|
||||
|
||||
%build
|
||||
qmake-qt4
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
#%makeinstall
|
||||
install -D -m0755 qtemu %{buildroot}%{_datadir}/qtemu/qtemu
|
||||
cp -a help translations %{buildroot}%{_datadir}/qtemu/
|
||||
|
||||
install -d %{buildroot}%{_bindir}
|
||||
ln -s %{_datadir}/qtemu/qtemu %{buildroot}%{_bindir}/qtemu
|
||||
|
||||
install -D -m0644 images/qtemu.ico %{buildroot}%{_datadir}/pixmaps/qtemu.ico
|
||||
|
||||
# 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
|
||||
[ "%{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.ico
|
||||
%doc COPYING ChangeLog README
|
||||
|
||||
%changelog
|
||||
* 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
|
Loading…
Reference in New Issue
Block a user