Search
SailfishOS Open Build Service
>
Projects
>
home:MartinK
:
modrana
>
python-qtmobility
> python-qtmobility.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python-qtmobility.spec of Package python-qtmobility
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.21 # # >> macros # << macros Name: python-qtmobility Summary: Python bindings for QtMobility Version: 0.2.3+git4~8118106 Release: 1 Group: Development/Libraries License: LGPLv2 URL: http://www.pyside.org Source0: pyside-mobility-%{version}.tar.bz2 Source100: python-qtmobility.yaml #Patch0: 0001-Created-unit-test-for-bug-818.patch #Patch1: 0002-Added-the-missing-file-for-unit-test-of-bug-818.patch #Patch2: 0003-Organizer-module-put-back-QOrganizerCollectionEngine.patch #Patch3: 0004-Organizer-module-uncomment-two-classes-from-CMakeLis.patch #Patch4: 0005-Fix-Contacts-module-import.patch #Patch5: 0006-Fix-Messaging-module-import.patch BuildRequires: gcc-c++ BuildRequires: python-devel BuildRequires: cmake BuildRequires: libqt-devel BuildRequires: python-pyside-shiboken >= 1.0.5 BuildRequires: libshiboken-devel >= 1.0.5 BuildRequires: libgenrunner >= 0.6.11 #BuildRequires: libgenrunner-devel >= 0.6.11 BuildRequires: python-pyside >= 1.0.5 BuildRequires: python-pyside-devel >= 1.0.5 BuildRequires: qt-mobility-devel %description Python bindings for QtMobility. Authors: -------- Anderson Lizardo <anderson.lizardo@openbossa.org> Bruno Araujo <bruno.araujo@openbossa.org> Hugo Parente Lima <hugo.lima@openbossa.org> Lauro Moura <lauro.neto@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org> Renato Araujo Oliveira Filho <renato.filho@openbossa.org> Willer Moreira <willer.moreira@openbossa.org> %package -n %{name}-devel Summary: Python bindings for QtMobility License: LGPLv2 Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description -n %{name}-devel Python bindings for QtMobility. Authors: -------- Anderson Lizardo <anderson.lizardo@openbossa.org> Bruno Araujo <bruno.araujo@openbossa.org> Hugo Parente Lima <hugo.lima@openbossa.org> Lauro Moura <lauro.neto@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org> Renato Araujo Oliveira Filho <renato.filho@openbossa.org> Willer Moreira <willer.moreira@openbossa.org> %prep %setup -q -n pyside-mobility-%{version} #%patch0 -p1 #%patch1 -p1 #%patch2 -p1 #%patch3 -p1 #%patch4 -p1 #%patch5 -p1 # >> setup # << setup %build # >> build pre # << build pre # >> build post mkdir build pushd build cmake .. \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DLIB_SUFFIX=$(echo %{_lib} | cut -b4-) \ -DCMAKE_BUILD_TYPE=Debug \ -DBUILD_TESTS=False \ -DCMAKE_SKIP_RPATH=True \ -DGENERATOR="/usr/bin/shiboken" make %{?_smp_mflags} # << build post %install rm -rf %{buildroot} # >> install pre # << install pre # >> install post pushd build %make_install # This line allows to extract debug information find %{buildroot}%{py_sitedir}/QtMobility -name *.so -exec chmod 755 {} \; # << install post %post # >> post /sbin/ldconfig # << post %postun # >> postun /sbin/ldconfig # << postun %files %defattr(-,root,root,-) # >> files %doc COPYING %dir %{py_sitedir}/QtMobility %{py_sitedir}/QtMobility/__init__.py %{py_sitedir}/QtMobility/__init__.pyc %{py_sitedir}/QtMobility/__init__.pyo %{py_sitedir}/QtMobility/*.so # << files %files -n %{name}-devel %defattr(-,root,root,-) # >> files %{name}-devel %dir %{_includedir}/PyQtMobility %{_includedir}/PyQtMobility/* # << files %{name}-devel