Skip to content

Commit

Permalink
Merge branch 'jb50027' into 'master'
Browse files Browse the repository at this point in the history
[aarch64] Use macros, not hardcoded paths. Contributes to JB#50027

See merge request mer-core/messagingframework!40
  • Loading branch information
xfade committed Jun 1, 2020
2 parents 9297fee + 9c8d716 commit 56f52e9
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions rpm/qmf-qt5.spec
Expand Up @@ -2,9 +2,8 @@ Name: qmf-qt5
Summary: Qt Messaging Framework (QMF) Qt5
Version: 4.0.4+git63
Release: 1
Group: System/Libraries
License: LGPLv2.1 with exception or GPLv3
URL: http://qt.gitorious.org/qt-labs/messagingframework
URL: https://code.qt.io/qt-labs/messagingframework.git
Source0: %{name}-%{version}.tar.bz2
Source1: %{name}.privileges
Source2: qmf-accountscheck.privileges
Expand All @@ -27,6 +26,7 @@ BuildRequires: qt5-plugin-platform-minimal
BuildRequires: qt5-plugin-sqldriver-sqlite
BuildRequires: fdupes
BuildRequires: gpgme-devel
BuildRequires: systemd
Requires: buteo-syncfw-qt5 >= 0.7.16

Patch1: 0001-Stop-_incomingDataTimer-when-imapprotocol-object-is-.patch
Expand Down Expand Up @@ -60,7 +60,6 @@ that interacts with email and mail servers.

%package devel
Summary: Qt Messaging Framework (QMF) Qt5 - development files
Group: Development/Libraries
Requires: libqmfmessageserver1-qt5 = %{version}
Requires: libqmfclient1-qt5 = %{version}
# depending packages get linkage to following which doesn't work without .so files
Expand All @@ -85,7 +84,6 @@ using Qt Messaging Framework libraries.

%package -n libqmfmessageserver1-qt5
Summary: Qt Messaging Framework (QMF) message server support library
Group: System/Libraries
Requires: qt5-qtsql
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Expand All @@ -110,7 +108,6 @@ This package contains:

%package -n libqmfclient1-qt5
Summary: Qt Messaging Framework (QMF) client library
Group: System/Libraries
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig

Expand Down Expand Up @@ -142,7 +139,6 @@ This package contains the cryptographic plugins for email signing
%if 0
%package tests
Summary: Qt Messaging Framework (QMF) tests
Group: System/X11

%description tests
The Qt Messaging Framework, QMF, consists of a C++ library and daemon server
Expand Down Expand Up @@ -201,7 +197,7 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
%qmake5_install
UNIT_DIR=%{buildroot}%{_libdir}/systemd/user/user-session.target.wants
UNIT_DIR=%{buildroot}%{_userunitdir}/user-session.target.wants
mkdir -p "$UNIT_DIR"
ln -sf ../messageserver5.service "$UNIT_DIR/messageserver5.service"
ln -sf ../messageserver5-accounts-check.service "$UNIT_DIR/messageserver5-accounts-check.service"
Expand Down Expand Up @@ -246,8 +242,8 @@ install -m 644 -p %{SOURCE2} %{buildroot}%{_datadir}/mapplauncherd/privileges.d
%{_datadir}/mapplauncherd/privileges.d/*
%{_libdir}/libQmfMessageServer.so.*
%{_libdir}/qt5/plugins/messageservices
%{_libdir}/systemd/user/*.service
%{_libdir}/systemd/user/user-session.target.wants/*.service
%{_userunitdir}/*.service
%{_userunitdir}/user-session.target.wants/*.service

%files -n libqmfclient1-qt5
%defattr(-,root,root,-)
Expand Down

0 comments on commit 56f52e9

Please sign in to comment.