I have made the following changes intended for : CE:MW:Shared / python-pyside-shiboken
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/5301 Thank You, Mike Sheldon [This message was auto-generated] --- Request # 5301: Messages from BOSS: State: review at 2012-07-24T20:19:37 by bossbot Reviews: 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)
