Skip to content

Latest commit

 

History

History
135 lines (113 loc) · 4.04 KB

voicecall-qt5.spec

File metadata and controls

135 lines (113 loc) · 4.04 KB
 
Jun 12, 2013
Jun 12, 2013
1
2
Name: voicecall-qt5
Summary: Dialer engine for Nemo Mobile
Jun 30, 2016
Jun 30, 2016
3
Version: 0.6.20
Jun 12, 2013
Jun 12, 2013
4
5
Release: 1
Group: Communications/Telephony
Mar 15, 2015
Mar 15, 2015
6
License: ASL 2.0
Jun 12, 2013
Jun 12, 2013
7
8
URL: http://github.com/nemomobile/voicecall
Source0: %{name}-%{version}.tar.bz2
Jan 16, 2019
Jan 16, 2019
9
Source1: %{name}.privileges
Jul 3, 2013
Jul 3, 2013
10
11
Requires: systemd
Requires: systemd-user-session-targets
Oct 31, 2014
Oct 31, 2014
12
Requires: voicecall-qt5-plugin-telepathy = %{version}
Jun 12, 2013
Jun 12, 2013
13
14
15
16
17
18
19
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Multimedia)
BuildRequires: pkgconfig(libresourceqt5)
BuildRequires: pkgconfig(libpulse-mainloop-glib)
BuildRequires: pkgconfig(ngf-qt5)
Oct 26, 2014
Oct 26, 2014
20
BuildRequires: pkgconfig(qt5-boostable)
Feb 21, 2017
Feb 21, 2017
21
BuildRequires: pkgconfig(nemodevicelock)
Oct 26, 2014
Oct 26, 2014
22
Jun 12, 2013
Jun 12, 2013
23
24
Provides: voicecall-core >= 0.4.9
Provides: voicecall-libs >= 0.4.9
Jul 2, 2013
Jul 2, 2013
25
26
27
28
Provides: voicecall-plugin-pulseaudio >= 0.4.9
Provides: voicecall-qt5-plugin-pulseaudio >= 0.5.1
Provides: voicecall-plugin-resource-policy >= 0.4.9
Provides: voicecall-qt5-plugin-resource-policy >= 0.5.1
Jun 12, 2013
Jun 12, 2013
29
30
Obsoletes: voicecall-core < 0.4.9
Obsoletes: voicecall-libs < 0.4.9
Jul 2, 2013
Jul 2, 2013
31
32
33
34
Obsoletes: voicecall-plugin-pulseaudio < 0.4.9
Obsoletes: voicecall-qt5-plugin-pulseaudio < 0.5.1
Obsoletes: voicecall-plugin-resource-policy < 0.4.9
Obsoletes: voicecall-qt5-plugin-resource-policy < 0.5.1
Jun 12, 2013
Jun 12, 2013
35
36
37
38
39
40
41
42
43
44
45
46
47
48
%description
%{summary}.
%package devel
Summary: Voicecall development package
Group: Communications/Telephony
Requires: %{name} = %{version}-%{release}
Provides: voicecall-devel >= 0.4.9
Obsoletes: voicecall-devel < 0.4.9
%description devel
%{summary}.
Oct 31, 2014
Oct 31, 2014
49
50
51
52
53
54
55
56
57
58
59
%package plugin-telepathy
Summary: Voicecall plugin for calls using telepathy
Group: Communications/Telephony
Requires: %{name} = %{version}-%{release}
Conflicts: voicecall-qt5-plugin-ofono
BuildRequires: pkgconfig(TelepathyQt5)
BuildRequires: pkgconfig(TelepathyQt5Farstream)
%description plugin-telepathy
%{summary}.
Jun 12, 2013
Jun 12, 2013
60
61
62
63
64
%package plugin-ofono
Summary: Voicecall plugin for calls using ofono
Group: Communications/Telephony
Requires: %{name} = %{version}-%{release}
Provides: voicecall-plugin-ofono >= 0.4.9
Oct 31, 2014
Oct 31, 2014
65
Conflicts: voicecall-qt5-plugin-telepathy
Jun 12, 2013
Jun 12, 2013
66
Obsoletes: voicecall-plugin-ofono < 0.4.9
Oct 31, 2014
Oct 31, 2014
67
BuildRequires: pkgconfig(qofono-qt5)
Jun 12, 2013
Jun 12, 2013
68
69
70
71
72
73
74
75
76
77
78
%description plugin-ofono
%{summary}.
%prep
%setup -q -n %{name}-%{version}
%build
%qmake5
May 27, 2019
May 27, 2019
79
qmake -qt=5 CONFIG+=enable-ngf CONFIG+=enable-audiopolicy CONFIG+=enable-telepathy CONFIG+=enable-nemo-devicelock CONFIG+=install-servicefiles
Sep 27, 2013
Sep 27, 2013
80
make %{?_smp_mflags}
Jun 12, 2013
Jun 12, 2013
81
82
83
%install
rm -rf %{buildroot}
Sep 27, 2013
Sep 27, 2013
84
%qmake5_install
Jun 12, 2013
Jun 12, 2013
85
Jul 3, 2013
Jul 3, 2013
86
87
mkdir -p %{buildroot}%{_libdir}/systemd/user/user-session.target.wants
ln -s ../voicecall-manager.service %{buildroot}%{_libdir}/systemd/user/user-session.target.wants/
Jun 12, 2013
Jun 12, 2013
88
Jan 16, 2019
Jan 16, 2019
89
90
91
mkdir -p %{buildroot}%{_datadir}/mapplauncherd/privileges.d
install -m 644 -p %{SOURCE1} %{buildroot}%{_datadir}/mapplauncherd/privileges.d/
Jul 3, 2013
Jul 3, 2013
92
93
94
95
96
97
98
99
100
101
102
103
104
%post
/sbin/ldconfig
if [ "$1" -ge 1 ]; then
systemctl-user daemon-reload || :
systemctl-user restart voicecall-manager.service || :
fi
%postun
/sbin/ldconfig
if [ "$1" -eq 0 ]; then
systemctl-user stop voicecall-manager.service || :
systemctl-user daemon-reload || :
fi
Jun 12, 2013
Jun 12, 2013
105
106
107
108
109
110
%files
%defattr(-,root,root,-)
%{_libdir}/libvoicecall.so.1
%{_libdir}/libvoicecall.so.1.0
%{_libdir}/libvoicecall.so.1.0.0
Mar 15, 2015
Mar 15, 2015
111
%dir %{_libdir}/qt5/qml/org/nemomobile/voicecall
Jun 12, 2013
Jun 12, 2013
112
113
%{_libdir}/qt5/qml/org/nemomobile/voicecall/libvoicecall.so
%{_libdir}/qt5/qml/org/nemomobile/voicecall/qmldir
Jun 12, 2013
Jun 12, 2013
114
%{_bindir}/voicecall-manager
Mar 15, 2015
Mar 15, 2015
115
116
%dir %{_libdir}/voicecall
%dir %{_libdir}/voicecall/plugins
Jun 12, 2013
Jun 12, 2013
117
118
%{_libdir}/voicecall/plugins/libvoicecall-playback-manager-plugin.so
%{_libdir}/voicecall/plugins/libvoicecall-ngf-plugin.so
Sep 17, 2015
Sep 17, 2015
119
%{_libdir}/voicecall/plugins/libvoicecall-mce-plugin.so
Jun 12, 2013
Jun 12, 2013
120
%{_libdir}/systemd/user/voicecall-manager.service
Jul 3, 2013
Jul 3, 2013
121
%{_libdir}/systemd/user/user-session.target.wants/voicecall-manager.service
Jan 16, 2019
Jan 16, 2019
122
%{_datadir}/mapplauncherd/privileges.d/*
Jun 12, 2013
Jun 12, 2013
123
124
125
126
127
%files devel
%defattr(-,root,root,-)
%{_libdir}/libvoicecall.so
Oct 31, 2014
Oct 31, 2014
128
129
130
131
%files plugin-telepathy
%defattr(-,root,root,-)
%{_libdir}/voicecall/plugins/libvoicecall-telepathy-plugin.so
Jun 12, 2013
Jun 12, 2013
132
133
134
%files plugin-ofono
%defattr(-,root,root,-)
%{_libdir}/voicecall/plugins/libvoicecall-ofono-plugin.so