[qemu-launcher/f18] Revert "Upstream is dead for almost 6 years"

Cole Robinson crobinso at fedoraproject.org
Sat Aug 31 15:36:03 UTC 2013


commit 0e113e53ded90bf16c556c7263bdbcb2c6fe7e96
Author: Cole Robinson <crobinso at redhat.com>
Date:   Sat Aug 31 11:35:06 2013 -0400

    Revert "Upstream is dead for almost 6 years"
    
    This reverts commit e72c77c3192d4edc5380c1ba9730a02299bdc18c.
    
    Forgot you aren't supposed to retire on active branches

 .gitignore                |    1 +
 dead.package              |    1 -
 qemu-launcher-1.7.4.patch |   63 ++++++++++++++++++++++
 qemu-launcher.spec        |  126 +++++++++++++++++++++++++++++++++++++++++++++
 sources                   |    1 +
 5 files changed, 191 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..058ffad
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+qemu-launcher_1.7.4.tar.gz
diff --git a/qemu-launcher-1.7.4.patch b/qemu-launcher-1.7.4.patch
new file mode 100644
index 0000000..d2c4430
--- /dev/null
+++ b/qemu-launcher-1.7.4.patch
@@ -0,0 +1,63 @@
+diff -Naur qemu-launcher-1.7.4/Makefile qemu-launcher-1.7.4-diff/Makefile
+--- qemu-launcher-1.7.4/Makefile	2007-06-09 15:54:36.000000000 -0400
++++ qemu-launcher-1.7.4-diff/Makefile	2007-12-04 22:33:46.000000000 -0500
+@@ -38,35 +38,35 @@
+ 
+ install: targets
+ 	install -d $(DESTDIR)$(BINDIR)
+-	install -m755 $(EXECUTABLE) $(DESTDIR)$(BINDIR)
++	install -p -m755 $(EXECUTABLE) $(DESTDIR)$(BINDIR)
+ 
+ 	install -d $(DESTDIR)$(SHAREDIR)
+-	install -m644 icons/qemu-launcher-48x48.png $(DESTDIR)$(SHAREDIR)/qemulauncher.png
+-	install -m644 icons/qemu-launcher-16x16.png $(DESTDIR)$(SHAREDIR)/window-icon.png
+-	install -m644 $(GLADEXML) $(DESTDIR)$(SHAREDIR)
++	install -p -m644 icons/qemu-launcher-48x48.png $(DESTDIR)$(SHAREDIR)/qemulauncher.png
++	install -p -m644 icons/qemu-launcher-16x16.png $(DESTDIR)$(SHAREDIR)/window-icon.png
++	install -p -m644 $(GLADEXML) $(DESTDIR)$(SHAREDIR)
+ 
+ 	install -d $(DESTDIR)$(DOCSDIR)
+-	install -m644 $(DOCS) $(DESTDIR)$(DOCSDIR)
++	install -p -m644 $(DOCS) $(DESTDIR)$(DOCSDIR)
+ 
+ 	install -d $(DESTDIR)$(MANDIR)
+-	install -m644 $(MANPAGE) $(DESTDIR)$(MANDIR)
++	install -p -m644 $(MANPAGE) $(DESTDIR)$(MANDIR)
+ 	gzip --best $(DESTDIR)$(MANDIR)/$(MANPAGE)
+ 
+ 	install -d $(DESTDIR)$(APPLICATIONSDIR)
+-	install -m644 $(MENUFILE) $(DESTDIR)$(APPLICATIONSDIR)
++	install -p -m644 $(MENUFILE) $(DESTDIR)$(APPLICATIONSDIR)
+ 
+ 	install -d $(DESTDIR)$(PIXMAPSDIR)
+-	install -m644 icons/qemu-launcher-16x16.xpm $(DESTDIR)$(PIXMAPSDIR)
+-	install -m644 icons/qemu-launcher-32x32.xpm $(DESTDIR)$(PIXMAPSDIR)
++	install -p -m644 icons/qemu-launcher-16x16.xpm $(DESTDIR)$(PIXMAPSDIR)
++	install -p -m644 icons/qemu-launcher-32x32.xpm $(DESTDIR)$(PIXMAPSDIR)
+ 
+ 	install -d $(DESTDIR)$(ICONSDIR)/scalable/apps
+-	install -m644 icons/qemu-launcher.svg $(DESTDIR)$(ICONSDIR)/scalable/apps/qemu-launcher.svg
++	install -p -m644 icons/qemu-launcher.svg $(DESTDIR)$(ICONSDIR)/scalable/apps/qemu-launcher.svg
+ 
+ 	install -d $(DESTDIR)$(ICONSDIR)/16x16/apps
+-	install -m644 icons/qemu-launcher-16x16.png $(DESTDIR)$(ICONSDIR)/16x16/apps/qemu-launcher.png
++	install -p -m644 icons/qemu-launcher-16x16.png $(DESTDIR)$(ICONSDIR)/16x16/apps/qemu-launcher.png
+ 
+ 	install -d $(DESTDIR)$(ICONSDIR)/48x48/apps
+-	install -m644 icons/qemu-launcher-48x48.png $(DESTDIR)$(ICONSDIR)/48x48/apps/qemu-launcher.png
++	install -p -m644 icons/qemu-launcher-48x48.png $(DESTDIR)$(ICONSDIR)/48x48/apps/qemu-launcher.png
+ 
+ 	for POFILE in $(POFILES) ;\
+ 	do \
+diff -Naur qemu-launcher-1.7.4/qemu-launcher.desktop qemu-launcher-1.7.4-diff/qemu-launcher.desktop
+--- qemu-launcher-1.7.4/qemu-launcher.desktop	2007-06-09 15:54:36.000000000 -0400
++++ qemu-launcher-1.7.4-diff/qemu-launcher.desktop	2007-12-04 22:26:28.000000000 -0500
+@@ -7,6 +7,6 @@
+ Exec=qemu-launcher
+ Terminal=false
+ Type=Application
+-Icon=qemu-launcher.svg
++Icon=qemu-launcher
+ StartupNotify=true
+-Categories=Application;Emulator;Utility
++Categories=System;
diff --git a/qemu-launcher.spec b/qemu-launcher.spec
new file mode 100644
index 0000000..53c9be0
--- /dev/null
+++ b/qemu-launcher.spec
@@ -0,0 +1,126 @@
+Name:      qemu-launcher
+Version:   1.7.4
+Release:   13%{?dist}
+Summary:   A graphical front-end to Qemu virtual machines
+
+Group:     Applications/Emulators
+License:   GPLv2+
+URL:       https://gna.org/projects/qemulaunch/
+
+Source0:   http://download.gna.org/qemulaunch/1.7.x/%{name}_%{version}.tar.gz
+#Patch0 changes:
+# qemu-launcher.desktop: Removed file extension from Icon, changed Categories
+#   to System
+# Makefile: "install" commands given -p switch to preserve timestamps
+Patch0:    %{name}-%{version}.patch
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+BuildArch: noarch
+ExcludeArch: ppc64
+
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+BuildRequires: libxml2
+Requires:      qemu
+Requires:      perl-Gtk2-GladeXML
+Requires:      perl-gettext
+
+%description
+Qemu Launcher provides a graphical front-end to all basic, and many advanced
+QEMU computer emulator options. It allows you to create, save, and run multiple
+virtual machine configurations, create and convert disk images.
+
+%prep
+%setup -q
+%patch0 -p1
+
+
+%build
+make PREFIX=%{_prefix} %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+make install                                 \
+  PREFIX=%{_prefix} DESTDIR=%{buildroot}     \
+  DOCSDIR="." #Install docs in cwd, and catch them with %doc below
+desktop-file-install \
+%if 0%{?fedora}  && 0%{?fedora} < 19
+  --vendor fedora \
+%endif
+  --delete-original  \
+  --dir %{buildroot}/%{_datadir}/applications/          \
+  %{buildroot}/%{_datadir}/applications/%{name}.desktop
+%find_lang %{name}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
+
+%postun
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc Changelog COPYING README TODO
+%{_bindir}/*
+%{_datadir}/%{name}
+%{_datadir}/applications/*
+%{_datadir}/pixmaps/*
+%{_datadir}/icons/hicolor/*/apps/*
+%{_mandir}/man1/*
+
+
+%changelog
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7.4-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Thu Jul 18 2013 Petr Pisar <ppisar at redhat.com> - 1.7.4-12
+- Perl 5.18 rebuild
+
+* Fri Feb 22 2013 Toshio Kuratomi <toshio at fedoraproject.org> - 1.7.4-11
+- Remove --vendor from desktop-file-install https://fedorahosted.org/fesco/ticket/1077
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7.4-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7.4-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7.4-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7.4-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7.4-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sun Sep 21 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.7.4-5
+- Fix Patch0:/%%patch mismatch.
+
+* Sat Dec 09 2007 Nicholas Boyle <nsboyle at gmail.com> - 1.7.4-4
+- Added ExcludeArch: ppc64, as there is no ppc64 build for qemu
+* Tue Dec 04 2007 Nicholas Boyle <nsboyle at gmail.com> - 1.7.4-3
+- Clean after build now correctly removes buildroot
+- Package now takes ownership of directories it creates
+- Patched Makefile to preserve timestamps on files during install
+- Included source tarball with original timestamps
+* Sat Dec 01 2007 Nicholas Boyle <nsboyle at gmail.com> - 1.7.4-2
+- Changed BuildArch to noarch
+- Changed PREFIX and doc installation behavior during make and make install
+  rather than patching the Makefile
+- Changed package Group to Applications/Emulators
+* Sun Nov 25 2007 Nicholas Boyle <nsboyle at gmail.com> - 1.7.4-1
+- Initial Fedora packaging
diff --git a/sources b/sources
new file mode 100644
index 0000000..b594319
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+bd71fd543bd2723c7ea54de81f7ccabf  qemu-launcher_1.7.4.tar.gz


More information about the scm-commits mailing list