- split python module to -python subpackage (Yanko Kaneti)

- fix summary
This commit is contained in:
Miroslav Lichvar 2007-06-25 11:44:04 +00:00
parent 2c4ddac295
commit d2b4bbeab9

View File

@ -1,7 +1,8 @@
Summary: A development library for text mode user interfaces
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Summary: A library for text mode user interfaces
Name: newt
Version: 0.52.7
Release: 1%{?dist}
Release: 2%{?dist}
License: LGPL
Group: System Environment/Libraries
# The source for this package was pulled from upstream's vcs. Use the
@ -47,6 +48,15 @@ newt.
The newt-static package contains the static version of the newt library.
Install it if you need to link statically with libnewt.
%package python
Summary: Python bindings for newt
Group: Development/Libraries
Requires: newt = %{version}-%{release}
%description python
The newt-python package contains the Python bindings for the newt library
providing a python API for creating text mode ionterfaces.
%prep
%setup -q
@ -75,19 +85,29 @@ rm -rf $RPM_BUILD_ROOT
%doc COPYING
%{_bindir}/whiptail
%{_libdir}/libnewt.so.*
%{_libdir}/python?.?/site-packages/*
%{_mandir}/man1/whiptail.1*
%files devel
%defattr (-,root,root)
%doc tutorial.sgml peanuts.py popcorn.py
%doc tutorial.sgml
%{_includedir}/newt.h
%{_libdir}/libnewt.so
%files static
%defattr(-,root,root)
%{_libdir}/libnewt.a
%files python
%defattr(-,root,root)
%doc peanuts.py popcorn.py
%{python_sitearch}/*.so
%{python_sitearch}/*.py*
%changelog
* Mon Jun 25 2007 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.7-2
- split python module to -python subpackage (Yanko Kaneti)
- fix summary
* Fri Jun 15 2007 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.7-1
- add support to snack for multiple selection and border in listbox
and cursorAtEnd in entry (patch by Shawn Starr)