File python-dialog.spec of Package python-dialog

#
# spec file for package python-dialog (Version 2.7)
#
# 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-dialog
BuildRequires:  python-devel
%define tarname pythondialog
Summary:        A Python interface to the Unix dialog utility
Version:        2.7
Release:        8
Source0:        %{tarname}-%{version}.tar.bz2
License:        LGPL
Group:          Development/Libraries/Python
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Prefix:         %{_prefix}
URL:            http://pythondialog.sourceforge.net/

%py_requires

%description
A Python interface to the Unix dialog utility, designed to provide an
easy, pythonic and as complete as possible way to use the dialog
features from Python code.



Authors:
--------
    Peter Astrand <peter@cendio.se> (current maintainer)
    Robb Shecter <robb@acm.org>
    Sultanbek Tezadov (http://sultan.da.ru/)
    Florent Rougon <flo@via.ecp.fr>

%prep
%setup -n %{tarname}-%{version}

%build
rm setup.cfg
CFLAGS="$RPM_OPT_FLAGS" python setup.py build

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

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc AUTHORS PKG-INFO  TODO demo.py COPYING README

%changelog -n python-dialog
* 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
* Wed Feb 09 2005 - mcihar@suse.cz
- update to 2.7
* Wed Aug 04 2004 - mcihar@suse.cz
- updated to 2.06
- use %%py_requires
* Thu Oct 16 2003 - mcihar@suse.cz
- inital packaging
openSUSE Build Service is sponsored by