I have made the following changes intended for : CE:MW:Shared / python-pyside-shiboken 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/6709 Thank You, martink [This message was auto-generated] --- Request # 6709: Messages from BOSS: State: review at 2012-09-06T13:35:31 by bossbot Reviews: new for home:elleo : new for home:elleo : accepted by bossbot : Prechecks succeeded. new for CE-maintainers : Please replace this text with a review and approve/reject the review (not the SR). BOSS will take care of the rest Changes: submit: home:elleo / python-pyside-shiboken -> CE:MW:Shared / python-pyside-shiboken changes files: -------------- ++++++ new changes file: --- python-pyside-shiboken.changes +++ python-pyside-shiboken.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 python-sphinx (only used for generating docs) new: ---- python-pyside-shiboken.changes python-pyside-shiboken.spec shiboken-1.1.1.tar.bz2 spec files: ----------- ++++++ new spec file: --- python-pyside-shiboken.spec +++ python-pyside-shiboken.spec @@ -0,0 +1,142 @@ +# +# spec file for package python-pyside-shiboken +# +# 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/ +# + +%define tarname shiboken +Name: python-pyside-%{tarname} +%define libsoname 1_1 +%define libprefix lib%{tarname} +%define py_ver_mod %(python -c "import sys; sys.stdout.write(sys.version[:3].replace('.','_'))") +%define libpyname %{libprefix}-python%{py_ver} +%define libname %{libprefix}-python%{py_ver_mod}-%{libsoname} +%define pyname Shiboken +Version: 1.1.1 +Release: 0 +License: GPL-2.0 +Summary: Generate CPython bindings from C++ code +Group: Development/Libraries/C and C++ +Url: http://www.pyside.org +Source0: http://www.pyside.org/files/%{tarname}-%{version}.tar.bz2 +BuildRequires: cmake +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: pkgconfig(QtCore) >= 4.8.0 +BuildRequires: pkgconfig(QtGui) +BuildRequires: pkgconfig(QtWebKit) +BuildRequires: pkgconfig(QtOpenGL) +BuildRequires: pkgconfig(QtDeclarative) +BuildRequires: python-devel +BuildRequires: libxml2-devel +BuildRequires: libxslt-devel +Obsoletes: libapiextractor < %{version} +Provides: libapiextractor = %{version} +Obsoletes: libapiextractor-doc < %{version} +Provides: libapiextractor-doc = %{version} +Obsoletes: libgenrunner < %{version} +Provides: libgenrunner = %{version} +Requires: %{libname} = %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Shiboken generates C++ code for CPython extensions. It is similar to +BoostPythonGenerator from boost::python, but is designed to create smaller +code. + +%package -n %{libname} +License: LGPL-2.1 +Summary: Generate CPython bindings from C++ code +Group: Development/Libraries/C and C++ + +%description -n %{libname} +Shiboken generates C++ code for CPython extensions. It is similar to +BoostPythonGenerator from boost::python, but is designed to create smaller +code. + +%package doc +License: GPL-2.0 +Summary: Documentation for %{name} +Group: Development/Libraries/C and C++ + +%description doc +Documentation and manuals for %{name} + +%package -n %{libprefix}-devel +License: LGPL-2.1 +Summary: Development files for %{name} +Group: Development/Libraries/C and C++ +Requires: cmake +Requires: pkgconfig(QtCore) +Requires: python-devel +Requires: libxml2-devel +Requires: libxslt-devel + +%description -n %{libprefix}-devel +Development libraries and headers needed to build software using %{name} + +%prep +%setup -q -n %{tarname}-%{version} + +%build +mkdir build +pushd build +cmake .. \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DLIB_SUFFIX=$(echo %{_lib} | cut -b4-) \ + -DCMAKE_BUILD_TYPE=Debug \ + -DBUILD_TESTS=False +make %{?_smp_mflags} +make doc + +%install +pushd build +%makeinstall DESTDIR=%{buildroot} +%if 0%{?suse_version} +%fdupes %{buildroot} +%endif + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%postun -n %{libname} -p /sbin/ldconfig +%post -n %{libname} -p /sbin/ldconfig + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc COPYING ChangeLog +%{_bindir}/%{tarname} +%{_mandir}/man1/%{tarname}.1.gz + +%files -n %{libname} +%defattr(-,root,root) +%doc COPYING.%{libprefix} +%{_libdir}/%{libpyname}.so.* + +%files doc +%defattr(-,root,root) +%doc COPYING +%doc doc/ + +%files -n %{libprefix}-devel +%defattr(-,root,root) +%{_includedir}/%{tarname}/ +%{_libdir}/%{libpyname}.so +%{_libdir}/cmake/%{pyname}-%{version}/ +%{_libdir}/pkgconfig/%{tarname}.pc + +%changelog other changes: -------------- ++++++ shiboken-1.1.1.tar.bz2 (new) 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)
