Compare commits

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

4 commits

Author SHA1 Message Date
Fedora Release Engineering
e64a3caa23 dist-git conversion 2010-07-29 15:41:57 +00:00
Bill Nottingham
46ac937ccf Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:30:47 +00:00
Deji Akingunola
826cfc57bb Initial import 2008-06-28 22:22:19 +00:00
19d3218dda Initialize branch F-8 for xesam-tools 2008-06-27 23:26:46 +00:00
5 changed files with 56 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
xesam-tools-0.6.1.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: xesam-tools
# $Id$
NAME := xesam-tools
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)

View file

@ -0,0 +1 @@
00f2b2b0ed3f5336115a0c029eb1cd38 xesam-tools-0.6.1.tar.gz

54
xesam-tools.spec Normal file
View file

@ -0,0 +1,54 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Summary: A toolkit for Xesam compliant services
Name: xesam-tools
Version: 0.6.1
Release: 1%{?dist}
License: LGPLv2
Group: Applications/System
URL: http://xesam.org/main
Source0: http://xesam.org/people/kamstrup/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel
BuildArch: noarch
%description
xesam-tools provides Python packages to interface with Xesam
compliant services as well as a command line tool to use directly.
It also features a framework for easily implementing xesam compliant
servers via the xesam.server package. There are two examples bundled
with this distribution. Namely demo/xesam-yahoo-service and
demo/xesam-dummy-service. Both include a small header describing
their usage.
The implementation uses gobject and the Python dbus bindings for the gobject
mainloop. There's no gui, only a command line application (xesam-tool).
%prep
%setup -q
%build
%{__python} setup.py build
%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
chmod 0644 demo/xesam-yahoo-service demo/xesam-dummy-service
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root, -)
%doc AUTHORS ChangeLog COPYING README
%doc demo/xesam-yahoo-service demo/xesam-dummy-service
%{_bindir}/xesam-tool
%{python_sitelib}/xesam/
%{python_sitelib}/xesam*.egg-info
%changelog
* Mon May 12 2008 Deji Akingunola <dakingun@gmail.com> - 0.6.1-1
- Initial packaging for Fedora.