forked from pool/python-pmw
Python megawidgets is a toolkit for building high-level compound widgets in Python using the Tkinter module OBS-URL: https://build.opensuse.org/request/show/72544 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pmw?expand=0&rev=1
67 lines
2.0 KiB
RPMSpec
67 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: python-pmw
|
|
BuildRequires: python
|
|
BuildRequires: fdupes
|
|
Version: 1.3.2
|
|
Release: 0
|
|
License: MIT
|
|
Summary: High-level compound widgets in Python using the Tkinter module
|
|
Url: http://pmw.sourceforge.net/
|
|
Group: Development/Libraries/Python
|
|
Source: %{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
AutoReqProv: on
|
|
BuildArch: noarch
|
|
Patch: 1-extra-test.patch
|
|
%{py_requires}
|
|
|
|
%description
|
|
A toolkit for building high-level compound widgets in Python using the Tkinter module. It contains a set of flexible and extensible megawidgets, including notebooks, comboboxes, selection widgets, paned widgets, scrolled widgets and dialog windows.
|
|
|
|
Authors:
|
|
--------
|
|
Greg McFarlane
|
|
Serge Hulne
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}/src
|
|
%patch
|
|
|
|
%build
|
|
|
|
%install
|
|
%{__python} setup.py install --root=%{buildroot} \
|
|
--prefix=%{_prefix} \
|
|
--record-rpm=INSTALLED_FILES
|
|
%fdupes %{buildroot}
|
|
|
|
%clean
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
%files -f INSTALLED_FILES
|
|
%defattr(-,root,root)
|
|
%attr(755,-,-) %{python_sitelib}/Pmw/Pmw_1_3/demos/All.py
|
|
%attr(755,-,-) %{python_sitelib}/Pmw/Pmw_1_3/bin/bundlepmw.py
|
|
%attr(755,-,-) %{python_sitelib}/Pmw/Pmw_1_3/tests/ManualTests.py
|
|
%attr(755,-,-) %{python_sitelib}/Pmw/Pmw_1_3/tests/All.py
|
|
|
|
%changelog
|