Search
SailfishOS Open Build Service
>
Projects
>
home:tangtao77
>
qtpim
> Changes
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
[-]
[+]
Added
qtpim.spec
@@ -0,0 +1,278 @@ +Name: qt5-qtpim +Summary: Qt PIM modules +Version: 5.2.0+git0 +Release: 1.5.5 +Group: System/Libraries +License: LGPLv2.1 with exception or GPLv3 +URL: http://qt.nokia.com +Source0: %{name}-%{version}.tar.bz2 +BuildRequires: qt5-qtcore-devel +BuildRequires: qt5-qtxmlpatterns-devel +BuildRequires: qt5-qtdeclarative-devel +BuildRequires: qt5-qtdeclarative-qtquick-devel +BuildRequires: fdupes + +%description +Qt is a cross-platform application and UI framework. Using Qt, you can +write web-enabled applications once and deploy them across desktop, +mobile and embedded systems without rewriting the source code. +. +This package contains the Qt PIM module + + +%package -n qt5-qtpim-contacts +Summary: Qt PIM Contacts +Group: System/Libraries +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description -n qt5-qtpim-contacts +Qt is a cross-platform application and UI framework. Using Qt, you can +write web-enabled applications once and deploy them across desktop, +mobile and embedded systems without rewriting the source code. +. +This package contains the Qt PIM Contacts module + + +%package -n qt5-qtpim-contacts-devel +Summary: Qt PIM - development files +Group: Development/Libraries +Requires: qt5-qtpim-contacts = %{version}-%{release} + +%description -n qt5-qtpim-contacts-devel +Qt is a cross-platform application and UI framework. Using Qt, you can +write web-enabled applications once and deploy them across desktop, +mobile and embedded systems without rewriting the source code. +. +This package contains the Qt PIM Contacts development files + + +%package -n qt5-qtdeclarative-pim-contacts +Summary: Qt PIM Contacts import for QtDeclarative +Group: System/Libraries +Requires: qt5-qtdeclarative + +%description -n qt5-qtdeclarative-pim-contacts +This package contains the PIM Contacts imports for QtDeclarative + + + +%package -n qt5-qtpim-organizer +Summary: Qt PIM Organizer +Group: System/Libraries +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description -n qt5-qtpim-organizer +Qt is a cross-platform application and UI framework. Using Qt, you can +write web-enabled applications once and deploy them across desktop, +mobile and embedded systems without rewriting the source code. +. +This package contains the Qt PIM Organizer module + + +%package -n qt5-qtpim-organizer-devel +Summary: Qt PIM - development files +Group: Development/Libraries +Requires: qt5-qtpim-organizer = %{version}-%{release} + +%description -n qt5-qtpim-organizer-devel +Qt is a cross-platform application and UI framework. Using Qt, you can +write web-enabled applications once and deploy them across desktop, +mobile and embedded systems without rewriting the source code. +. +This package contains the Qt PIM Organizer development files + + +%package -n qt5-qtdeclarative-pim-organizer +Summary: Qt PIM Organizer import for QtDeclarative +Group: System/Libraries +Requires: qt5-qtdeclarative + +%description -n qt5-qtdeclarative-pim-organizer +This package contains the PIM Organizer imports for QtDeclarative + + + +%package -n qt5-qtpim-versit +Summary: Qt PIM Versit +Group: System/Libraries +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description -n qt5-qtpim-versit +Qt is a cross-platform application and UI framework. Using Qt, you can +write web-enabled applications once and deploy them across desktop, +mobile and embedded systems without rewriting the source code. +. +This package contains the Qt PIM Versit module + + +%package -n qt5-qtpim-versit-devel +Summary: Qt PIM - development files +Group: Development/Libraries +Requires: qt5-qtpim-versit = %{version}-%{release} + +%description -n qt5-qtpim-versit-devel +Qt is a cross-platform application and UI framework. Using Qt, you can +write web-enabled applications once and deploy them across desktop, +mobile and embedded systems without rewriting the source code. +. +This package contains the Qt PIM Versit development files + + + +%package -n qt5-qtpim-versitorganizer +Summary: Qt PIM VersitOrganizer +Group: System/Libraries +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description -n qt5-qtpim-versitorganizer +Qt is a cross-platform application and UI framework. Using Qt, you can +write web-enabled applications once and deploy them across desktop, +mobile and embedded systems without rewriting the source code. +. +This package contains the Qt PIM VersitOrganizer module + + +%package -n qt5-qtpim-versitorganizer-devel +Summary: Qt PIM - development files +Group: Development/Libraries +Requires: qt5-qtpim-versitorganizer = %{version}-%{release} + +%description -n qt5-qtpim-versitorganizer-devel +Qt is a cross-platform application and UI framework. Using Qt, you can +write web-enabled applications once and deploy them across desktop, +mobile and embedded systems without rewriting the source code. +. +This package contains the Qt PIM VersitOrganizer development files + + +%prep +%setup -q -n %{name}-%{version} + +%build +export QTDIR=/usr/share/qt5 +touch .git +%qmake5 +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +%qmake_install +# Fix wrong path in pkgconfig files +find %{buildroot}%{_libdir}/pkgconfig -type f -name '*.pc' \ +-exec perl -pi -e "s, -L%{_builddir}/?\S+,,g" {} \; +# Fix wrong path in prl files +find %{buildroot}%{_libdir} -type f -name '*.prl' \ +-exec sed -i -e "/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/" {} \; +# Remove unneeded .la files +rm -f %{buildroot}/%{_libdir}/*.la + +# We don't need qt5/Qt/ +rm -rf %{buildroot}/%{_includedir}/qt5/Qt + +%fdupes %{buildroot}/%{_includedir} + + + + +%post -n qt5-qtpim-contacts +/sbin/ldconfig +%postun -n qt5-qtpim-contacts +/sbin/ldconfig + +%post -n qt5-qtpim-organizer +/sbin/ldconfig +%postun -n qt5-qtpim-organizer +/sbin/ldconfig + +%post -n qt5-qtpim-versit +/sbin/ldconfig +%postun -n qt5-qtpim-versit +/sbin/ldconfig + +%post -n qt5-qtpim-versitorganizer +/sbin/ldconfig +%postun -n qt5-qtpim-versitorganizer +/sbin/ldconfig