Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:ARM:Staging
python-pyside
python-pyside.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pyside.spec of Package python-pyside
# # spec file for package python-pyside # # Copyright (c) 2017 SUSE LINUX 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/ # %define _name pyside %define libprefix lib%{_name} %define pyname PySide Name: python-%{_name} Version: 1.2.4 Release: 0 Summary: PySide - python bindings for Qt License: LGPL-2.1+ Group: Development/Languages/Python Url: http://qt-project.org/wiki/PySide Source0: https://pypi.python.org/packages/source/P/%{pyname}/%{pyname}-%{version}.tar.gz BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libqt4-devel >= 4.8 BuildRequires: libshiboken-devel BuildRequires: libxslt-devel BuildRequires: phonon-devel BuildRequires: python-devel BuildRequires: python-pyside-shiboken BuildRequires: python-setuptools # Built by python3-pyside Requires: python-pyside-common %description The PySide project provides LGPL-licensed Python bindings for the Qt cross-platform application and UI framework. PySide Qt bindings allow both free open source and proprietary software development and ultimately aim to support all of the platforms as Qt itself. %package devel Summary: PySide - python bindings for Qt Group: Development/Languages/Python Requires: %{name} = %{version} Requires: libqt4-devel Requires: libshiboken-devel %description devel The PySide project provides LGPL-licensed Python bindings for the Qt cross-platform application and UI framework. PySide Qt bindings allow both free open source and proprietary software development and ultimately aim to support all of the platforms as Qt itself. This package contains all the developer tools you need to create your own PyQt applications. %prep %setup -q -n %{pyname}-%{version} %build python setup.py egg_info cd sources/%{_name} %cmake -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTS=FALSE \ -DQT_PHONON_INCLUDE_DIR=%{_includedir}/phonon make %{?_smp_mflags} ctest -R qtcore || true %install pushd sources/%{_name}/build %makeinstall DESTDIR=%{buildroot} # copy egg_info cp -R %{_builddir}/%{pyname}-%{version}/%{_name}_package/%{pyname}.egg-info %{buildroot}%{py_sitedir}/%{pyname}-%{version}-py%{py_ver}.egg-info %fdupes %{buildroot} popd # Part of python-pyside-common rm -rf %{buildroot}%{_datadir}/%{pyname}/ %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc sources/pyside/COPYING %{_libdir}/%{libprefix}-python%{py_ver}.so.* %{py_sitedir}/%{pyname}/ %{py_sitedir}/%{pyname}-%{version}-py%{py_ver}.egg-info/ %files devel %defattr(-,root,root) %{_includedir}/%{pyname}/ %{_libdir}/%{libprefix}-python%{py_ver}.so %{_libdir}/cmake/* %{_libdir}/pkgconfig/%{_name}.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor