Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Fedora Release Engineering
1d954a4976 dist-git conversion 2010-07-29 16:27:37 +00:00
Bill Nottingham
8c286009d5 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:08:48 +00:00
David Nalley
d7b968b7fb - Made changes suggested by ianweller to fix cvs issues 2009-01-19 12:38:00 +00:00
David Nalley
d263096361 - Initial upload 2009-01-16 22:41:10 +00:00
ee53473c8b Initialize branch F-10 for zapplet 2009-01-15 20:13:57 +00:00
6 changed files with 56 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
zapplet-0.1.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: zapplet
# $Id$
NAME := zapplet
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

2
README.fedora Normal file
View file

@ -0,0 +1,2 @@
To have Zapplet start on login use the following command as root:
'cp /usr/share/applications/zapplet.desktop /etc/xdg/autostart/zapplet.desktop'

View file

@ -0,0 +1 @@
d12db237f805d6711d8d720080e06eaa zapplet-0.1.tar.gz

52
zapplet.spec Normal file
View file

@ -0,0 +1,52 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: zapplet
Version: 0.1
Release: 4%{dist}
Summary: Zenoss Tray Applet
Group: Applications/Communications
License: GPLv2+
URL: http://zapplet.sourceforge.net
Source0: http://downloads.sourceforge.net/zapplet/zapplet-%{version}.tar.gz
Source1: http://ke4qqq.fedorapeople.org/zapplet/README.fedora
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python
BuildRequires: python-setuptools-devel
BuildRequires: desktop-file-utils
Requires: pygtk2
BuildArch: noarch
%description
Zapplet is a tray applet for monitoring aspects of Zenoss from the desktop.
%prep
%setup -q -n zapplet-%{version}
cp %{SOURCE1} ./README.fedora
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
desktop-file-install --add-category="Network" --dir=%{buildroot}%{_datadir}/applications zapplet.desktop
rm -rf %{buildroot}%{_sysconfdir}/xdg/autostart/zapplet.desktop
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{python_sitelib}/*
%{_bindir}/%{name}
%{_datadir}/applications/zapplet.desktop
%doc README.fedora
%changelog
* Mon Jan 19 2009 David Nalley <david@gnsa.us> 0.1-4
- Made changes suggested by ianweller to fix cvs issues
* Sun Dec 28 2008 David Nalley <david@gnsa.us> 0.1-3
- Made changes suggested by Brian Pepple
* Sat Dec 27 2008 David Nalley <david@gnsa.us> 0.1-2
- Making corrections suggested by Fabian Affolter
* Sun Dec 14 2008 David Nalley <david@gnsa.us> 0.1-1
- Initial packaging efforts