package created using the webbuild interface [release 4.1.1-1mamba;Thu Oct 14 2021]
This commit is contained in:
parent
e480a6ac06
commit
e6a29d0032
@ -1,2 +1,4 @@
|
|||||||
# python-wxPython
|
# python-wxPython
|
||||||
|
|
||||||
|
Cross platform GUI toolkit for Python, "Phoenix" version.
|
||||||
|
|
||||||
|
101
python-wxPython.spec
Normal file
101
python-wxPython.spec
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
%define pkgname %(echo %name | cut -d- -f2-)
|
||||||
|
Name: python-wxPython
|
||||||
|
Version: 4.1.1
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Cross platform GUI toolkit for Python, "Phoenix" version
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://wxpython.org/
|
||||||
|
Source: https://pypi.debian.net/wxPython/wxPython-%{version}.tar.gz
|
||||||
|
License: wxWindows Library License
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: gst-plugins-bad-devel
|
||||||
|
BuildRequires: libGLU-devel
|
||||||
|
BuildRequires: libSDL2-devel
|
||||||
|
BuildRequires: libSM-devel
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: libXtst-devel
|
||||||
|
BuildRequires: libXxf86vm-devel
|
||||||
|
BuildRequires: libatk-devel
|
||||||
|
BuildRequires: libcairo-devel
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
|
BuildRequires: libfontconfig-devel
|
||||||
|
BuildRequires: libfreetype-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libgdk-pixbuf-devel
|
||||||
|
BuildRequires: libglib-devel
|
||||||
|
BuildRequires: libglvnd-devel
|
||||||
|
BuildRequires: libgst-plugins-base-devel
|
||||||
|
BuildRequires: libgstreamer-devel
|
||||||
|
BuildRequires: libgtk3-devel
|
||||||
|
BuildRequires: libharfbuzz-devel
|
||||||
|
BuildRequires: libjbig-devel
|
||||||
|
BuildRequires: libjpeg-devel
|
||||||
|
BuildRequires: liblzma-devel
|
||||||
|
BuildRequires: libnotify-devel
|
||||||
|
BuildRequires: libpango-devel
|
||||||
|
BuildRequires: libpng-devel
|
||||||
|
BuildRequires: libpython3-devel
|
||||||
|
BuildRequires: libsecret-devel
|
||||||
|
BuildRequires: libsoup-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libtiff-devel
|
||||||
|
BuildRequires: libwayland-devel
|
||||||
|
BuildRequires: libwayland-egl-devel
|
||||||
|
BuildRequires: libwebkit2gtk-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
BuildRequires: python3.7dist(numpy)
|
||||||
|
BuildRequires: python3.7dist(pillow)
|
||||||
|
BuildRequires: python3.7dist(setuptools)
|
||||||
|
BuildRequires: python3.7dist(six)
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Summary: Tools provided with %{name}
|
||||||
|
Group: System/Tools
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
Tools provided with %{name}.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%if 0%{?with_pyver}
|
||||||
|
%pyver_package
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n wxPython-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%{__python} setup.py install \
|
||||||
|
-O1 --skip-build \
|
||||||
|
--root="%{buildroot}" \
|
||||||
|
--install-headers=%{python_inc} \
|
||||||
|
--install-lib=%{python_sitearch} \
|
||||||
|
--record=%{name}.filelist
|
||||||
|
|
||||||
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
|
||||||
|
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
||||||
|
%exclude %{_bindir}/*
|
||||||
|
|
||||||
|
%files tools
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Oct 14 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.1-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user