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