]> git.pld-linux.org Git - packages/ofono.git/blob - ofono.spec
- updated to 1.30
[packages/ofono.git] / ofono.spec
1 Summary:        oFono - Open Source Telephony
2 Summary(pl.UTF-8):      oFono - telefonia o otwartych źródłach
3 Name:           ofono
4 Version:        1.30
5 Release:        1
6 License:        GPL v2
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
23 BuildRequires:  xz
24 Requires:       dbus >= 1.4
25 Requires:       ell >= 0.12
26 Requires:       glib2 >= 1:2.32
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
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
35 storage back-ends.
36
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.
45
46 %package devel
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
53
54 %description devel
55 Header files for oFono plugins.
56
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe dla wtyczek oFono.
59
60 %prep
61 %setup -q
62
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
66
67 %build
68 %configure \
69         --disable-silent-rules \
70         --enable-dundee \
71         --enable-external-ell \
72         --enable-mbimmodem \
73         --enable-pie \
74         --enable-tools
75 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82
83 install -d $RPM_BUILD_ROOT%{_libdir}/ofono/plugins
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %files
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
93 %dir %{_libdir}/ofono
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*
102
103 %files devel
104 %defattr(644,root,root,755)
105 %doc doc/*.txt
106 %{_includedir}/ofono
107 %{_pkgconfigdir}/ofono.pc
This page took 0.059321 seconds and 3 git commands to generate.