2010-06-28 10:55:16 +00:00
|
|
|
#
|
2011-12-07 14:33:04 +00:00
|
|
|
# spec file for package python-zdaemon
|
2010-06-28 10:55:16 +00:00
|
|
|
#
|
2011-12-07 14:33:04 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-06-28 10:55:16 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
%define modname zdaemon
|
|
|
|
|
|
|
|
|
|
Name: python-zdaemon
|
|
|
|
|
Version: 2.0.4
|
2011-12-07 14:33:04 +00:00
|
|
|
Release: 0
|
2010-06-28 10:55:16 +00:00
|
|
|
Summary: Daemon process control library and tools
|
2011-12-07 14:33:04 +00:00
|
|
|
License: ZPL-2.0 ; ZPL-2.1
|
2010-06-28 10:55:16 +00:00
|
|
|
Group: Development/Libraries/Python
|
2011-12-07 14:33:04 +00:00
|
|
|
Url: http://pypi.python.org/pypi/zdaemon
|
2010-06-28 10:55:16 +00:00
|
|
|
Source: %{modname}-%{version}.tar.bz2
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
%{py_requires}
|
2011-12-07 14:33:04 +00:00
|
|
|
BuildRequires: python-devel
|
|
|
|
|
BuildRequires: python-setuptools
|
2010-06-28 10:55:16 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
zdaemon is a Python package which provides APIs for managing
|
|
|
|
|
applications run as daemons. Its principal use to date has been to
|
|
|
|
|
manage the application server and storage server daemons for Zope / ZEO,
|
|
|
|
|
although it is not limited to running Python-based applications
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{modname}-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
|
python setup.py build
|
|
|
|
|
|
|
|
|
|
%install
|
2010-11-15 17:27:34 +00:00
|
|
|
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
|
2010-06-28 10:55:16 +00:00
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files -f INSTALLED_FILES
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc README.txt CHANGES.txt
|
|
|
|
|
|
|
|
|
|
%changelog
|