View | Details | Raw Unified | Return to bug 44082
Collapse All | Expand All

(-)qconnman-ui.spec~ (-3 / +9 lines)
Lines 13-21 Url: https://github.com/OSSystems/qconnm Link Here
13
Source0: %name-%git.tar.bz2
13
Source0: %name-%git.tar.bz2
14
# from their git
14
# from their git
15
Source1: qconnman-ui.png
15
Source1: qconnman-ui.png
16
Patch1: alt-qt5.patch
16
17
17
BuildRequires: ImageMagick
18
BuildRequires: ImageMagick
18
BuildRequires: qt4-devel gcc-c++
19
BuildRequires: qt5-base-devel qt5-tools
19
BuildRequires: pkgconfig(qconnman)
20
BuildRequires: pkgconfig(qconnman)
20
Requires: connman
21
Requires: connman
21
22
Lines 24-36 Qt GUI for Connman. It requires that Con Link Here
24
25
25
%prep
26
%prep
26
%setup -n %name-%git
27
%setup -n %name-%git
28
%patch1 -p1
27
29
28
%build
30
%build
29
qmake-qt4
31
%qmake_qt5 PREFIX=%prefix
30
%make
32
%make
31
33
32
%install
34
%install
33
make install INSTALL_ROOT=%buildroot%prefix
35
%installqt5
36
37
# fix install translations
38
rm -rf %buildroot/%_datadir/qconnman/i18n/*.qm
39
install -m 0644 src/.moc/*.qm %buildroot/%_datadir/qconnman/i18n/
34
40
35
# install menu entry
41
# install menu entry
36
mkdir -p %buildroot%_datadir/applications/
42
mkdir -p %buildroot%_datadir/applications/

Return to bug 44082