1 Summary: oFono - Open Source Telephony
2 Summary(pl.UTF-8): oFono - telefonia o otwartych źródłach
7 Group: Networking/Daemons
8 Source0: https://www.kernel.org/pub/linux/network/ofono/%{name}-%{version}.tar.xz
9 # Source0-md5: 7496b3b89ab84bfb4ccfc26cda3fdf5e
10 URL: https://01.org/ofono
11 BuildRequires: dbus-devel >= 1.6
12 BuildRequires: ell-devel >= 0.12
13 BuildRequires: gcc >= 5:3.4
14 BuildRequires: glib2-devel >= 1:2.68
15 BuildRequires: libusb-devel >= 1.0
16 BuildRequires: mobile-broadband-provider-info-devel
17 BuildRequires: pkgconfig
18 BuildRequires: sed >= 4.0
19 BuildRequires: systemd-units
20 BuildRequires: tar >= 1:1.22
21 BuildRequires: udev-devel >= 1:143
25 Requires: glib2 >= 1:2.68
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 oFono is an infrastructure for building mobile telephony (GSM/UMTS)
30 applications. oFono is licensed under GPL v2, and it includes a
31 high-level D-Bus API for use by telephony applications of any license.
32 oFono also includes a low-level plug-in API for integrating with open
33 source as well as third party telephony stacks, cellular modems and
36 %description -l pl.UTF-8
37 oFono to infrastruktura do tworzenia aplikacji związanych z telefonią
38 komórkową (GSM/UMTS). oFono jest wydawane na licencji GPL v2 i zawiera
39 wysokopoziomowe API D-Bus do wykorzystywania przez aplikacje na
40 dowolnej licencji. oFono zawiera także niskopoziomowe API wtyczek do
41 integracji z oprogramowaniem o otwartych źródłach, a także stosami
42 telefonicznych innych producentów, modemami komórkowymi oraz
43 backendami do przechowywania danych.
46 Summary: Header files for oFono plugins
47 Summary(pl.UTF-8): Pliki nagłówkowe dla wtyczek oFono
48 Group: Development/Libraries
49 Requires: dbus-devel >= 1.6
50 Requires: glib2-devel >= 1:2.68
51 # doesn't require base
54 Header files for oFono plugins.
56 %description devel -l pl.UTF-8
57 Pliki nagłówkowe dla wtyczek oFono.
62 # no debug symbols in ofono itself
63 # and it requires __ell_debug__ section start/stop symbols, which are not exported from shared ell (as of ell 0.17)
64 %{__sed} -i -e '/l_debug_enable/d' src/main.c
68 --disable-silent-rules \
70 --enable-external-ell \
77 rm -rf $RPM_BUILD_ROOT
80 DESTDIR=$RPM_BUILD_ROOT
82 install -d $RPM_BUILD_ROOT%{_libdir}/ofono/plugins
85 rm -rf $RPM_BUILD_ROOT
88 %defattr(644,root,root,755)
89 %doc AUTHORS ChangeLog README TODO
90 %attr(755,root,root) %{_sbindir}/dundee
91 %attr(755,root,root) %{_sbindir}/ofonod
93 %dir %{_libdir}/ofono/plugins
94 %dir %{_sysconfdir}/ofono
95 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ofono/phonesim.conf
96 /etc/dbus-1/system.d/dundee.conf
97 /etc/dbus-1/system.d/ofono.conf
98 /lib/systemd/system/dundee.service
99 /lib/systemd/system/ofono.service
100 %{_mandir}/man8/ofonod.8*
103 %defattr(644,root,root,755)
106 %{_pkgconfigdir}/ofono.pc