I have made the following changes intended for : CE:MW:Shared / python-pyside
Please review and accept or decline. BOSS has already run some checks on this request. See the "Messages from BOSS" section below. https://build.pub.meego.com//request/show/5302 Thank You, Mike Sheldon [This message was auto-generated] --- Request # 5302: Messages from BOSS: Applying the actions required to automate this process has failed, because the bossbot user was not authorized to do so. Please add bossbot as a maintainer in the target projet CE:MW:Shared Applying the actions required to automate this process has failed, because the bossbot user was not authorized to do so. Please add bossbot as a maintainer in the target projet CE:MW:Shared State: revoked at 2012-07-24T20:43:44 by elleo Reviews: new for bossbot : Under automated review Changes: submit: home:elleo / python-pyside -> CE:MW:Shared / python-pyside changes files: -------------- ++++++ new changes file: --- python-pyside.changes +++ python-pyside.changes @@ -0,0 +1,5 @@ +* Tue Jul 24 2012 Michael Sheldon <[email protected]> - 1.1.1 +- Initial release of Mer specific package +- Remove OpenSuSE specific entries to make compatible with Mer +- Replace libqt4-devel dependency with Mer compatible package names +- Remove dependencies on graphviz-devel (only used for generating docs) new: ---- pyside-qt4.8+1.1.1.tar.bz2 python-pyside.changes python-pyside.spec spec files: ----------- ++++++ new spec file: --- python-pyside.spec +++ python-pyside.spec @@ -0,0 +1,131 @@ +# +# spec file for package python-pyside +# +# Copyright (c) 2012 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/ +# +%if 0%{?fedora} +%{!?py_sitedir: %define py_sitedir %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif +%if 0%{?mdkversion} +%define py_sitedir %{py_platsitedir} +%endif + +%define tarname pyside +Name: python-%{tarname} +%define libprefix lib%{tarname} +%define pyname PySide +Version: 1.1.1 +%define rversion qt4.8+%{version} +Release: 1 +License: LGPL-2.1+ +Summary: PySide - python bindings for Qt +Url: http://www.pyside.org +Group: Development/Libraries/Python +Source0: %{tarname}-%{rversion}.tar.bz2 +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: libshiboken-devel +BuildRequires: pkgconfig(QtCore) >= 4.8.0 +BuildRequires: pkgconfig(QtGui) +BuildRequires: pkgconfig(QtWebKit) +BuildRequires: pkgconfig(QtOpenGL) +BuildRequires: pkgconfig(QtDeclarative) +BuildRequires: libxslt-devel +BuildRequires: pkgconfig(phonon) +BuildRequires: python-devel +BuildRequires: python-pyside-shiboken +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%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 +License: LGPL-2.1+ +Summary: PySide - python bindings for Qt +Group: Development/Libraries/Python +Requires: %{name} = %{version} +Requires: libshiboken-devel +Requires: pkgconfig(QtCore) >= 4.8.0 + +%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. + +%package doc +License: LGPL-2.1+ +Summary: PySide - python bindings for Qt +Group: Development/Libraries/Python + +%description doc +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 documentation. + +%prep +%setup -q -n %{tarname}-%{rversion} + +%build +mkdir build +pushd build +cmake .. \ + -DBUILD_TESTS=FALSE \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DLIB_SUFFIX=$(echo %{_lib} | cut -b4-) \ + -DQT_PHONON_INCLUDE_DIR=%{_includedir}/phonon +make %{?_smp_mflags} +ctest -R qtcore || true + +%install +pushd build +%makeinstall DESTDIR=%{buildroot} +%if 0%{?suse_version} +%fdupes %{buildroot} +%endif + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc COPYING ChangeLog +%{_libdir}/%{libprefix}-python%{py_ver}.so.* +%{py_sitedir}/%{pyname}/ +%{_datadir}/%{pyname}/ + +%files devel +%defattr(-,root,root) +%{_includedir}/%{pyname}/ +%{_libdir}/%{libprefix}-python%{py_ver}.so +%{_libdir}/cmake/%{pyname}-%{version}/ +%{_libdir}/pkgconfig/%{tarname}.pc + +%files doc +%defattr(-,root,root) +%doc COPYING ChangeLog + +%changelog other changes: -------------- ++++++ pyside-qt4.8+1.1.1.tar.bz2 (new)
