rpms/qemu-launcher/devel qemu-launcher-1.7.4.patch, NONE, 1.1 qemu-launcher.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Nicholas Boyle (nboyle) fedora-extras-commits at redhat.com
Sat Dec 8 02:22:12 UTC 2007


Author: nboyle

Update of /cvs/pkgs/rpms/qemu-launcher/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15907/devel

Modified Files:
	.cvsignore sources 
Added Files:
	qemu-launcher-1.7.4.patch qemu-launcher.spec 
Log Message:
Initial package import


qemu-launcher-1.7.4.patch:

--- NEW FILE qemu-launcher-1.7.4.patch ---
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;


--- NEW FILE qemu-launcher.spec ---
Name:      qemu-launcher
Version:   1.7.4
Release:   3%{?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

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
%patch -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 --vendor fedora --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
* 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


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/qemu-launcher/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	8 Dec 2007 00:57:14 -0000	1.1
+++ .cvsignore	8 Dec 2007 02:21:39 -0000	1.2
@@ -0,0 +1 @@
+qemu-launcher_1.7.4.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/qemu-launcher/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Dec 2007 00:57:14 -0000	1.1
+++ sources	8 Dec 2007 02:21:39 -0000	1.2
@@ -0,0 +1 @@
+bd71fd543bd2723c7ea54de81f7ccabf  qemu-launcher_1.7.4.tar.gz




More information about the fedora-extras-commits mailing list