File python-twisted-xish.spec of Package python-twisted-xish

#
# spec file for package python-twisted-xish (Version 0.1.0)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           python-twisted-xish
BuildRequires:  python-devel python-twisted
Summary:        Twisted Xish
Version:        0.1.0
Release:        30
%define tarname TwistedXish
Source:         %{tarname}-%{version}.tar.bz2
Source1:        _version.py
License:        X11/MIT
Group:          Development/Languages/Python
Url:            http://twistedmatrix.com/projects/xish/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       python-twisted
%{py_requires}

%description
Xish is XML-ish.



Authors:
--------
    twisted-python@twistedmatrix.com

%prep
%setup -n %{tarname}-%{version}
cp %{S:1} twisted/xish

%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --record-rpm=INSTALLED_FILES --root="$RPM_BUILD_ROOT"

%clean
rm -rf "$RPM_BUILD_ROOT"

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc LICENSE README NEWS

%changelog -n python-twisted-xish
* Thu Oct 26 2006 - jmatejek@suse.cz
- added _version.py necessary for Twisted 2.4 build process
* Tue Feb 28 2006 - jmatejek@suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Apr 14 2005 - mcihar@suse.cz
- new package (split Twisted according to upstream)
openSUSE Build Service is sponsored by